diff options
| author | Tobias Schumacher <ts@linux.ibm.com> | 2026-10-09 08:15:50 +0200 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2026-10-13 17:01:47 +0200 |
| commit | 1844913582fec337c54b54fdd3c92ce225930515 (patch) | |
| tree | 37f54a755a126186f0b9304de6e56dddfd13cb31 /tools/perf/scripts/python | |
| parent | 4a185d99179a307d856dc43610cfe72395d0c42a (diff) | |
| download | linux-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')
0 files changed, 0 insertions, 0 deletions
