summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2026-06-27 18:52:35 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-07-31 16:57:58 +0300
commitabff40cb50ed7ffd6d8549f44b68a2fd7552e067 (patch)
tree38edde91ff24082c5b580db76be08457885ebcbf /MdeModulePkg/Library/PiDxeS3BootScriptLib
parent82dd8ab1b374a907bff6a009d5f0efc510d53a98 (diff)
downloadedk2-abff40cb50ed7ffd6d8549f44b68a2fd7552e067.tar.xz
DynamicTablesPkg: Support EL2 virtual timer in ArmGenericTimerParser
When edk2 runs as a kvmtool guest with nested virtualization enabled, the Arm architectural timer DT node contains five interrupt specifiers. The fifth interrupt describes the EL2 virtual timer. ArmGenericTimerParser currently expects exactly four timer interrupts. It therefore asserts when parsing the timer node generated for a nested virtualization guest. Determine the number of interrupt specifiers present in the DT and populate each architectural timer entry only when it is available. Add support for the EL2 virtual timer and use it to populate the VirtualPL2Timer fields in the generated GTDT information. Tested as a KVM guest at EL1 and EL2, with both E2H==0 and E2H==1. Signed-off-by: Marc Zyngier <maz@kernel.org> [Varshit Pandya: Rewrite commit message for clarity.] Ref: https://edk2.groups.io/g/devel/message/122008 Signed-off-by: Varshit Pandya <varshit.pandya@arm.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib')
0 files changed, 0 insertions, 0 deletions