aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorMichael Neuling <[email protected]>2016-04-22 04:57:49 +0000
committerMichael Ellerman <[email protected]>2016-04-27 02:04:48 +0000
commit2bc79ffcbb817873cc43d63118008ab75181b73d (patch)
tree2f11750e0420af56962e11ef0c7da69f03e24eb3 /lib/dma-debug.c
parentcxl: Keep IRQ mappings on context teardown (diff)
downloadkernel-2bc79ffcbb817873cc43d63118008ab75181b73d.tar.gz
kernel-2bc79ffcbb817873cc43d63118008ab75181b73d.zip
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 <[email protected]> Tested-by: Andrew Donnellan <[email protected]> Acked-by: Ian Munsie <[email protected]> Tested-by: Vaibhav Jain <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions