cxl: Force psl data-cache flush during device shutdown
authorVaibhav Jain <vaibhav@linux.vnet.ibm.com>
Wed, 4 Jan 2017 06:18:52 +0000 (11:48 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 25 Jan 2017 02:34:23 +0000 (13:34 +1100)
commitd7b1946c7925a270062b2e0718aa57b42ba619c0
treea45f08f53924345dc0e39706c8f0a1ad7a3b0893
parent0e17166d377e74164e4067ae162ed19226352a97
cxl: Force psl data-cache flush during device shutdown

This change adds a force psl data cache flush during device shutdown
callback. This should reduce a possibility of psl holding a dirty
cache line while the CAPP is being reinitialized, which may result in
a UE [load/store] machine check error.

Signed-off-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/pci.c