summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorAlex Mastro <amastro@fb.com>2026-01-14 10:57:18 -0800
committerAlex Williamson <alex@shazbot.org>2026-01-19 10:06:30 -0700
commit080723f4d4c3c6fb0720aae614deb1f30ee9ef2e (patch)
tree8bc2961acbd5d5f5def1e3a0f19d7c952cf98e36 /rust/alloc/collections/git@git.tavy.me:linux.git
parent557dbdf6c4e9c2dc3d4a4476c67ef14dca32378d (diff)
vfio: selftests: Add vfio_dma_mapping_mmio_test
Test IOMMU mapping the BAR mmaps created during vfio_pci_device_setup(). All IOMMU modes are tested: vfio_type1 variants are expected to succeed, while non-type1 modes are expected to fail. iommufd compat mode can be updated to expect success once kernel support lands. Native iommufd will not support mapping vaddrs backed by MMIO (it will support dma-buf based MMIO mapping instead). Signed-off-by: Alex Mastro <amastro@fb.com> Reviewed-by: David Matlack <dmatlack@google.com> Tested-by: David Matlack <dmatlack@google.com> Link: https://lore.kernel.org/r/20260114-map-mmio-test-v3-3-44e036d95e64@fb.com Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions