[PATCH] arm64: Delay initialisation of cpuinfo_arm64::reg_{zcr,smcr}

Will Deacon will at kernel.org
Mon Jul 25 03:44:24 PDT 2022


On Wed, 20 Jul 2022 11:52:19 +0100, Marc Zyngier wrote:
> Even if we are now able to tell the kernel to avoid exposing SVE/SME
> from the command line, we still have a couple of places where we
> unconditionally access the ZCR_EL1 (resp. SMCR_EL1) registers.
> 
> On systems with broken firmwares, this results in a crash even if
> arm64.nosve (resp. arm64.nosme) was passed on the command-line.
> 
> [...]

Applied to arm64 (for-next/core), thanks!

[1/1] arm64: Delay initialisation of cpuinfo_arm64::reg_{zcr,smcr}
      https://git.kernel.org/arm64/c/892f7237b3ff

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list