[Skiboot] [PATCH v3 4/8] phb4/capp: Update and re-factor phb4_set_capi_mode()
Frederic Barrat
fbarrat at linux.ibm.com
Fri Jan 11 03:10:44 AEDT 2019
Le 10/01/2019 à 15:18, Vaibhav Jain a écrit :
> Hi Fred,
>
> Thanks for reviewing this patch.
>
> Frederic Barrat <fbarrat at linux.ibm.com> writes:
>>> - offset = PHB4_CAPP_REG_OFFSET(p);
>>> - xscom_read(p->chip_id, CAPP_ERR_STATUS_CTRL + offset, ®);
>>> - if ((reg & PPC_BIT(5))) {
>>> - PHBERR(p, "CAPP: recovery failed (%016llx)\n", reg);
>>> - return OPAL_HARDWARE;
>>
>> It seems that we're no longer testing for that bit and have a permanent
>> failure if a reovery failed before. Is the logic that we might as well
>> try to switch state anyway and see how that goes?
> CAPP recovery failed is a checkstop event and only way to recover from
> it will be to do a full ipl reboot. This will anyways reset the CAPP
> state hence this check was redundant.
OK, it makes sense, thanks!
Fred
More information about the Skiboot
mailing list