diff options
author | Lorenzo Pieralisi <[email protected]> | 2016-11-21 10:01:48 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2016-11-29 15:57:48 +0000 |
commit | 643b8e4d86f8b1a62cf5cd9ea221e9bc0d531d18 (patch) | |
tree | 6711969d45ce0d326661f023074db753657f472d /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 618f535a60623c9e7c596b208a57bf094766b9f6 (diff) |
ACPI/IORT: Introduce iort_iommu_configure
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]>
Acked-by: Rafael J. Wysocki <[email protected]> [ACPI core]
Reviewed-by: Tomasz Nowicki <[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]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions