cxl: Mask slice error interrupts after first occurrence
authorAlastair D'Silva <alastair@d-silva.org>
Mon, 1 May 2017 00:53:31 +0000 (10:53 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 May 2017 12:41:42 +0000 (22:41 +1000)
commita715626a8e904e7226915d1bc4885317ea9da141
tree40e70ef826ac906bdd9e06b2295300a9bbb5ceeb
parent4f58f0bf155e87dda31a3088b1e107fa9dd79f0e
cxl: Mask slice error interrupts after first occurrence

In some situations, a faulty AFU slice may create an interrupt storm of
slice errors, rendering the machine unusable. Since these interrupts are
informational only, present the interrupt once, then mask it off to
prevent it from being retriggered until the AFU is reset.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: Vaibhav Jain <vaibhav@linux.vnet.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/cxl.h
drivers/misc/cxl/native.c