linux/drivers/s390
Halil Pasic 48720ba568 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 <pasic@linux.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Michael Mueller <mimu@linux.ibm.com>
Tested-by: Michael Mueller <mimu@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2019-06-15 12:25:37 +02:00
..
block s390/Kconfig: pedantic cleanups 2019-06-04 15:03:46 +02:00
char docs: s390: convert docs to ReST and rename to *.rst 2019-06-11 09:48:14 +02:00
cio s390/airq: use DMA memory for adapter interrupts 2019-06-15 12:25:05 +02:00
crypto s390/pkey: Use -ENODEV instead of -EOPNOTSUPP 2019-06-15 12:24:36 +02:00
net s390/Kconfig: pedantic cleanups 2019-06-04 15:03:46 +02:00
scsi scsi: zfcp: fix to prevent port_remove with pure auto scan LUNs (only sdevs) 2019-05-29 21:52:31 -04:00
virtio virtio/s390: use DMA memory for ccw I/O and classic notifiers 2019-06-15 12:25:37 +02:00
Makefile