summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorYuho Choi <oss.patchbox@gmail.com>2026-09-10 23:11:21 -0400
committerTakashi Iwai <tiwai@suse.de>2026-09-13 09:11:34 +0200
commit6c05d00af307560e6a9f1631d6270d3df5aa2272 (patch)
tree5a5cac67f5c9c37b3c2235964b42658295de2279 /scripts/Makefile.thinlto
parentfd95e68df6fe66344161a1329cbe5e5805e7b704 (diff)
downloadlinux-stable-6c05d00af307560e6a9f1631d6270d3df5aa2272.tar.gz
linux-stable-6c05d00af307560e6a9f1631d6270d3df5aa2272.zip
ALSA: virtio: reset device before deleting virtqueues
virtsnd_remove() and virtsnd_freeze() delete the virtqueues before resetting the device. del_vqs() frees the vring backing, but does not provide a generic device quiesce operation. In particular, modern virtio-pci keeps enabled queues active until the device is reset. Reset the device before deleting the virtqueues so it can no longer access the vring memory when that memory is released. This also covers probe failures after DRIVER_OK, which unwind through virtsnd_remove(). Fixes: de3a9980d8c3 ("ALSA: virtio: add virtio sound driver") Fixes: 575483e90a32 ("ALSA: virtio: introduce device suspend/resume support") Cc: stable@vger.kernel.org Signed-off-by: Yuho Choi <oss.patchbox@gmail.com> Link: https://patch.msgid.link/20260911031121.1542502-1-oss.patchbox@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions