[PATCH 0/2] arm64: Taint the kernel on different GMID_EL1.BS

Catalin Marinas catalin.marinas at arm.com
Tue May 11 11:23:20 PDT 2021


Hi,

The GMID_EL1.BS field determines the number of tags accessed by
STGM/LDGM. While I haven't heard of a system where this field differs
across CPUs in a system, it's better to check.

In addition, "upgrade" the sysreg storage in struct cpuinfo_arm64 to
u64.

Catalin Marinas (2):
  arm64: Change the cpuinfo_arm64 member type for some sysregs to u64
  arm64: Check if GMID_EL1.BS is the same on all CPUs

 arch/arm64/include/asm/cpu.h   | 11 ++++++-----
 arch/arm64/kernel/cpufeature.c | 17 +++++++++++++++++
 arch/arm64/kernel/cpuinfo.c    |  3 ++-
 3 files changed, 25 insertions(+), 6 deletions(-)




More information about the linux-arm-kernel mailing list