[PATCH v2] ARM: virt: Relax arch timer version check during early boot

Marc Zyngier maz at kernel.org
Mon Jan 20 06:01:52 PST 2020

On 2020-01-20 13:38, Vladimir Murzin wrote:
> Updates to the Generic Timer architecture allow ID_PFR1.GenTimer to
> have values other than 0 or 1 while still preserving backward
> compatibility. At the moment, Linux is quite strict in the way it
> handles this field at early boot and will not configure arch timer if
> it doesn't find the value 1.
> Since here use ubfx for arch timer version extraction (hyb-stub build
> with -march=armv7-a, so it is safe)
> To help backports (even though the code was correct at the time of 
> writing)
> Fixes: 8ec58be9f3ff ("ARM: virt: arch_timers: enable access to physical 
> timers")
> Signed-off-by: Vladimir Murzin <vladimir.murzin at arm.com>

Acked-by: Marc Zyngier <maz at kernel.org>

Feel free to put it into Russell's patch system.


Jazz is not dead. It just smells funny...

More information about the linux-arm-kernel mailing list