Skip to content

arm64: Taint the kernel on different GMID_EL1.BS

Catalin Marinas linux-arm-kernel 2 versions – Applied

Status from this message: Applied to arm64 (for-next/cpufeature), thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v12 patches 10 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2arm64: Change the cpuinfo_arm64 member type for some sysregs to u64arch/arm64/include/asm/cpu.h arch/arm64/kernel/cpuinfo.c+6 -60 replies
2/2arm64: Check if GMID_EL1.BS is the same on all CPUsarch/arm64/include/asm/cpu.h arch/arm64/include/asm/cpufeature.h arch/arm64/kernel/cpufeature.c +1 more+32 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMark RutlandSuzuki K Poulose
1/2A-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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/[email protected]

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
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel