On Sat, 21 Jan 2023 at 12:28, Mark Kettenis <kette...@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 <kette...@openbsd.org> > --- > drivers/iommu/sandbox_iommu.c | 58 +++++++++++++++++++++++++++++++++++ > test/dm/iommu.c | 44 +++++++++++++++++++++++++- > 2 files changed, 101 insertions(+), 1 deletion(-) >
Reviewed-by: Simon Glass <s...@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