]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - include/linux/acpi.h
ACPI: arm64: Move DMA setup operations out of IORT
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Fri, 18 Jun 2021 15:20:56 +0000 (17:20 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 25 Jun 2021 13:02:43 +0000 (15:02 +0200)
commitdb59e1b6e49201beacdbd0622aa3594f2de4f727
tree8d682bd3964e91703eefb9b3047dc57fe212a335
parent8124c8a6b35386f73523d27eacb71b5364a68c4c
ACPI: arm64: Move DMA setup operations out of IORT

Extract generic DMA setup code out of IORT, so it can be reused by VIOT.
Keep it in drivers/acpi/arm64 for now, since it could break x86
platforms that haven't run this code so far, if they have invalid
tables.

Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20210618152059.1194210-2-jean-philippe@linaro.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/acpi/arm64/Makefile
drivers/acpi/arm64/dma.c [new file with mode: 0644]
drivers/acpi/arm64/iort.c
drivers/acpi/scan.c
include/linux/acpi.h
include/linux/acpi_iort.h