[Skiboot] [PATCH v2 1/5] xive: Mark a freed IRQ's IVE as valid and masked

Stewart Smith stewart at linux.vnet.ibm.com
Wed Dec 13 14:22:51 AEDT 2017


Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:
> Removing the valid bit means a FIR will trip if it's accessed
> inadvertently. Under some circumstances, the XIVE will speculatively
> access an IVE for a masked interrupt and trip it. So make sure that
> freed entries are still marked valid (but masked).
>
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Tested-by: Oliver O'Halloran <oohall at gmail.com>
> ---
>  hw/xive.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Series merged to master as of 84febad7c5f947d744ef656f4b478d8b1df51471
and 5.9.x as of 9a9e7c37c89583cf1bdf5d1383a6fad3ba70eb79

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list