public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH 0/2] ArmPkg/ArmVirtPkg: handle FEAT_VHE NS-EL2 virtual timer
@ 2023-09-19 11:20 Leif Lindholm
  2023-09-19 11:20 ` [edk2-devel] [PATCH 1/2] ArmPkg: add EL2 virtual timer interrupt Pcd Leif Lindholm
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Leif Lindholm @ 2023-09-19 11:20 UTC (permalink / raw)
  To: devel; +Cc: Peter Maydell, Ard Biesheuvel, Sami Mujawar

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@linaro.org>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Sami Mujawar <sami.mujawar@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/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/1913456212/xyzzy [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-09-19 20:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-19 11:20 [edk2-devel] [PATCH 0/2] ArmPkg/ArmVirtPkg: handle FEAT_VHE NS-EL2 virtual timer Leif Lindholm
2023-09-19 11:20 ` [edk2-devel] [PATCH 1/2] ArmPkg: add EL2 virtual timer interrupt Pcd Leif Lindholm
2023-09-19 11:20 ` [edk2-devel] [PATCH 2/2] ArmVirtPkg: handle virtual EL2 timer in DT Leif Lindholm
2023-09-19 13:18 ` [edk2-devel] [PATCH 0/2] ArmPkg/ArmVirtPkg: handle FEAT_VHE NS-EL2 virtual timer Peter Maydell
2023-09-19 15:19   ` Leif Lindholm
2023-09-19 15:31     ` Peter Maydell
2023-09-19 20:43   ` Leif Lindholm
2023-09-19 14:13 ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox