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 <fbar...@linux.vnet.ibm.com>

Otherwise looks good to me.

Reviewed-by: Andrew Donnellan <andrew.donnel...@au1.ibm.com>

--
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnel...@au1.ibm.com  IBM Australia Limited

Reply via email to