diff options
author | Ian Munsie <imunsie@au1.ibm.com> | 2014-12-08 19:18:01 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-12-12 13:06:48 +1100 |
commit | b123429e6a9e8d03aacf888d23262835f0081448 (patch) | |
tree | b1b9c9eb381437982de078d061c274264a25c104 /drivers/fmc/fmc-core.c | |
parent | a98e6e9f4e0224d85b4d951edc44af16dfe6094a (diff) |
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 'drivers/fmc/fmc-core.c')
0 files changed, 0 insertions, 0 deletions