[PATCH v4 1/2] powerpc/eeh: fix pseries_eeh_configure_bridge()
Nathan Lynch
nathanl at linux.ibm.com
Thu May 7 00:55:16 AEST 2020
Sam Bobroff <sbobroff at linux.ibm.com> writes:
> If a device is hot unplgged during EEH recovery, it's possible for the
> RTAS call to ibm,configure-pe in pseries_eeh_configure() to return
> parameter error (-3), however negative return values are not checked
> for and this leads to an infinite loop.
>
> Fix this by correctly bailing out on negative values.
Reviewed-by: Nathan Lynch <nathanl at linux.ibm.com>
Thanks.
More information about the Linuxppc-dev
mailing list