[PATCH v2 5/5] ARM: Unconditionally enable ARM_DMA_USE_IOMMU
Christoph Hellwig
hch at infradead.org
Wed Apr 25 08:17:45 PDT 2018
On Wed, Apr 25, 2018 at 11:25:11AM +0100, Russell King - ARM Linux wrote:
> > config ARM_DMA_USE_IOMMU
> > - bool
> > + def_bool y
> > select ARM_HAS_SG_CHAIN
> > select NEED_SG_DMA_LENGTH
>
> This doesn't work - as has recently been discussed with hch, we can't
> globally enable NEED_SG_DMA_LENGTH on ARM - the ARM architecture
> pre-dates the addition of the DMA length member in the scatterlist,
> and not every machine supports the splitting of the DMA length from
> the non-DMA length member. Hence, this will cause a regression,
> sorry.
Agreed as-is. However supporting it everywhere should not be much work,
I'll take a look at it.
More information about the linux-arm-kernel
mailing list