Platforms/AMD/Styx: reserve ECAM config space in PNP0C02 device

Linux for arm64 v4.10 and later will complain if the ECAM config space is
not reserved in the ACPI namespace:

  acpi PNP0A08:00: [Firmware Bug]: ECAM area [mem 0x3f000000-0x3fffffff]
                                   not reserved in ACPI namespace

The rationale is that OSes that don't consume the MCFG table should still
be able to infer that the PCI config space MMIO region is occupied.

So update the ACPI tables to add this reservation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Graeme Gregory <graeme.gregory@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
diff --git a/Platforms/AMD/Styx/AcpiTables/Dsdt.asl b/Platforms/AMD/Styx/AcpiTables/Dsdt.asl
index 7edec3d..3bfa26a 100644
--- a/Platforms/AMD/Styx/AcpiTables/Dsdt.asl
+++ b/Platforms/AMD/Styx/AcpiTables/Dsdt.asl
@@ -646,6 +646,14 @@
                 Return (RBUF) /* \_SB_.PCI0._CRS.RBUF */

             } // Method(_CRS)

 

+            Device (RES0)

+            {

+                Name (_HID, "PNP0C02")

+                Name (_CRS, ResourceTemplate ()

+                {

+                    Memory32Fixed (ReadWrite, 0xF0000000, 0x8000000)

+                })

+            }

             Name (SUPP, 0x00)

             Name (CTRL, 0x00)

             Method (_OSC, 4, NotSerialized)  // _OSC: Operating System Capabilities