[PATCH 2/2] cxl: Poll for outstanding IRQs when detaching a context

Vaibhav Jain vaibhav at linux.vnet.ibm.com
Fri Apr 22 16:05:02 AEST 2016


Michael Neuling <mikey at neuling.org> writes:

> 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 at neuling.org>

Tested-by: Vaibhav Jain <vaibhav at linux.vnet.ibm.com>



More information about the Linuxppc-dev mailing list