summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py
diff options
context:
space:
mode:
authorLevi Yun <yeoreum.yun@arm.com>2025-11-06 15:50:08 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-11-14 03:40:12 +0300
commitc624a06aa3a9931e7d1ce1a8f51646438b74e4d2 (patch)
tree7c4afe638a23a65a66c980869581868edcdf0433 /BaseTools/Source/Python/AutoGen/ModuleAutoGen.py
parent74467627321735a9d898aa261dccc3c83330d93a (diff)
downloadedk2-c624a06aa3a9931e7d1ce1a8f51646438b74e4d2.tar.xz
ArmPkg,UefiCpuPkg: fix boot failure with LPA2
When FEAT_LPA2 is enabled: 1. The DS bit is located at bit 32, not bit 59, when HCR_EL2.E2H = 0. 2. The root level of the page table should be -1 when using a 52-bit address with a 4KB TxSZ and LPA2 feature is enabled. However, the current implementation does not handle these conditions correctly, causing EFI to fail during boot when CPU is EL0&1 or EL0&2. Fix this boot failure. Fixes: 90771630bfe ("UefiCpuPkg/ArmMmuLib: Add support for LPA2") Continuous-integration-options: PatchCheck.ignore-multi-package Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/ModuleAutoGen.py')
0 files changed, 0 insertions, 0 deletions