[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173627015564.294742.14608056095112096112.b4-ty@kernel.org>
Date: Wed, 8 Jan 2025 16:38:52 +0000
From: Will Deacon <will@...nel.org>
To: Catalin Marinas <catalin.marinas@....com>,
Marc Zyngier <maz@...nel.org>,
Peter Collingbourne <pcc@...gle.com>,
Mark Brown <broonie@...nel.org>
Cc: kernel-team@...roid.com,
Will Deacon <will@...nel.org>,
Mark Rutland <mark.rutland@....com>,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH v3] arm64/sme: Move storage of reg_smidr to __cpuinfo_store_cpu()
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,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists