]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5a76ad771c0e54b7c46d89855ae2dc46bf14af3
tree8d682bd3964e91703eefb9b3047dc57fe212a335
parent522fa64953e0d3fbb5fa5fd7565121714af2a489
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