XPress-RICH3 PCIe driver initialises the root complex with the same
source and target address for IO window which makes translate offset 0.

This patch fixes the translate offset for the IO window in Juno PCIe
root complex ACPI table.

Contributed-under: TianoCore Contribution Agreement 1.0
Cc: Ard Biesheuvel <ard.biesheu...@linaro.org>
Cc: Leif Lindholm <leif.lindh...@linaro.org>
Cc: Tomasz Nowicki <t...@semihalf.com>
Cc: Graeme Gregory <graeme.greg...@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.ho...@arm.com>
---
 Platforms/ARM/Juno/AcpiTables/AcpiSsdtRootPci.asl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

v1->v2:
        - Made changes as suggested by Graeme & Tomasz

diff --git a/Platforms/ARM/Juno/AcpiTables/AcpiSsdtRootPci.asl 
b/Platforms/ARM/Juno/AcpiTables/AcpiSsdtRootPci.asl
index 800d2cb3b2fb..5ff267fe5124 100644
--- a/Platforms/ARM/Juno/AcpiTables/AcpiSsdtRootPci.asl
+++ b/Platforms/ARM/Juno/AcpiTables/AcpiSsdtRootPci.asl
@@ -107,8 +107,8 @@ DefinitionBlock("SsdtPci.aml", "SSDT", 1, "ARMLTD", 
"ARM-JUNO", EFI_ACPI_ARM_OEM
                                        PosDecode,
                                        EntireRange,
                                        0x00000000,                             
                        // Granularity
-                                       0x5f800000,                             
                        // Min Base Address
-                                       0x5fffffff,                             
                        // Max Base Address
+                                       0x00000000,                             
                        // Min Base Address
+                                       0x000fffff,                             
                        // Max Base Address
                                        0x5f800000,                             
                        // Translate
                                        0x00800000                              
                        // Length
                                )
-- 
1.9.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to