[PATCH v2 2/9] test: Add test for IOMMU uclass map/unmap ops

Mark Kettenis mark.kettenis at xs4all.nl
Thu Jan 26 14:45:00 CET 2023


> From: Simon Glass <sjg at chromium.org>
> Date: Mon, 23 Jan 2023 11:42:25 -0700
> 
> On Sat, 21 Jan 2023 at 12:28, Mark Kettenis <kettenis at 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 at 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 at 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?

Hi Simon,

Just sent a separate patch for that.

Cheers,

Mark


More information about the U-Boot mailing list