[PATCH v3 06/17] arm64: Allow EL1 physical timer access when running VHE

Catalin Marinas catalin.marinas at arm.com
Mon Jun 12 12:14:35 PDT 2023


On Fri, Jun 09, 2023 at 05:21:49PM +0100, Marc Zyngier wrote:
> To initialise the timer access from EL2 when HCR_EL2.E2H is set,
> we must make use the CNTHCTL_EL2 formap used is appropriate.
> 
> This amounts to shifting the timer/counter enable bits by 10
> to the left.
> 
> Signed-off-by: Marc Zyngier <maz at kernel.org>

Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-arm-kernel mailing list