linux-sg2042/drivers/misc/cxl
Frederic Barrat cca44c0192 cxl: Define process problem state area at attach time only
CXL kernel API was defining the process problem state area during
context initialization, making it possible to map the problem state
area before attaching the context. This won't work on a powerVM
guest. So force the logical behavior, like in userspace: attach first,
then map the problem state area.
Remove calls to cxl_assign_psn_space during init. The function is
already called on the attach paths.

Co-authored-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Reviewed-by: Manoj Kumar <manoj@linux.vnet.ibm.com>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-03-09 13:05:41 +11:00
..
Kconfig cxl: Add CONFIG_CXL_EEH symbol 2015-08-17 13:56:29 +10:00
Makefile cxl: use -Werror only with CONFIG_PPC_WERROR 2016-01-11 20:30:53 +11:00
api.c cxl: Define process problem state area at attach time only 2016-03-09 13:05:41 +11:00
base.c cxl: Move include file cxl.h -> cxl-base.h 2015-06-03 13:27:19 +10:00
context.c cxl: Fix DSI misses when the context owning task exits 2016-01-05 16:28:25 +11:00
cxl.h cxl: Move bare-metal specific code to specialized files 2016-03-09 13:05:39 +11:00
debugfs.c cxl: sparse: Silence iomem warning in debugfs file creation 2015-08-12 14:49:29 +10:00
fault.c cxl: Fix DSI misses when the context owning task exits 2016-01-05 16:28:25 +11:00
file.c cxl: Fix DSI misses when the context owning task exits 2016-01-05 16:28:25 +11:00
irq.c cxl: Move bare-metal specific code to specialized files 2016-03-09 13:05:39 +11:00
main.c cxl: Move bare-metal specific code to specialized files 2016-03-09 13:05:39 +11:00
native.c cxl: Move bare-metal specific code to specialized files 2016-03-09 13:05:39 +11:00
pci.c cxl: Move bare-metal specific code to specialized files 2016-03-09 13:05:39 +11:00
sysfs.c cxl: Fix lockdep warning while creating afu_err_buff attribute 2015-09-23 20:57:13 +10:00
trace.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
trace.h cxl: use more common format specifier 2015-07-13 10:10:54 +10:00
vphb.c cxl: use correct operator when writing pcie config space values 2015-11-24 14:21:27 +11:00