summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Linton <jeremy.linton@arm.com>2021-04-08 00:58:43 -0500
committerArd Biesheuvel <ardb@kernel.org>2021-05-10 18:47:32 +0200
commit67988fb53dbc510a507b202cb6b141426b9dc945 (patch)
treeacee35651129965cfabe2656bae7a60453ad95b5
parent4cad7d27bac546be51e92b0cb9ed58c9326d70ea (diff)
Platform/RaspberryPi/AcpiTables: Correct _DMA consumer
Bridge devices should be marked as producers so that their children can consume the resources. In linux if this isn't true then the translation gets ignored and the DMA values are incorrect. This fixes DMA on all the devices that need a translation. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Reviewed-by: Pete Batard <pete@akeo.ie>
-rw-r--r--Platform/RaspberryPi/AcpiTables/Dsdt.asl2
-rw-r--r--Platform/RaspberryPi/AcpiTables/Emmc.asl2
2 files changed, 2 insertions, 2 deletions
diff --git a/Platform/RaspberryPi/AcpiTables/Dsdt.asl b/Platform/RaspberryPi/AcpiTables/Dsdt.asl
index 54fa3eca..1ee6379f 100644
--- a/Platform/RaspberryPi/AcpiTables/Dsdt.asl
+++ b/Platform/RaspberryPi/AcpiTables/Dsdt.asl
@@ -206,7 +206,7 @@ DefinitionBlock ("Dsdt.aml", "DSDT", 2, "RPIFDN", "RPI", 2)
// Only the first GB is available.
// Bus 0xC0000000 -> CPU 0x00000000.
//
- QWordMemory (ResourceConsumer,
+ QWordMemory (ResourceProducer,
,
MinFixed,
MaxFixed,
diff --git a/Platform/RaspberryPi/AcpiTables/Emmc.asl b/Platform/RaspberryPi/AcpiTables/Emmc.asl
index 88811eb3..23febe37 100644
--- a/Platform/RaspberryPi/AcpiTables/Emmc.asl
+++ b/Platform/RaspberryPi/AcpiTables/Emmc.asl
@@ -32,7 +32,7 @@ DefinitionBlock (__FILE__, "SSDT", 2, "RPIFDN", "RPI4EMMC", 2)
}
Name (_DMA, ResourceTemplate() {
- QWordMemory (ResourceConsumer,
+ QWordMemory (ResourceProducer,
,
MinFixed,
MaxFixed,