diff options
| author | Shaikh Kamaluddin <shaikhkamal2012@gmail.com> | 2026-09-12 15:08:15 +0530 |
|---|---|---|
| committer | Dave Jiang <dave.jiang@intel.com> | 2026-09-18 08:15:12 -0700 |
| commit | a8c458611a7daf67ffd9088088aeb28626135a92 (patch) | |
| tree | 895742df3d796fe3bc177fc0bf794324fc1b93fe /tools/perf/scripts/python | |
| parent | ef71014055f7b4959e4cb023ca8a18258cb5641c (diff) | |
| download | linux-next-a8c458611a7daf67ffd9088088aeb28626135a92.tar.gz linux-next-a8c458611a7daf67ffd9088088aeb28626135a92.zip | |
cxl/events: Return IRQ_NONE when no event is pending
CXL event interrupts may share an MSI/MSI-X vector with other event
logs or device features. Consequently, cxl_event_thread() is registered
with IRQF_SHARED and must determine whether the event-log facility
claimed the interrupt.
The handler masks the Device Event Status register to the event logs
supported by the driver. However, when no supported status bit is set,
it exits the processing loop and still returns IRQ_HANDLED. This
incorrectly reports that the interrupt was claimed and prevents the
generic spurious-interrupt detector from accounting it as unhandled.
Track whether the CXL event handler claimed the interrupt and return
IRQ_NONE when no supported event is detected. If no handler sharing the
vector claims a sustained interrupt storm, the generic spurious-
interrupt detector can eventually identify and disable the affected
IRQ.
Signed-off-by: Shaikh Kamaluddin <shaikhkamal2012@gmail.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Reviewed-by: Anisa Su <anisa.su@samsung.com>
Reviewed-by: Li Ming <ming.li@zohomail.com>
Link: https://patch.msgid.link/20260912093815.14455-1-shaikhkamal2012@gmail.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
