diff options
| author | Avi Weiss <thnkslprpt@gmail.com> | 2026-10-25 14:20:58 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-10-28 21:29:53 +0100 |
| commit | 1c16bc2b1122f78f9d51c5785f7a78b36d44972b (patch) | |
| tree | b6c4d6981710638668acc83d0264102087d9cde3 /scripts/basic/split-include.c | |
| parent | a2f482407d33ebe7f12e30d6cf383ffb1c7d709d (diff) | |
| download | linux-1c16bc2b1122f78f9d51c5785f7a78b36d44972b.tar.gz linux-1c16bc2b1122f78f9d51c5785f7a78b36d44972b.zip | |
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/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
