[PATCH] arm64/boot: Don't set PMUv3p9 FGT2 bits without PMUv3

Fuad Tabba fuad.tabba at linux.dev
Sun Oct 4 06:39:29 PDT 2026


On Sun, 04 Oct 2026 09:39:49 +0100, Will Deacon <will at kernel.org> 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



More information about the linux-arm-kernel mailing list