On Wed, Nov 9, 2016 at 3:19 PM, Lorenzo Pieralisi <[email protected]> wrote: > DT based systems have a generic kernel API to configure IOMMUs > for devices (ie of_iommu_configure()). > > On ARM based ACPI systems, the of_iommu_configure() equivalent can > be implemented atop ACPI IORT kernel API, with the corresponding > functions to map device identifiers to IOMMUs and retrieve the > corresponding IOMMU operations necessary for DMA operations set-up. > > By relying on the iommu_fwspec generic kernel infrastructure, > implement the IORT based IOMMU configuration for ARM ACPI systems > and hook it up in the ACPI kernel layer that implements DMA > configuration for a device. > > Signed-off-by: Lorenzo Pieralisi <[email protected]> > Tested-by: Hanjun Guo <[email protected]> > Tested-by: Tomasz Nowicki <[email protected]> > Cc: Hanjun Guo <[email protected]> > Cc: Tomasz Nowicki <[email protected]> > Cc: "Rafael J. Wysocki" <[email protected]>
For the ACPI core part: Acked-by: Rafael J. Wysocki <[email protected]> _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
