[PATCH] cxl: Flush PSL cache before resetting the adapter
Andrew Donnellan
andrew.donnellan at au1.ibm.com
Tue Oct 4 14:45:15 AEDT 2016
On 04/10/16 06:36, 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 Unrecoverable
IIRC, s/Unrecoverable/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>
Otherwise looks good to me.
Reviewed-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
--
Andrew Donnellan OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com IBM Australia Limited
More information about the Linuxppc-dev
mailing list