[PATCH v2 0/9] arm64: Disabling SVE/SME from the command-line

Will Deacon will at kernel.org
Fri Jul 1 08:41:30 PDT 2022


On Thu, 30 Jun 2022 17:04:51 +0100, Marc Zyngier wrote:
> This very short series reworks the way arm64 CPUs boot (yes, again) in
> order to opt out of some features early at boot, on top of the
> existing VHE-forced-into-nVHE use case and using the same idreg
> override infrastructure.
> 
> The main victim here is SVE, because it seems that people have all
> sort of broken firmware out there, and that a distribution kernel
> cannot boot on that. And since we have a dependency between SVE and
> SME, disabling the former also disables the latter.
> 
> [...]

Applied to arm64 (testing), thanks!

[1/9] arm64: Rename the VHE switch to "finalise_el2"
      https://git.kernel.org/arm64/c/7ddb0c3df788
[2/9] arm64: Save state of HCR_EL2.E2H before switch to EL1
      https://git.kernel.org/arm64/c/b65e411d6cc2
[3/9] arm64: Allow sticky E2H when entering EL1
      https://git.kernel.org/arm64/c/ae4b7e38e9a9
[4/9] arm64: Factor out checking of a feature against the override into a macro
      https://git.kernel.org/arm64/c/fa8aa59ae645
[5/9] arm64: Allow the idreg override to deal with variable field width
      https://git.kernel.org/arm64/c/6b7ec18c0976
[6/9] arm64: Expose a __check_override primitive for oddball features
      https://git.kernel.org/arm64/c/6ab7661e1d39
[7/9] arm64: Add the arm64.nosme command line option
      https://git.kernel.org/arm64/c/b3000e2133d8
[8/9] arm64: Add the arm64.nosve command line option
      https://git.kernel.org/arm64/c/504ee23611c4
[9/9] arm64: Add an override for ID_AA64SMFR0_EL1.FA64
      https://git.kernel.org/arm64/c/18c9aa490795

Cheers,
-- 
Will

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



More information about the linux-arm-kernel mailing list