On 7/27/25 1:02 AM, Richard Henderson wrote:
Add isar_feature_aa64_gcs.
Enable SCR_GCSEN in scr_write.
Enable HCRX_GCSEN in hcrx_write.
Default HCRX_GCSEN on if EL2 disabled.
Add the GCSCR* and GCSPR* registers.

Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
  target/arm/cpregs.h       |  2 +
  target/arm/cpu-features.h |  5 +++
  target/arm/cpu.h          | 12 ++++++
  target/arm/internals.h    |  3 ++
  target/arm/cpregs-gcs.c   | 79 +++++++++++++++++++++++++++++++++++++++
  target/arm/cpu.c          |  3 ++
  target/arm/helper.c       | 10 +++++
  target/arm/meson.build    |  2 +
  8 files changed, 116 insertions(+)
  create mode 100644 target/arm/cpregs-gcs.c

Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>


Reply via email to