WSL2-Linux-Kernel/drivers/misc/cxl
Ian Munsie b123429e6a 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>
2014-12-12 13:06:48 +11:00
..
Kconfig cxl: Add driver to Kbuild and Makefiles 2014-10-08 20:15:58 +11:00
Makefile cxl: Add driver to Kbuild and Makefiles 2014-10-08 20:15:58 +11:00
base.c
context.c cxl: Unmap MMIO regions when detaching a context 2014-12-12 13:06:48 +11:00
cxl.h cxl: Unmap MMIO regions when detaching a context 2014-12-12 13:06:48 +11:00
debugfs.c
fault.c powerpc/mm: don't do tlbie for updatepp request with NO HPTE fault 2014-12-05 16:26:15 +11:00
file.c cxl: Unmap MMIO regions when detaching a context 2014-12-12 13:06:48 +11:00
irq.c cxl: Name interrupts in /proc/interrupt 2014-11-18 13:01:39 +11:00
main.c
native.c cxl: Add timeout to process element commands 2014-12-12 13:06:47 +11:00
pci.c cxl: Change contexts_lock to a mutex to fix sleep while atomic bug 2014-12-12 13:06:47 +11:00
sysfs.c cxl: Change contexts_lock to a mutex to fix sleep while atomic bug 2014-12-12 13:06:47 +11:00