Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Yicong Yang and committed by
Will Deacon
35382a36 0af2f6be

+2
+2
arch/arm64/kernel/cpufeature.c
··· 1403 1403 info->reg_id_aa64mmfr2, boot->reg_id_aa64mmfr2); 1404 1404 taint |= check_update_ftr_reg(SYS_ID_AA64MMFR3_EL1, cpu, 1405 1405 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); 1406 1408 1407 1409 taint |= check_update_ftr_reg(SYS_ID_AA64PFR0_EL1, cpu, 1408 1410 info->reg_id_aa64pfr0, boot->reg_id_aa64pfr0);