diff options
author | Lorenzo Pieralisi <[email protected]> | 2017-08-07 11:29:49 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2017-08-07 14:28:51 +0200 |
commit | 7ad4263980826e8b02e121af22f4f4c9103fe86d (patch) | |
tree | 436c849f4eb9c25377579743121d8b956ae2e57d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | c04ac679c6b86e4e36fbb675c6c061b4091f5810 (diff) |
ACPI: Make acpi_dma_configure() DMA regions aware
Current ACPI DMA configuration set-up device DMA capabilities through
kernel defaults that do not take into account platform specific DMA
configurations reported by firmware.
By leveraging the ACPI acpi_dev_get_dma_resources() API, add code
in acpi_dma_configure() to retrieve the DMA regions to correctly
set-up PCI devices DMA parameters.
Rework the ACPI IORT kernel API to make sure they can accommodate
the DMA set-up required by firmware. By making PCI devices DMA set-up
ACPI IORT specific, the kernel is shielded from unwanted regressions
that could be triggered by parsing DMA resources on arches that were
previously ignoring them (ie x86/ia64), leaving kernel behaviour
unchanged on those arches.
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Acked-by: Will Deacon <[email protected]>
Tested-by: Nate Watterson <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions