diff options
author | Michael Neuling <mikey@neuling.org> | 2016-04-22 04:57:49 (GMT) |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-04-27 02:04:48 (GMT) |
commit | 2bc79ffcbb817873cc43d63118008ab75181b73d (patch) | |
tree | 2f11750e0420af56962e11ef0c7da69f03e24eb3 /lib/interval_tree_test.c | |
parent | d6776bba44d9752f6cdf640046070e71ee4bba7b (diff) | |
download | linux-2bc79ffcbb817873cc43d63118008ab75181b73d.tar.xz |
cxl: Poll for outstanding IRQs when detaching a context
When detaching contexts, we may still have interrupts in the system
which are yet to be delivered to any CPU and be acked in the PSL.
This can result in a subsequent unrelated process getting an spurious
IRQ or an interrupt for a non-existent context.
This polls the PSL to ensure that the PSL is clear of IRQs for the
detached context, before removing the context from the idr.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Tested-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Tested-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'lib/interval_tree_test.c')
0 files changed, 0 insertions, 0 deletions