hw/arm/virt-acpi - reserve ECAM space as PNP0C02 device
commitebfcc03bf73548d3c8456e441a00b09c1e8f0976
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 20 Jan 2017 11:15:08 +0000 (20 11:15 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Jan 2017 11:15:08 +0000 (20 11:15 +0000)
treef5b9a951cf2a976125a6295ac48c2dfbb295d3c0
parentabf3a4e5eeab9b1d4dea4149a9e77d970fe83fc5
hw/arm/virt-acpi - reserve ECAM space as 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 table generation routine to add this reservation.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Message-id: 1484328738-21149-1-git-send-email-ard.biesheuvel@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt-acpi-build.c