edk2-platforms
edk2-platforms copied to clipboard
Reserve ecam v express
Platform/Arm/VExpressPkg: Reserve the ECAM area in ACPI with RES0 device
Add a RES0 device to the SSDT to reserve the PCI ECAM area.This fixes the firmware bug reported by Linux:
acpi PNP0A08:00: [Firmware Bug]: ECAM area [mem 0x40000000-0x4fffffff]not reserved in ACPI namespace
With this change, the above message is replaced with:
acpi PNP0A08:00: ECAM area [mem 0x40000000-0x4fffffff] reserved by PNP0C02:00
This patch is based on commit 1e5be97660c6 ("Platform/ARM/JunoPkg:Reserve the ECAM area in ACPI with RES0 device")
REF:https://developer.arm.com/documentation/100964/1127/Base-Platform/Base-Platform-memory/Base-Platform-memory-map?lang=en
Also use same PCD for Juno and VExpress.
@samimujawar can you please take a look at this PR ?
@vbpandya any update on the status of this PR?
@vbpandya any update on the status of this PR?
This one slipped through the cracks, in the mean time FVP has moved to Dynamic table (makes implementing your feedback easy) which Juno is still on static tables, will close this PR for now, since it will be good to move Juno to Dynamic Table and then use common PCD for both platforms.
I think we should drop the static tables support and keep Dynamic Tables Framework based support only for Juno. Can you send a separate PR for that, please?
Also, I think the SSDT PCIe generator may be taking care of the Firmware bug issue which the Linux kernel reports. Can you check and report back, please? In that case this PR can be closed.