Skip to content

Commit b2ad9d4

Browse files
brooniewilldeacon
authored andcommitted
arm64/idreg: Don't disable SME when disabling SVE
SVE and SME are separate features which can be implemented without each other but currently if the user specifies arm64.nosve then we disable SME as well as SVE. There is already a separate override for SME so remove the implicit disablement from the SVE override. One usecase for this would be testing SME only support on a system which implements both SVE and SME. Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20230315-arm64-override-sve-sme-v2-1-bab7593e842b@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
1 parent 7926035 commit b2ad9d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm64/kernel/idreg-override.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ static const struct {
167167
} aliases[] __initconst = {
168168
{ "kvm-arm.mode=nvhe", "id_aa64mmfr1.vh=0" },
169169
{ "kvm-arm.mode=protected", "id_aa64mmfr1.vh=0" },
170-
{ "arm64.nosve", "id_aa64pfr0.sve=0 id_aa64pfr1.sme=0" },
170+
{ "arm64.nosve", "id_aa64pfr0.sve=0" },
171171
{ "arm64.nosme", "id_aa64pfr1.sme=0" },
172172
{ "arm64.nobti", "id_aa64pfr1.bt=0" },
173173
{ "arm64.nopauth",

0 commit comments

Comments
 (0)