[PATCH 0/6] target/arm: Implement FEAT_FGWTE3
Richard Henderson <[email protected]> Thu, 23 Jul 2026 20:06:10 -0700
| Newsgroups | org.nongnu.qemu-arm,org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
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