From: Ian Munsie Date: Mon, 8 Dec 2014 08:18:01 +0000 (+1100) Subject: cxl: Unmap MMIO regions when detaching a context X-Git-Tag: omap-for-v3.20/drop-legacy-3517~26^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b123429e6a9e8d03aacf888d23262835f0081448;p=pandora-kernel.git cxl: Unmap MMIO regions when detaching a context If we need to force detach a context (e.g. due to EEH or simply force unbinding the driver) we should prevent the userspace contexts from being able to access the Problem State Area MMIO region further, which they may have mapped with mmap(). This patch unmaps any mapped MMIO regions when detaching a userspace context. Cc: stable@vger.kernel.org Signed-off-by: Ian Munsie Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed