audk/ArmVirtPkg
Leif Lindholm 01ce872739 ArmVirtPkg: fix ASSERT in ArmVirtGicArchLib with virtualization=on
ArmVirtGicArchLib was originally implemented before virtualization
emulation was implemented in QEMU, and the GICv2 model implemented only
the physical copy of control registers.

Enabling virtualization emulation to QEMU adds also the virtual copy,
doubling the RegSize returned by FindCompatibleNodeReg () in
ArmVirtGicArchLibConstructor (). This triggered an ASSERT when running
QEMU with -M virt,virtualization=on. Address this by testing for both
possible valid values of RegSize.

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2588

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2020-03-17 15:06:11 +00:00
..
FdtClientDxe ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
HighMemDxe ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
Include ArmVirtPkg: convert LFs to CRLF 2020-03-04 12:22:07 +00:00
Library ArmVirtPkg: fix ASSERT in ArmVirtGicArchLib with virtualization=on 2020-03-17 15:06:11 +00:00
PlatformHasAcpiDtDxe ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
PrePi ArmVirtPkg/ArmVirtPrePiUniCoreRelocatable: revert to PIE linking 2019-09-05 10:05:08 -07:00
VirtioFdtDxe ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
XenAcpiPlatformDxe ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
XenPlatformHasAcpiDtDxe ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
XenioFdtDxe ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00
ArmVirt.dsc.inc ArmVirtPkg: add the 'initrd' dynamic shell command 2020-03-04 09:26:45 +00:00
ArmVirtPkg.dec ArmVirtPkg/PlatformPeiLib: discover the TPM base address from the DT 2020-03-04 08:48:09 +00:00
ArmVirtQemu.dsc ArmVirtPkg: incorporate the new QEMU kernel loader driver and library 2020-03-05 19:45:05 +00:00
ArmVirtQemu.fdf ArmVirtPkg/ArmVirtQemu: enable TPM2 support in the PEI phase 2020-03-04 08:48:09 +00:00
ArmVirtQemuFvMain.fdf.inc ArmVirtPkg: incorporate the new QEMU kernel loader driver and library 2020-03-05 19:45:05 +00:00
ArmVirtQemuKernel.dsc ArmVirtPkg: incorporate the new QEMU kernel loader driver and library 2020-03-05 19:45:05 +00:00
ArmVirtQemuKernel.fdf ArmVirtPkg: increase FD/FV size for NOOPT builds 2019-09-13 14:25:33 +01:00
ArmVirtRules.fdf.inc ArmVirtPkg: Update UefiDecompressLib instance 2019-04-10 14:11:48 +08:00
ArmVirtXen.dsc ArmVirtPkg: unshare TpmMeasurementLib resolution between platforms 2020-03-04 08:48:09 +00:00
ArmVirtXen.fdf ArmVirtPkg: add the 'initrd' dynamic shell command 2020-03-04 09:26:45 +00:00
VarStore.fdf.inc ArmVirtPkg: Replace BSD License with BSD+Patent License 2019-04-09 09:10:21 -07:00