Re: [PATCH v2 08/23] arm64: cpufeature: Store every ID register with its overrides applied

From: Fuad Tabba

Date: Sun Oct 11 2026 - 03:35:37 EST


Hi Ben,

On Fri, 09 Oct 2026 16:51:14 +0100, Ben Horgan <ben.horgan@xxxxxxx> wrote:
[...]
>> the same way. Everything read with read_cpuid() goes through
>> read_cpuid_with_overrides(). CTR_EL0 and CNTFRQ_EL0, which are read
[...]
> For completeness shouldn't read_cpuid(SMIDR_EL1) change to
> read_cpuid_with_overrides(SMIDR_EL1)?

"Everything" should have said every register in arm64_ftr_regs[], and
SMIDR_EL1 isn't one of them, so read_cpuid_with_overrides() would hit
the WARN_ON() in get_arm64_ftr_reg() whenever SME is enabled.

Thanks,
/fuad