[PATCH 0/2] ARMv8 timer fixes for platforms without EL2 configuration
Sumit Garg
sumit.garg at kernel.org
Mon Apr 13 11:22:37 CEST 2026
Hi Balaji,
On Mon, Apr 06, 2026 at 04:25:35PM +0530, Balaji Selvanathan wrote:
> This series addresses timer-related issues on ARMv8 platforms where
> U-Boot runs at EL1 without a Hypervisor present. This is commonly
> encountered when using tools like snagboot for
> recovery and development.
As discussed offline too, the snagboot flow has to be fixed in this case
since booting in NS EL1 without properly initialized NS EL2 isn't the
right thing to do.
-Sumit
>
> On such platforms, U-Boot runs at EL1 but EL2 timer control
> registers may not be properly configured as Hypervisor is not present.
>
> Signed-off-by: Balaji Selvanathan <balaji.selvanathan at oss.qualcomm.com>
> ---
> Balaji Selvanathan (2):
> armv8: timer: Add option to use virtual counter at EL1
> snapdragon: Set timer frequency for ARMV8_CNTFRQ_BROKEN platforms
>
> arch/arm/cpu/armv8/Kconfig | 19 +++++++++++++++++++
> arch/arm/cpu/armv8/generic_timer.c | 13 +++++++++++++
> arch/arm/mach-snapdragon/board.c | 17 +++++++++++++++++
> 3 files changed, 49 insertions(+)
> ---
> base-commit: 47e064f13171f15817aa1b22b04e309964b15c2c
> change-id: 20260406-timer-07c406ca4987
>
> Best regards,
> --
> Balaji Selvanathan <balaji.selvanathan at oss.qualcomm.com>
>
More information about the U-Boot
mailing list