[PATCH 0/6] target/arm: Implement FEAT_FGWTE3

Richard Henderson posted 6 patches an hour ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260724030616.76180-1-richard.henderson@linaro.org
Maintainers: Peter Maydell <peter.maydell@linaro.org>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
target/arm/cpregs.h            | 56 +++++++++++++++++++++++++++++
target/arm/cpu-features.h      |  5 +++
target/arm/cpu.h               |  2 +-
target/arm/cpregs-gcs.c        |  5 +--
target/arm/helper.c            | 66 ++++++++++++++++++++++------------
target/arm/tcg/cpu64.c         |  1 +
target/arm/tcg/op_helper.c     | 36 ++++++++++++-------
target/arm/tcg/translate-a64.c | 13 ++++++-
docs/system/arm/emulation.rst  |  1 +
9 files changed, 146 insertions(+), 39 deletions(-)
[PATCH 0/6] target/arm: Implement FEAT_FGWTE3
Posted by Richard Henderson an hour ago
Similar but different to FEAT_FGT.

The EL3 version traps writes to specific EL3 registers from EL3,
and one cannot disable the trapping once enabled.  The idea being
that after firmware boots, system settings are not expected to
change for any reason.


r~


Richard Henderson (6):
  target/arm: Add FGWTE3_EL3
  target/arm: Add FGWTE3_EL3 bit definitions
  target/arm: Add FGWTE3 FGT bit definitions
  target/arm: Implement FGWTE3 traps
  target/arm: Set fgt in cpregs for FGWTE3
  target/arm: Enable FEAT_FGWTE3 for -cpu max

 target/arm/cpregs.h            | 56 +++++++++++++++++++++++++++++
 target/arm/cpu-features.h      |  5 +++
 target/arm/cpu.h               |  2 +-
 target/arm/cpregs-gcs.c        |  5 +--
 target/arm/helper.c            | 66 ++++++++++++++++++++++------------
 target/arm/tcg/cpu64.c         |  1 +
 target/arm/tcg/op_helper.c     | 36 ++++++++++++-------
 target/arm/tcg/translate-a64.c | 13 ++++++-
 docs/system/arm/emulation.rst  |  1 +
 9 files changed, 146 insertions(+), 39 deletions(-)

-- 
2.43.0