Re: [PATCH] arm64/boot: Don't set PMUv3p9 FGT2 bits without PMUv3
From: Fuad Tabba
Date: Sun Oct 04 2026 - 09:43:29 EST
On Sun, 04 Oct 2026 09:39:49 +0100, Will Deacon <will@xxxxxxxxxx> wrote:
[...]
> I wonder if it would be worth having some #defines for some of the common
> conditions, so we could avoid having the bare immediates each time in
> future? (obviously, that would be a separate cleanup rather than part of
> this fix).
Thanks Will. I think it would. There are only a handful outside
arch/arm64/lib, so it's small. I'd name each value after the condition
the following branch tests, e.g. CCMP_NZCV_LT rather than #8, so
nobody has to work out the flags by hand. I'll send something once
this is in your tree.
Cheers,
/fuad