linux/drivers/s390
Christoph Hellwig c68ea0d00a vfio: simplify iommu group allocation for mediated devices
Reuse the logic in vfio_noiommu_group_alloc to allocate a fake
single-device iommu group for mediated devices by factoring out a common
function, and replacing the noiommu boolean field in struct vfio_group
with an enum to distinguish the three different kinds of groups.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20210924155705.4258-8-hch@lst.de
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2021-09-30 12:46:44 -06:00
..
block 2nd batch of s390 updates for 5.15 merge window 2021-09-09 12:55:12 -07:00
char s390/sclp: fix Secure-IPL facility detection 2021-09-15 14:29:21 +02:00
cio s390/qeth: fix deadlock during failing recovery 2021-09-21 20:02:24 -07:00
crypto vfio: simplify iommu group allocation for mediated devices 2021-09-30 12:46:44 -06:00
net s390/qeth: fix deadlock during failing recovery 2021-09-21 20:02:24 -07:00
scsi 2nd batch of s390 updates for 5.15 merge window 2021-09-09 12:55:12 -07:00
virtio virtio/s390: get rid of open-coded kvm hypercall 2021-06-28 11:18:28 +02:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00