[PATCH v3] cxl: Prevent adapter reset if an active context exists

Michael Ellerman mpe at ellerman.id.au
Fri Oct 14 11:35:25 AEDT 2016


Vaibhav Jain <vaibhav at linux.vnet.ibm.com> writes:

> This patch prevents resetting the cxl adapter via sysfs in presence of
> one or more active cxl_context on it. This protects against an
> unrecoverable error caused by PSL owning a dirty cache line even after
> reset and host tries to touch the same cache line. In case a force reset
> of the card is required irrespective of any active contexts, the int
> value -1 can be stored in the 'reset' sysfs attribute of the card.

This is arguably a change to the ABI, but I assume we're OK with that as
it's arguably a bug in the existing implementation?

If so do we have a Fixes: ? and/or should this go to stable?

cheers


More information about the Linuxppc-dev mailing list