On Tue, 17 Dec 2024 21:59:48 +0000, Mark Brown wrote:
In commit 892f7237b3ff ("arm64: Delay initialisation of cpuinfo_arm64::reg_{zcr,smcr}") we moved access to ZCR, SMCR and SMIDR later in the boot process in order to ensure that we don't attempt to interact with them if SVE or SME is disabled on the command line. Unfortunately when initialising the boot CPU in init_cpu_features() we work on a copy of the struct cpuinfo_arm64 for the boot CPU used only during boot, not the percpu copy used by the sysfs code. The expectation of the feature identification code was that the ID registers would be read in __cpuinfo_store_cpu() and the values not modified by init_cpu_features().
[...]
SME is still disabled, but this is straightforward enough and I don't want to lose track of it so I've applied it to arm64 (for-next/cpufeature), thanks!
[1/1] arm64/sme: Move storage of reg_smidr to __cpuinfo_store_cpu() https://git.kernel.org/arm64/c/d3c7c48d004f
Cheers,