test: Add test for IOMMU uclass map/unmap ops
authorMark Kettenis <kettenis@openbsd.org>
Sat, 21 Jan 2023 19:27:53 +0000 (20:27 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 27 Jan 2023 19:47:58 +0000 (14:47 -0500)
commit49a1a4becb2deaeb5764dfe4022807b147b87b9c
tree1d383445294030000b4662e1af919912647d0e80
parentdd6b68ed4f5bba78c0cd9765fa48b10cb1542dc7
test: Add test for IOMMU uclass map/unmap ops

Test that the map and unmap operations work for devices that
have DMA translated by an IOMMU and devices that don't have
DMA translated by an IOMMU.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/iommu/sandbox_iommu.c
test/dm/iommu.c