diff options
| author | 2026-10-25 14:20:58 +0200 | |
|---|---|---|
| committer | 2026-10-28 21:29:53 +0100 | |
| commit | 1c16bc2b1122f78f9d51c5785f7a78b36d44972b (patch) | |
| tree | b6c4d6981710638668acc83d0264102087d9cde3 /scripts/Makefile.thinlto | |
| parent | irqchip/riscv-imsic: Report successful hardware retrigger (diff) | |
irqchip/irq-msi-lib: Free wired MSI descriptors
msi_device_domain_alloc_wired() allocates a descriptor for each
interrupt, but wired MSI domains do not set MSI_FLAG_FREE_MSI_DESCS.
msi_device_domain_free_wired() releases the IRQ without freeing its
descriptor, eventually exhausting the domain. Failed allocations also
leave descriptors behind.
Set MSI_FLAG_FREE_MSI_DESCS for wired MSI domains so both paths
release the descriptors.
Fixes: 64a855324311 ("irqchip/irq-msi-lib: Prepare for DOMAIN_BUS_WIRED_TO_MSI")
Signed-off-by: Avi Weiss <thnkslprpt@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20261025122058.2180685-1-thnkslprpt@gmail.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
