[PATCH v2 2/9] test: Add test for IOMMU uclass map/unmap ops
Simon Glass
sjg at chromium.org
Mon Jan 23 19:42:25 CET 2023
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?
Regards,
Simon
More information about the U-Boot
mailing list