diff options
author | Frederic Barrat <fbarrat@linux.vnet.ibm.com> | 2016-03-04 14:26:27 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-03-09 05:05:41 +0300 |
commit | cca44c0192b03d179786ec34b070e7de42966cc6 (patch) | |
tree | b04c845914da8e826fc85e0d9d711db573ac492d /drivers/misc/cxl/fault.c | |
parent | d56d301b51746e71f7bdaaba10973f054c3c736e (diff) | |
download | linux-cca44c0192b03d179786ec34b070e7de42966cc6.tar.xz |
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>
Diffstat (limited to 'drivers/misc/cxl/fault.c')
0 files changed, 0 insertions, 0 deletions