Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: baee97670ff0c0391ad2c4fc1f32e2d89ed1a057
https://github.com/tianocore/edk2/commit/baee97670ff0c0391ad2c4fc1f32e2d89ed1a057
Author: Leif Lindholm <[email protected]>
Date: 2023-09-19 (Tue, 19 Sep 2023)
Changed paths:
M ArmPkg/ArmPkg.dec
Log Message:
-----------
ArmPkg: add EL2 virtual timer interrupt Pcd
PcdArmArchTimerHypVirtIntrNum, defaults to 28 as defined in Arm's
Base System Architecture (current version DEN0094C 1.0C).
Relevant for systems implementing FEAT_VHE, added in ARMv8.1.
Signed-off-by: Leif Lindholm <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Sami Mujawar <[email protected]>
Signed-off-by: Leif Lindholm <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Commit: eb485b6438f488db5300b56949d9dad460c9f2d4
https://github.com/tianocore/edk2/commit/eb485b6438f488db5300b56949d9dad460c9f2d4
Author: Leif Lindholm <[email protected]>
Date: 2023-09-19 (Tue, 19 Sep 2023)
Changed paths:
M ArmVirtPkg/ArmVirtCloudHv.dsc
M ArmVirtPkg/ArmVirtKvmTool.dsc
M ArmVirtPkg/ArmVirtQemu.dsc
M ArmVirtPkg/ArmVirtQemuKernel.dsc
M ArmVirtPkg/ArmVirtXen.dsc
M ArmVirtPkg/Library/ArmVirtTimerFdtClientLib/ArmVirtTimerFdtClientLib.c
M ArmVirtPkg/Library/ArmVirtTimerFdtClientLib/ArmVirtTimerFdtClientLib.inf
Log Message:
-----------
ArmVirtPkg: handle virtual EL2 timer in DT
FEAT_VHE, introduced in ARMv8.1, adds a virtual EL2 timer.
However, this library verifies that exactly 3 or 4 12-byte timer
interrupts are provided in input DT, ASSERTing when the new timer
is added.
Change the assert to >= 36.
Extend the current logic, also initializing PcdArmArchTimerHypVirtIntrNum
if 5 interrupts are provided.
Signed-off-by: Leif Lindholm <[email protected]>
Reported-by: Peter Maydell <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Sami Mujawar <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Tested-by: Peter Maydell <[email protected]>
Compare: https://github.com/tianocore/edk2/compare/7275993dc644...eb485b6438f4
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits