OSDN Git Service

target/arm: Update user-mode ID reg mask values
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Sep 2023 14:37:00 +0000 (15:37 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Sep 2023 13:45:58 +0000 (14:45 +0100)
commit5f7b71fb99dc98831d9ad077fe1a58a4b119e952
tree2336bdb85d5232907ceb1fe2f6f1eda98bf71a46
parent4d9eb296431cfb1dfcaf31fe18d3b1917bc95e6a
target/arm: Update user-mode ID reg mask values

For user-only mode we reveal a subset of the AArch64 ID registers
to the guest, to emulate the kernel's trap-and-emulate-ID-regs
handling. Update the feature bit masks to match upstream kernel
commit a48fa7efaf1161c1c.

None of these features are yet implemented by QEMU, so this
doesn't yet have a behavioural change, but implementation of
FEAT_MOPS and FEAT_HBC is imminent.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/helper.c
tests/tcg/aarch64/sysregs.c