android_kernel_xiaomi_sm8350/drivers/virtio
Michael S. Tsirkin 2d61ba9503 virtio: order used ring after used index read
On SMP guests, reads from the ring might bypass used index reads. This
causes guest crashes because host writes to used index to signal ring
data readiness.  Fix this by inserting rmb before used ring reads.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: stable@kernel.org
2009-10-29 08:50:37 +10:30
..
config.c
Kconfig virtio: balloon driver 2008-02-04 23:50:13 +11:00
Makefile virtio: balloon driver 2008-02-04 23:50:13 +11:00
virtio_balloon.c move virtballoon_remove to .devexit.text 2009-10-22 16:39:31 +10:30
virtio_pci.c virtio-pci: fix per-vq MSI-X request logic 2009-10-29 08:50:36 +10:30
virtio_ring.c virtio: order used ring after used index read 2009-10-29 08:50:37 +10:30
virtio.c virtio: enhance id_matching for virtio drivers 2009-06-12 22:16:40 +09:30