Displaying 1 result from an estimated 1 matches for "virtio_reset_device_and_del_vqs".
2022 Nov 28
3
[PATCH 0/4] Fix probe failed when modprobe modules
...w and modern pci don't.
Given this has been with us for a while I am inlined to look for
a global solution rather than tweaking each driver.
Given many drivers are supposed to work on legacy too, we know del_vqs
includes a reset for many of them. So I think I see a better way to do
this:
Add virtio_reset_device_and_del_vqs()
and convert all drivers to that.
When doing this, we also need to/can fix a related problem (and related
to the hardening that Jason Wang was looking into):
virtio_reset_device is inherently racy: vq interrupts could
be in flight when we do reset. We need to prevent handlers from firing in
the...