From f7850cabf835cc8ebebf600681d60e2e91344d37 Mon Sep 17 00:00:00 2001 From: Asahi Lina Date: Sat, 21 Sep 2024 23:15:47 +0900 Subject: [PATCH] fixup! arm64: Implement PR_{GET,SET}_MEM_MODEL for always-TSO CPUs --- arch/arm64/kernel/cpufeature_impdef.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/cpufeature_impdef.c b/arch/arm64/kernel/cpufeature_impdef.c index 4523fcff230645..3b0807bf90cddd 100644 --- a/arch/arm64/kernel/cpufeature_impdef.c +++ b/arch/arm64/kernel/cpufeature_impdef.c @@ -78,7 +78,7 @@ static const struct arm64_cpu_capabilities arm64_impdef_features[] = { { .desc = "TSO memory model (Fixed)", .capability = ARM64_HAS_TSO_FIXED, - .type = ARM64_CPUCAP_SYSTEM_FEATURE, + .type = SCOPE_LOCAL_CPU | ARM64_CPUCAP_PERMITTED_FOR_LATE_CPU, .matches = has_tso_fixed, }, #endif