summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorTobias Schumacher <ts@linux.ibm.com>2026-10-09 08:15:50 +0200
committerHeiko Carstens <hca@linux.ibm.com>2026-10-13 17:01:47 +0200
commit1844913582fec337c54b54fdd3c92ce225930515 (patch)
tree37f54a755a126186f0b9304de6e56dddfd13cb31 /tools/perf/scripts/python/bin/stackcollapse-record
parent4a185d99179a307d856dc43610cfe72395d0c42a (diff)
downloadlinux-1844913582fec337c54b54fdd3c92ce225930515.tar.gz
linux-1844913582fec337c54b54fdd3c92ce225930515.zip
s390/pci: Fix MSI directed-mode teardown IRQ bit count
On s390 with directed interrupts enabled, zpci_msi_teardown_directed() frees the platform's maximum number of MSI bits (zdev->max_msi) instead of the actual allocated count (zdev->msi_nr_irqs). This corrupts the shared IRQ bitmap used by all PCI functions, causing lost interrupts and heap corruption. Fix zpci_msi_teardown_directed() to only free the actual allocated IRQ bit count. Fixes: f770950a4709 ("s390/pci: Migrate s390 IRQ logic to IRQ domain API") Cc: stable@vger.kernel.org Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Tobias Schumacher <ts@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions