cxl: Early return from cxl_handle_fault for a shut down context
authorIan Munsie <imunsie@au1.ibm.com>
Mon, 8 Dec 2014 08:17:58 +0000 (19:17 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 29 Dec 2014 04:45:43 +0000 (15:45 +1100)
commit13da704682471669685ccc3fe111fd6c0127b2eb
treef87c02d70f9c52b6439767a9244c9c2393aa5610
parent456295e284beb7b61a55ead9500d30f94ab06d52
cxl: Early return from cxl_handle_fault for a shut down context

If a context is being detached and we get a translation fault for it
there is little point getting it's mm and handling the fault, so just
respond with an address error and return earlier.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/fault.c