[RFC PATCH v3 2/6] swiotlb: Add restricted DMA pool
Konrad Rzeszutek Wilk
konrad.wilk at oracle.com
Fri Jan 8 04:57:40 AEDT 2021
On Fri, Jan 08, 2021 at 01:39:18AM +0800, Claire Chang wrote:
> Hi Greg and Konrad,
>
> This change is intended to be non-arch specific. Any arch that lacks DMA access
> control and has devices not behind an IOMMU can make use of it. Could you share
> why you think this should be arch specific?
The idea behind non-arch specific code is it to be generic. The devicetree
is specific to PowerPC, Sparc, and ARM, and not to x86 - hence it should
be in arch specific code.
>
> Thanks!
More information about the Linuxppc-dev
mailing list