Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 81549ad5e59ff247355f22aa8addd825e89c49c7 https://github.com/tianocore/edk2/commit/81549ad5e59ff247355f22aa8addd825e89c49c7 Author: Ard Biesheuvel <a...@kernel.org> Date: 2025-05-28 (Wed, 28 May 2025)
Changed paths: M ArmPlatformPkg/PeilessSec/AArch64/ArchPeilessSec.c M ArmPlatformPkg/Sec/AArch64/Helper.S Log Message: ----------- ArmPlatformPkg/Sec: Remove EL1 timer setup when booting at EL2 Even though the UEFI spec mentions that the EL1PCTEN and EL1PCEN bits in CNTHCTL_EL2 must be set, this is not a requirement that applies to the UEFI implementation, but a requirement that applies to the firmware running at EL2 in cases where UEFI executes at EL1. (Note that the same paragraphs mentions that CNTFRQ must be programmed with the timer frequency, and this is only permitted at EL3). Setting these bits has no effect when executing at EL2, and it is the OS's job to reason about how to configure lower exception levels. So drop the initialization of CNTHCTL_EL2. Signed-off-by: Ard Biesheuvel <a...@kernel.org> Commit: 9cd4328f5ea59859e66e6052acb904e3eb1ea042 https://github.com/tianocore/edk2/commit/9cd4328f5ea59859e66e6052acb904e3eb1ea042 Author: Ard Biesheuvel <a...@kernel.org> Date: 2025-05-28 (Wed, 28 May 2025) Changed paths: M ArmPlatformPkg/Sec/AArch64/Helper.S Log Message: ----------- ArmPlatformPkg/Sec: Simplify SetupExceptionLevel1() using a tail call Avoid a call and use a jump instead, so that the LR value does not need to be recorded in a different register. This is generally neater, but it also avoids potential confusion in the debugger, given that no frame record is created for this call. Signed-off-by: Ard Biesheuvel <a...@kernel.org> Commit: 5b80d7944d197494a84de42a5ba084769865a3d8 https://github.com/tianocore/edk2/commit/5b80d7944d197494a84de42a5ba084769865a3d8 Author: Ard Biesheuvel <a...@kernel.org> Date: 2025-05-28 (Wed, 28 May 2025) Changed paths: M ArmPlatformPkg/Sec/AArch64/Helper.S Log Message: ----------- ArmPlatformPkg/Sec: Re-use SetupExceptionLevel1 when running VHE at EL2 Given that CPACR_EL1 is aliased to CPTR_EL2 when running at EL2 with VHE enabled, we can just fall back to SetupExceptionLevel1() instead of fiddling with the init values for CPTR_EL2. While at it, use the existing define to refer to the E2H bit in HCR_EL2. Signed-off-by: Ard Biesheuvel <a...@kernel.org> Compare: https://github.com/tianocore/edk2/compare/db7fedc24353...5b80d7944d19 To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits