]> git.baikalelectronics.ru Git - kernel.git/commit
cxl: Workaround XSL bug that does not clear the RA bit after a reset
authorIan Munsie <imunsie@au1.ibm.com>
Wed, 29 Jun 2016 18:51:26 +0000 (04:51 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 8 Jul 2016 12:13:06 +0000 (22:13 +1000)
commit2d3be51644c8367d38883b19dc0b7b663742a7b3
treeb0ccaae153397dc188d8f89cfd0c35430e923d52
parent2dddc73a6a4834ccafe113cad59bc1cf26ec9653
cxl: Workaround XSL bug that does not clear the RA bit after a reset

An issue was noted in our debug logs where the XSL would leave the RA
bit asserted after an AFU reset operation, which would effectively
prevent further AFU reset operations from working.

Workaround the issue by clearing the RA bit with an MMIO write if it is
still asserted after any AFU control operation.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Reviewed-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/native.c