[PATCH v2 2/6] ACPI: Move IOMMU setup code out of IORT
Jean-Philippe Brucker
jean-philippe at linaro.org
Wed May 26 03:05:06 PDT 2021
On Fri, May 21, 2021 at 06:42:09PM +0200, Rafael J. Wysocki wrote:
> On Fri, Apr 23, 2021 at 1:57 PM Jean-Philippe Brucker
> <jean-philippe at linaro.org> wrote:
> >
> > Some of the IOMMU setup code in IORT is fairly generic and can be reused
> > by VIOT. Extract it from IORT.
>
> Except that iort_iommu_configure_id() is not really generic AFAICS.
I'll clarify the commit message: the parts of iort_iommu_configure_id()
that set up the IOMMU infrastructure can be extracted and reused by VIOT.
The rest of the function, that iterates over the IORT subtables, is
specific to the driver.
Thanks,
Jean
More information about the linux-arm-kernel
mailing list