[PATCH v2 0/2] arm64: Taint the kernel on different GMID_EL1.BS
Catalin Marinas
catalin.marinas at arm.com
Wed May 26 12:36:19 PDT 2021
Hi,
An updated version of the GMID_EL1.BS sanity check since the first one
broke the boot on CPUs not supporting MTE.
Changes since v1 [1]:
- Add an id_aa64pfr1_mte() function to check whether the CPU supports
MTE before reading the GMID_EL1 register and updating the sanitised
one
- Dropped Mark's ack on the second patch because of the changes.
[1] https://lore.kernel.org/r/20210511182322.3830-1-catalin.marinas@arm.com
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/include/asm/cpufeature.h | 7 +++++++
arch/arm64/kernel/cpufeature.c | 21 +++++++++++++++++++++
arch/arm64/kernel/cpuinfo.c | 5 ++++-
4 files changed, 38 insertions(+), 6 deletions(-)
More information about the linux-arm-kernel
mailing list