aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpi/mpi2_init.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <[email protected]>2014-12-20 23:00:23 +0000
committerMichael S. Tsirkin <[email protected]>2014-12-29 08:55:06 +0000
commit5d9a07b0de512b77bf28d2401e5fe3351f00a240 (patch)
tree1157d5803702f242d4b35268644ee48e20719307 /drivers/scsi/mpt2sas/mpi/mpi2_init.h
parentvirtio_ring: document alignment requirements (diff)
downloadkernel-5d9a07b0de512b77bf28d2401e5fe3351f00a240.tar.gz
kernel-5d9a07b0de512b77bf28d2401e5fe3351f00a240.zip
vhost: relax used address alignment
virtio 1.0 only requires used address to be 4 byte aligned, vhost required 8 bytes (size of vring_used_elem). Fix up vhost to match that. Additionally, while vhost correctly requires 8 byte alignment for log, it's unconnected to used ring: it's a consequence that log has u64 entries. Tweak code to make that clearer. Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions