Searched hist:c68ea0d00ad82428154aed890ec9f793e460fa1c (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/vfio/mdev/ |
H A D | mdev_driver.c | diff c68ea0d00ad82428154aed890ec9f793e460fa1c Fri Sep 24 17:56:57 CEST 2021 Christoph Hellwig <hch@lst.de> 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>
|
/linux/samples/vfio-mdev/ |
H A D | mdpy.c | diff c68ea0d00ad82428154aed890ec9f793e460fa1c Fri Sep 24 17:56:57 CEST 2021 Christoph Hellwig <hch@lst.de> 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>
|
H A D | mbochs.c | diff c68ea0d00ad82428154aed890ec9f793e460fa1c Fri Sep 24 17:56:57 CEST 2021 Christoph Hellwig <hch@lst.de> 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>
|
H A D | mtty.c | diff c68ea0d00ad82428154aed890ec9f793e460fa1c Fri Sep 24 17:56:57 CEST 2021 Christoph Hellwig <hch@lst.de> 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>
|
/linux/include/linux/ |
H A D | vfio.h | diff c68ea0d00ad82428154aed890ec9f793e460fa1c Fri Sep 24 17:56:57 CEST 2021 Christoph Hellwig <hch@lst.de> 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>
|
/linux/drivers/s390/crypto/ |
H A D | vfio_ap_ops.c | diff c68ea0d00ad82428154aed890ec9f793e460fa1c Fri Sep 24 17:56:57 CEST 2021 Christoph Hellwig <hch@lst.de> 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>
|