[PATCH v2] cxl: Flush PSL cache before resetting the adapter

Michael Ellerman mpe at ellerman.id.au
Wed Oct 5 22:12:08 AEDT 2016


Andrew Donnellan <andrew.donnellan at au1.ibm.com> writes:

> On 04/10/16 22:00, Frederic Barrat wrote:
>> If the capi link is going down while the PSL owns a dirty cache line,
>> any access from the host for that data could lead to an Uncorrectable
>> Error.
>> So when resetting the capi adapter through sysfs, make sure the PSL
>> cache is flushed. It won't help if there are any active Process
>> Elements on the card, as the cache would likely get new dirty cache
>> lines immediately, but if resetting an idle adapter, it should avoid
>> any bad surprises from data left over from terminated Process Elements.
>>
>> Signed-off-by: Frederic Barrat <fbarrat at linux.vnet.ibm.com>
>
> Reviewed-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
>
> ...but not that it matters because V1 of this just got merged...

Yep. Send me an incremental if it's important.

cheers


More information about the Linuxppc-dev mailing list