diff options
| author | David Matlack <dmatlack@google.com> | 2025-08-22 21:25:14 +0000 |
|---|---|---|
| committer | Alex Williamson <alex.williamson@redhat.com> | 2025-08-27 12:14:10 -0600 |
| commit | d1a17495bb878542898d7ca4aa8fde29423a8ee0 (patch) | |
| tree | bb755cc1149c8c2fe4de5099f3c70a011ac751a5 /drivers/cdx/controller/cdx_controller.c | |
| parent | vfio: selftests: Add vfio_type1v2_mode (diff) | |
| download | linux-d1a17495bb878542898d7ca4aa8fde29423a8ee0.tar.gz linux-d1a17495bb878542898d7ca4aa8fde29423a8ee0.zip | |
vfio: selftests: Add iommufd_compat_type1{,v2} modes
Add new IOMMU modes for using iommufd in compatibility mode with
VFIO_TYPE1_IOMMU and VFIO_TYPE1v2_IOMMU.
In these modes, VFIO selftests will open /dev/iommu and treats it as a
container FD (as if it had opened /dev/vfio/vfio) and the kernel
translates the container ioctls to iommufd calls transparently.
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20250822212518.4156428-28-dmatlack@google.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
