summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorLeif Lindholm <quic_llindhol@quicinc.com>2023-09-19 11:20:25 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-09-19 20:27:55 +0000
commiteb485b6438f488db5300b56949d9dad460c9f2d4 (patch)
tree022dc24d403d35e215e463919e760f1327e2a264 /MdePkg
parentbaee97670ff0c0391ad2c4fc1f32e2d89ed1a057 (diff)
downloadedk2-eb485b6438f488db5300b56949d9dad460c9f2d4.tar.gz
edk2-eb485b6438f488db5300b56949d9dad460c9f2d4.tar.bz2
edk2-eb485b6438f488db5300b56949d9dad460c9f2d4.zip
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 <quic_llindhol@quicinc.com> Reported-by: Peter Maydell <peter.maydell@linaro.org> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Tested-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'MdePkg')
0 files changed, 0 insertions, 0 deletions