linux-stable/drivers/s390
Pierre Morel 62e358ce58 vfio: ap: register IOMMU VFIO notifier
To be able to use the VFIO interface to facilitate the
mediated device memory pinning/unpinning we need to register
a notifier for IOMMU.

While we will start to pin one guest page for the interrupt indicator
byte, this is still ok with ballooning as this page will never be
used by the guest virtio-balloon driver.
So the pinned page will never be freed. And even a broken guest does
so, that would not impact the host as the original page is still
in control by vfio.

Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com>
Acked-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Halil Pasic <pasic@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2019-07-02 16:00:28 +02:00
..
block s390/dasd: Fix a precision vs width bug in dasd_feature_list() 2019-07-02 16:00:26 +02:00
char s390/sclp: remove call home support 2019-06-19 17:54:27 +02:00
cio s390/qdio: don't touch the dsci in tiqdio_add_input_queues() 2019-07-02 16:00:27 +02:00
crypto vfio: ap: register IOMMU VFIO notifier 2019-07-02 16:00:28 +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: make airq summary indicators DMA 2019-06-15 12:25:41 +02:00
Makefile kbuild: rename built-in.o to built-in.a 2018-03-26 02:01:19 +09:00