[Skiboot] [PATCH] phb3: Lock the PHB on set_xive callbacks

Stewart Smith stewart at linux.vnet.ibm.com
Thu Dec 22 13:58:34 AEDT 2016


Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:
> Those are called by the interrupts core and thus skip the locking
> implicit in the PCI opal calls.
>
> However IODA table access can be racy, so make sure we lock the PHB.
>
> Signed-off-by: Benjamin Herrenschmidt 
> ---
>  hw/phb3.c | 8 ++++++++
>  1 file changed, 8 insertions(+)

Urgh, well, that's been there for a while!

Merged:
to master as of 55af871041a4b09e53013671450980bdb36f91e3
to skiboot-5.4.x as of 19afa4d895317420edc76ffd1e4f109f24aba5c5
to skiboot-5.1.x as of f258a2972422e10b521d3e87b18a3a6d6dd02acf

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list