aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorHalil Pasic <[email protected]>2018-10-01 19:01:58 +0200
committerHeiko Carstens <[email protected]>2019-06-15 12:25:37 +0200
commit48720ba56891570e3b750b271d80efb631478630 (patch)
treed627142b215c82aed80c2513564f1040bda21370 /lib/mpi/mpi-mul.c
parent22a4a639b9cebff4568f32202e96d6f286251b72 (diff)
virtio/s390: use DMA memory for ccw I/O and classic notifiers
Before virtio-ccw could get away with not using DMA API for the pieces of memory it does ccw I/O with. With protected virtualization this has to change, since the hypervisor needs to read and sometimes also write these pieces of memory. The hypervisor is supposed to poke the classic notifiers, if these are used, out of band with regards to ccw I/O. So these need to be allocated as DMA memory (which is shared memory for protected virtualization guests). Let us factor out everything from struct virtio_ccw_device that needs to be DMA memory in a satellite that is allocated as such. Note: The control blocks of I/O instructions do not need to be shared. These are marshalled by the ultravisor. Signed-off-by: Halil Pasic <[email protected]> Reviewed-by: Pierre Morel <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Reviewed-by: Michael Mueller <[email protected]> Tested-by: Michael Mueller <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions