diff options
| author | Vaibhav Jain <[email protected]> | 2016-11-16 19:39:33 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2016-11-18 22:41:08 +1100 |
| commit | abf051be684be768c1ee079514f4d07de9389d54 (patch) | |
| tree | 5bcd7e8bfb5fa072fee64a2bcc15c6f9631a1a79 /tools/perf/scripts/python/bin | |
| parent | bb81733de28c99e10b61dcaff1592142abe53442 (diff) | |
cxl: Do adapter fence check before handling afu interrupt
If an afu interrupt is in flight when an eeh error is triggered the
control still reaches the function native_irq_multiplexed and the
PE-Handle read from the CXL_PSL_PEHandle_An register is 0xffff. The
function then erroneously assumes that the interrupt belonged to a
detached context and generates a warning with full stack dump in the
kernel log complaining:
"Unable to demultiplex CXL PSL IRQ for PE 65535 DSISR ffffffff DAR
ffffffff. (Possible AFU HW issue - was a term/remove acked with
outstanding transactions"
To fix this the patch adds new code to the function
native_irq_multiplexed function to compares the read value of register
CXL_PSL_PEHandle_An to ~0ULL. If true then logs a warning message
saying that the interrupt is being ignored and returns IRQ_HANDLED from
the irq handler.
Reviewed-by: Andrew Donnellan <[email protected]>
Acked-by: Frederic Barrat <[email protected]>
Acked-by: Ian Munsie <[email protected]>
Signed-off-by: Vaibhav Jain <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions