Skip to content

Commit 35382a3

Browse files
Yicong Yangwilldeacon
authored andcommitted
arm64/cpufeature: Add missing id_aa64mmfr4 feature reg update
Add missing id_aa64mmfr4 feature register check and update in update_cpu_features(). Update the taint status as well. Signed-off-by: Yicong Yang <yangyicong@hisilicon.com> Link: https://lore.kernel.org/r/20250329034409.21354-2-yangyicong@huawei.com Signed-off-by: Will Deacon <will@kernel.org>
1 parent 0af2f6b commit 35382a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm64/kernel/cpufeature.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,6 +1403,8 @@ void update_cpu_features(int cpu,
14031403
info->reg_id_aa64mmfr2, boot->reg_id_aa64mmfr2);
14041404
taint |= check_update_ftr_reg(SYS_ID_AA64MMFR3_EL1, cpu,
14051405
info->reg_id_aa64mmfr3, boot->reg_id_aa64mmfr3);
1406+
taint |= check_update_ftr_reg(SYS_ID_AA64MMFR4_EL1, cpu,
1407+
info->reg_id_aa64mmfr4, boot->reg_id_aa64mmfr4);
14061408

14071409
taint |= check_update_ftr_reg(SYS_ID_AA64PFR0_EL1, cpu,
14081410
info->reg_id_aa64pfr0, boot->reg_id_aa64pfr0);

0 commit comments

Comments
 (0)