powerpc/vas: Define nx_fault_stamp in coprocessor_request_block
authorHaren Myneni <haren@linux.ibm.com>
Thu, 16 Apr 2020 05:59:29 +0000 (22:59 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 20 Apr 2020 06:53:00 +0000 (16:53 +1000)
commit73a8077938824bf13dd9b8557545be91012ffc9c
tree6a3fabaee040cb4f299a6bec3eeb0444a8983ae0
parent8d0ea29db5aefd0d94fa4b6ca6124c68998f3c6a
powerpc/vas: Define nx_fault_stamp in coprocessor_request_block

Kernel sets fault address and status in CRB for NX page fault on user
space address after processing page fault. User space gets the signal
and handles the fault mentioned in CRB by bringing the page in to
memory and send NX request again.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Haren Myneni <haren@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1587016769.2275.1048.camel@hbabu-laptop
arch/powerpc/include/asm/icswx.h