An ASSERT trips when we try to add the NS-EL2 virtual timer to qemu
mach-virt.

Add a new Pcd for the new private peripheral interrupt id,
PcdArmArchTimerHypVirtIntrNum.

Update ArmVirtTimerFdtClientLib to:
- Only assert on receiving less information that required through DT.
- Set PcdArmArchTimerHypVirtIntrNum if provided through DT.

Reported-by: Peter Maydell <peter.mayd...@linaro.org>
Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org>
Cc: Sami Mujawar <sami.muja...@arm.com>

Leif Lindholm (2):
  ArmPkg: add EL2 virtual timer interrupt Pcd
  ArmVirtPkg: handle virtual EL2 timer in DT

 ArmPkg/ArmPkg.dec                                                        |  1 +
 ArmVirtPkg/ArmVirtQemu.dsc                                               |  1 +
 ArmVirtPkg/Library/ArmVirtTimerFdtClientLib/ArmVirtTimerFdtClientLib.inf |  1 +
 ArmVirtPkg/Library/ArmVirtTimerFdtClientLib/ArmVirtTimerFdtClientLib.c   | 13 
+++++++++----
 4 files changed, 12 insertions(+), 4 deletions(-)

-- 
2.30.2



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108823): https://edk2.groups.io/g/devel/message/108823
Mute This Topic: https://groups.io/mt/101453745/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: 
https://edk2.groups.io/g/devel/leave/9847357/21656/1706620634/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to