]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Make CNTPS_* UNDEF from Secure EL1 when Secure EL2 is enabled
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 7 Mar 2025 10:08:20 +0000 (10:08 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 7 Mar 2025 10:08:20 +0000 (10:08 +0000)
commitbdd641541fbef0a27bf9f60e7eba6f8a31d4706c
tree6c5cc03566a20cf4d3dc14c486889609ab05046e
parent5709038aa8b4d58b8c201ed53c327074173a35c6
target/arm: Make CNTPS_* UNDEF from Secure EL1 when Secure EL2 is enabled

When we added Secure EL2 support, we missed that this needs an update
to the access code for the EL3 physical timer registers.  These are
supposed to UNDEF from Secure EL1 when Secure EL2 is enabled.

(Note for stable backporting: for backports to branches where
CP_ACCESS_UNDEFINED is not defined, the old name to use instead
is CP_ACCESS_TRAP_UNCATEGORIZED.)

Cc: qemu-stable@nongnu.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20250204125009.2281315-4-peter.maydell@linaro.org
target/arm/helper.c