[edk2-devel] [PATCH 0/2] ArmPkg/ArmVirtPkg: handle FEAT_VHE NS-EL2 virtual timer
Leif Lindholm
quic_llindhol at quicinc.com
Tue Sep 19 11:20:13 UTC 2023
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.maydell at linaro.org>
Cc: Ard Biesheuvel <ardb+tianocore at kernel.org>
Cc: Sami Mujawar <sami.mujawar at 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/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/3943202/1813853/130120423/xyzzy [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list