All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] arm64: Taint the kernel on different GMID_EL1.BS
@ 2021-05-26 19:36 Catalin Marinas
  2021-05-26 19:36 ` [PATCH v2 1/2] arm64: Change the cpuinfo_arm64 member type for some sysregs to u64 Catalin Marinas
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Catalin Marinas @ 2021-05-26 19:36 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: Will Deacon, Mark Rutland, Suzuki K Poulose

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(-)


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-26 22:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-26 19:36 [PATCH v2 0/2] arm64: Taint the kernel on different GMID_EL1.BS Catalin Marinas
2021-05-26 19:36 ` [PATCH v2 1/2] arm64: Change the cpuinfo_arm64 member type for some sysregs to u64 Catalin Marinas
2021-05-26 19:36 ` [PATCH v2 2/2] arm64: Check if GMID_EL1.BS is the same on all CPUs Catalin Marinas
2021-05-26 22:15 ` [PATCH v2 0/2] arm64: Taint the kernel on different GMID_EL1.BS Will Deacon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.