diff options
author | Ian Munsie <imunsie@au1.ibm.com> | 2014-12-08 11:18:01 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-12-12 05:06:48 +0300 |
commit | b123429e6a9e8d03aacf888d23262835f0081448 (patch) | |
tree | b1b9c9eb381437982de078d061c274264a25c104 /arch/powerpc/perf/hv-24x7.c | |
parent | a98e6e9f4e0224d85b4d951edc44af16dfe6094a (diff) | |
download | linux-b123429e6a9e8d03aacf888d23262835f0081448.tar.xz |
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 <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/perf/hv-24x7.c')
0 files changed, 0 insertions, 0 deletions