public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sumit Garg <sumit.garg@kernel.org>
To: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
Cc: u-boot@lists.denx.de, u-boot-qcom@groups.io,
	Tom Rini <trini@konsulko.com>,
	Kaustabh Chakraborty <kauschluss@disroot.org>,
	Casey Connolly <casey.connolly@linaro.org>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Sughosh Ganu <sughosh.ganu@arm.com>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	George Chan <gchan9527@gmail.com>
Subject: Re: [PATCH 0/2] ARMv8 timer fixes for platforms without EL2 configuration
Date: Mon, 13 Apr 2026 14:52:37 +0530	[thread overview]
Message-ID: <ady13cCo-bim0zsE@sumit-xelite> (raw)
In-Reply-To: <20260406-timer-v1-0-f7c5a290c459@oss.qualcomm.com>

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@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@oss.qualcomm.com>
> 

      parent reply	other threads:[~2026-04-13  9:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-06 10:55 [PATCH 0/2] ARMv8 timer fixes for platforms without EL2 configuration Balaji Selvanathan
2026-04-06 10:55 ` [PATCH 1/2] armv8: timer: Add option to use virtual counter at EL1 Balaji Selvanathan
2026-04-06 10:55 ` [PATCH 2/2] snapdragon: Set timer frequency for ARMV8_CNTFRQ_BROKEN platforms Balaji Selvanathan
2026-04-13  9:22 ` Sumit Garg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ady13cCo-bim0zsE@sumit-xelite \
    --to=sumit.garg@kernel.org \
    --cc=balaji.selvanathan@oss.qualcomm.com \
    --cc=casey.connolly@linaro.org \
    --cc=gchan9527@gmail.com \
    --cc=ilias.apalodimas@linaro.org \
    --cc=kauschluss@disroot.org \
    --cc=neil.armstrong@linaro.org \
    --cc=sughosh.ganu@arm.com \
    --cc=trini@konsulko.com \
    --cc=u-boot-qcom@groups.io \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox