diff options
| author | Xiong Weimin <xiongweimin@kylinos.cn> | 2026-08-05 11:29:37 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-09-04 17:06:02 -0400 |
| commit | faa2cf3bdcfab5fe4cedbe4fd0fdda12cbcf19ce (patch) | |
| tree | c9b8617b549933c2fbf695cec244ed0954cee23e /scripts/Makefile.thinlto | |
| parent | eb19e3f2d243b7fa8ae3673629d9bed1a7d1fca4 (diff) | |
| download | linux-next-faa2cf3bdcfab5fe4cedbe4fd0fdda12cbcf19ce.tar.gz linux-next-faa2cf3bdcfab5fe4cedbe4fd0fdda12cbcf19ce.zip | |
virtio_mmio: disable IRQ wake before free_irq
When the DT node has "wakeup-source", vm_find_vqs() calls
enable_irq_wake() on the shared IRQ, but vm_del_vqs() freed that IRQ
without a matching disable_irq_wake(). That leaves a wake reference
behind and can warn on later free_irq()/request_irq() cycles.
Record whether enable_irq_wake() succeeded, and disable it in
vm_del_vqs() before free_irq().
Fixes: 02213273f72a ("virtio_mmio: add support to set IRQ of a virtio device as wakeup source")
Cc: stable@vger.kernel.org
Signed-off-by: Xiong Weimin <xiongweimin@kylinos.cn>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-ID: <20260805032937.1606737-1-xiongweimin@kylinos.cn>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
