Re: [PATCH] iommu: Add RISC-V IOMMU driver

Anirudh Srinivasan via U-Boot <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <CAEev2e_=TojrBbrfD0ZTEGJvGS7XUA44ZruOL5NfUPmSHE054A@mail.gmail.com>
Hi Tim,

On Sun, Aug 16, 2026 at 7:20 AM Tim Ouyang <[email protected]> wrote:
>
> On Mon, Aug 03, 2026 at 03:06:12PM -0500, Anirudh Srinivasan wrote:
> > Adds a basic driver for IOMMUs that conform to the RISC-V IOMMU
> > specification. This driver sets up the IOMMU in bare mode so that
> > peripherals requiring DMA in U-Boot can function.
>
> Would you consider adding support for SPL?

I don't have an easy way to test this. This will have to be done later.

>
> > +#define RISCV_IOMMU_DDTP_TIMEOUT          10000000
>
> Although the timeout aligns with Linux’s, it may still be too lengthy
> for the bootloader stage.

What value do you suggest? Seems like none of the other iommu drivers
use timeouts, so I'm not sure what to pick.

> --
> Best regards,
> Tim Ouyang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.