Re: [PATCH v4 1/2] powerpc/eeh: fix pseries_eeh_configure_bridge()
From: Nathan Lynch <hidden>
Date: 2020-05-06 15:01:49
From: Nathan Lynch <hidden>
Date: 2020-05-06 15:01:49
Sam Bobroff [off-list ref] 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 <redacted> Thanks.