Commit 35382a36 authored by Yicong Yang's avatar Yicong Yang Committed by Will Deacon
Browse files

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: default avatarYicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20250329034409.21354-2-yangyicong@huawei.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 0af2f6be
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1403,6 +1403,8 @@ void update_cpu_features(int cpu,
				      info->reg_id_aa64mmfr2, boot->reg_id_aa64mmfr2);
	taint |= check_update_ftr_reg(SYS_ID_AA64MMFR3_EL1, cpu,
				      info->reg_id_aa64mmfr3, boot->reg_id_aa64mmfr3);
	taint |= check_update_ftr_reg(SYS_ID_AA64MMFR4_EL1, cpu,
				      info->reg_id_aa64mmfr4, boot->reg_id_aa64mmfr4);

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