[BOOT-WRAPPER PATCH 0/3] Add support for FEAT_FPMR and FEAT_GCS

Mark Rutland mark.rutland at arm.com
Tue Nov 26 07:39:52 PST 2024


While trying to test a tip-of-tree kernel on a model, I discovered that
we never added boot-wrapper support for FEAT_FPMR of FEAT_GCS, resulting
in the kernel (silently) hanging early during boot, which isn't ideal.

These patches add the missing support.

Mark.

Mark Rutland (3):
  aarch64: shuffle ID_AA64PFR{0,1}_EL1 definitions
  aarch64: Enable use of FPMR for EL2 and below
  aarch64: Enable use of GCS for EL2 and below

 arch/aarch64/include/asm/cpu.h | 16 +++++++++++++---
 arch/aarch64/init.c            | 10 ++++++++++
 2 files changed, 23 insertions(+), 3 deletions(-)

-- 
2.30.2




More information about the linux-arm-kernel mailing list