]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Add GCS cpregs
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 8 Oct 2025 21:55:31 +0000 (14:55 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 10 Oct 2025 09:42:12 +0000 (10:42 +0100)
commitd8bf1761efa7aa0cbda765c153357079b1e0bd3f
tree1ecf020db75669138f5f4e2c3b73e9bfb7ccf2fa
parent8a0dda3e6b2394d0e96c16b80f44db97f9cc3e6e
target/arm: Add GCS cpregs

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.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20251008215613.300150-32-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpregs-gcs.c [new file with mode: 0644]
target/arm/cpregs.h
target/arm/cpu-features.h
target/arm/cpu.c
target/arm/cpu.h
target/arm/helper.c
target/arm/internals.h
target/arm/meson.build