[PATCH 0/3] arm64: WFxT fixes, take #2
Will Deacon
will at kernel.org
Thu Feb 26 19:16:32 PST 2026
On Thu, 26 Feb 2026 08:22:31 +0000, Marc Zyngier wrote:
> After my previous WFxT fix went in 7.0-rc1 as 29cc0f3aa7c64 ("arm64:
> Force the use of CNTVCT_EL0 in __delay()"), Ben reported that it isn't
> playing nice with preemption, due to the use of the timer workaround
> percpu variable. This series tries to address this, and propose a
> hopefully better alternative.
>
> That alternative is in the form of a new "virtual counter" accessor,
> available in the same way arch_timer_read_counter() is, except that it
> is guaranteed to be the virtual counter. This helper (a function
> pointer, really) is updated on each CPU boot in the same manner the
> counter accessor is.
>
> [...]
Applied first patch to arm64 (for-next/fixes), thanks!
[1/3] arm64: Fix sampling the "stable" virtual counter in preemptible section
https://git.kernel.org/arm64/c/e5cb94ba5f96
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list