[PATCH v2 2/2] iommu: apple-dart: Support specifying the DMA aperture in the DT
Janne Grunau
j at jannau.net
Wed Sep 2 12:17:50 PDT 2026
On Tue, Sep 01, 2026 at 10:45:52PM +0200, Sven Peter wrote:
> Hi,
>
> On 8/31/26 15:46, Janne Grunau wrote:
> > Apple DARTs are often connected directly to devices that expect only a
> > portion of their address space to be used for DMA (for example, because
> > other ranges are mapped directly to something else). Devices can specify
> > the start and end of the aperture via "iommus" args if the DART device
> > node specifies "#iommu-cells = <5>. Aperture start and length are 64-bit
> > values as apertures above and larger than 4GB are used.
> > Limit compile testing to 64-bit architectures to avoid warnings in the
> > calculation of 64-bit dma_addr_t values.
>
> I don't see any Kconfig hunk below, did you drop it by accident?
yes, I accidentally removed the Kconfig change and then confused myself
with the `b4 prep --compare-to v1` into thinking I added it.
> Otherwise:
>
> Reviewed-by: Sven Peter <sven at kernel.org>
thanks
Janne
More information about the linux-arm-kernel
mailing list