aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <[email protected]>2009-10-25 13:28:53 +0000
committerRusty Russell <[email protected]>2009-10-28 22:20:37 +0000
commit2d61ba95034f1abbdec7729d52c740870a5eddb6 (patch)
treeec51d4cba4240af6011f4fabfda06a21532761da /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentvirtio-pci: fix per-vq MSI-X request logic (diff)
downloadkernel-2d61ba95034f1abbdec7729d52c740870a5eddb6.tar.gz
kernel-2d61ba95034f1abbdec7729d52c740870a5eddb6.zip
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 <[email protected]> Signed-off-by: Rusty Russell <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions