
23 Jan
2023
23 Jan
'23
7:42 p.m.
On Sat, 21 Jan 2023 at 12:28, Mark Kettenis kettenis@openbsd.org wrote:
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
drivers/iommu/sandbox_iommu.c | 58 +++++++++++++++++++++++++++++++++++ test/dm/iommu.c | 44 +++++++++++++++++++++++++- 2 files changed, 101 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org
BTW I noticed something like CONFIG_IS_ENABLED(ARCH_APPLE) but it should be IS_ENABLED() since in SPL we would still use the same architecture. Could you please send a clean-up patch?
Regards, Simon