mbox series

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

Message ID 20241126153955.477569-1-mark.rutland@arm.com (mailing list archive)
Headers show
Series Add support for FEAT_FPMR and FEAT_GCS | expand

Message

Mark Rutland Nov. 26, 2024, 3:39 p.m. UTC
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(-)