[Skiboot] [PATCH] capi: Mask Psl Credit timeout error for P9
Vaibhav Jain
vaibhav at linux.vnet.ibm.com
Wed Sep 6 16:47:48 AEST 2017
Stewart Smith <stewart at linux.vnet.ibm.com> writes:
>> + /* Mask the CAPP PSL Credit Timeout Register error */
>> + xscom_read(p->chip_id, CAPP_FIR_MASK + offset, ®);
>> + reg |= PPC_BIT(46);
>> + xscom_write(p->chip_id, CAPP_FIR_MASK + offset, reg);
>> +
>> /* Deassert TLBI_FENCED and tlbi_psl_is_dead */
>> xscom_write(p->chip_id, CAPP_ERR_STATUS_CTRL + offset, 0);
>
> This looks like a prime candidate for xscom_write_mask() that Alistair
> introduced in:
Thanks for pointing to this new function Steward. I will send a v2 with
the update.
--
Vaibhav Jain <vaibhav at linux.vnet.ibm.com>
Linux Technology Center, IBM India Pvt. Ltd.
More information about the Skiboot
mailing list