]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64/cpufeature: Add missing id_aa64mmfr4 feature reg update
authorYicong Yang <yangyicong@hisilicon.com>
Sat, 29 Mar 2025 03:44:07 +0000 (11:44 +0800)
committerWill Deacon <will@kernel.org>
Tue, 29 Apr 2025 12:36:37 +0000 (13:36 +0100)
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>
arch/arm64/kernel/cpufeature.c

index 9c4d6d552b25cb3a31d1fb267bd73d3f82513e69..75ef319c1ef8d7e1a245b8d6367fab1a641b1f87 100644 (file)
@@ -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);