audk/ArmVirtPkg
Ard Biesheuvel 8b816c624d ArmVirtPkg/VirtFdtDxe: set /chosen/linux,pci-probe-only to 1 in DTB
Unlike Linux on x86, which typically honors the PCI configuration performed
by the firmware, Linux on ARM assumes that the PCI subsystem needs to be
configured from scratch. This is not entirely unreasonable given the
historical background of embedded systems using very basic bootloaders,
but is no longer tenable with Linux on arm64 moving to UEFI and ACPI in the
server space. For this reason, PCI support in the arm64 kernel running under
ACPI is likely to move to the x86 model of honoring the PCI configuration
done by the firmware.

So let's align with that in our DT based configuration as well, and set the
/chosen/linux,pci-probe-only property to 1 in the Device Tree before we
hand it to the OS.

In case we are exposing an emulated VGA PCI device to the guest, which may
subsequently get exposed via the Graphics Output protocol and driven as an
efifb by the OS, this ensures the PCI resource allocations for the framebuffer
are not overridden, since that would cause the framebuffer to stop working.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2016-03-11 19:32:44 +07:00
..
HighMemDxe ArmVirtPkg: HighMemDxe: add memory space for the high memory nodes 2015-12-04 16:17:17 +00:00
Include Renamed ArmPlatformPkg/ArmVirtualizationPkg into ArmVirtPkg 2015-05-29 13:50:43 +00:00
Library ArmVirtPkg: introduce new ArmQemuRelocatablePlatformLib 2016-02-05 17:10:16 +01:00
PciHostBridgeDxe Renamed ArmPlatformPkg/ArmVirtualizationPkg into ArmVirtPkg 2015-05-29 13:50:43 +00:00
PrePi ArmVirtPkg/PrePiRelocatable: add ARM support 2015-12-17 17:11:16 +00:00
VirtFdtDxe ArmVirtPkg/VirtFdtDxe: set /chosen/linux,pci-probe-only to 1 in DTB 2016-03-11 19:32:44 +07:00
ArmVirt.dsc.inc ArmVirtPkg: sync log level comments to DebugLib.h 2016-03-02 06:47:25 +01:00
ArmVirtPkg.dec ArmVirtPkg: VirtFdtDxe: detect fw-cfg DMA interface from the DTB 2015-09-24 21:40:36 +00:00
ArmVirtQemu.dsc ArmVirtPkg: Add FileExplorerLib.inf to the QEMU dsc files 2016-02-26 16:52:49 +08:00
ArmVirtQemu.fdf ArmVirtPkg: ArmVirtQemu: add driver for Virtio-RNG device 2016-02-24 12:07:33 +01:00
ArmVirtQemuKernel.dsc ArmVirtPkg: Add FileExplorerLib.inf to the QEMU dsc files 2016-02-26 16:52:49 +08:00
ArmVirtQemuKernel.fdf ArmVirtPkg: implement ArmVirtQemuKernel 2016-02-05 17:10:17 +01:00
ArmVirtXen.dsc ArmVirtPkg/ArmVirtXen: add ARM support 2015-12-17 17:11:33 +00:00
ArmVirtXen.fdf ArmVirtPkg/ArmVirtXen: add ARM support 2015-12-17 17:11:33 +00:00
Contributions.txt ArmVirtPkg: add "Contributions.txt" and "License.txt" 2015-06-08 22:00:36 +00:00
License.txt ArmVirtPkg: add "Contributions.txt" and "License.txt" 2015-06-08 22:00:36 +00:00