diff options
| author | Chandrakanth Patil <chandrakanth.patil@broadcom.com> | 2026-08-26 02:34:11 +0530 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-09-09 22:08:16 -0400 |
| commit | 2ba1d12b2629827fdb1116eb3c9f8566911f2034 (patch) | |
| tree | bcb64e6981afb0252fa615f4177a2025e982ffd3 /tools/perf/scripts/python | |
| parent | c94c746e6c80439a4a9a0e1e20f2dae62a4d57ef (diff) | |
| download | linux-next-2ba1d12b2629827fdb1116eb3c9f8566911f2034.tar.gz linux-next-2ba1d12b2629827fdb1116eb3c9f8566911f2034.zip | |
scsi: mpi3mr: Fix NULL pointer dereference on PCI error recovery
On a frozen PCI channel the driver unmaps the register window and frees the
interrupts, but leaves the firmware event workqueue running. An event
handler that is already in flight can still reach the register window after
it has been unmapped.
Stop event processing and drain the queue first, and start it again when
the channel resumes.
Fixes: 30bafe1774f0 ("scsi: mpi3mr: Support PCI Error Recovery callback handlers")
Signed-off-by: Chandrakanth Patil <chandrakanth.patil@broadcom.com>
Link: https://patch.msgid.link/20260825210411.301535-18-chandrakanth.patil@broadcom.com
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
