[PATCH v7 16/16] drivers: acpi: iort: introduce iort_iommu_configure

Rafael J. Wysocki rafael at kernel.org
Tue Nov 15 16:56:35 PST 2016


On Wed, Nov 9, 2016 at 3:19 PM, Lorenzo Pieralisi
<lorenzo.pieralisi at arm.com> 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 <lorenzo.pieralisi at arm.com>
> Tested-by: Hanjun Guo <hanjun.guo at linaro.org>
> Tested-by: Tomasz Nowicki <tn at semihalf.com>
> Cc: Hanjun Guo <hanjun.guo at linaro.org>
> Cc: Tomasz Nowicki <tn at semihalf.com>
> Cc: "Rafael J. Wysocki" <rjw at rjwysocki.net>

For the ACPI core part:

Acked-by: Rafael J. Wysocki <rafael.j.wysocki at intel.com>



More information about the linux-arm-kernel mailing list