summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorShaikh Kamaluddin <shaikhkamal2012@gmail.com>2026-09-12 15:08:15 +0530
committerDave Jiang <dave.jiang@intel.com>2026-09-18 08:15:12 -0700
commita8c458611a7daf67ffd9088088aeb28626135a92 (patch)
tree895742df3d796fe3bc177fc0bf794324fc1b93fe /tools/perf/scripts/python/bin/stackcollapse-report
parentef71014055f7b4959e4cb023ca8a18258cb5641c (diff)
downloadlinux-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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions