target/arm: Don't change pauth features when changing algorithm
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 29 Aug 2023 23:23:27 +0000 (16:23 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 8 Sep 2023 11:50:44 +0000 (12:50 +0100)
commit6c3427eec532d534fae05d8aa740a9dcca5826e8
treec96aa7edaf290afeedbef579884280c899bf5e14
parent0274bd7be7daf0e9e6a8743e1daebda5246f155f
target/arm: Don't change pauth features when changing algorithm

We have cpu properties to adjust the pauth algorithm for the
purpose of speed of emulation.  Retain the set of pauth features
supported by the cpu even as the algorithm changes.

This already affects the neoverse-v1 cpu, which has FEAT_EPAC.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230829232335.965414-5-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu64.c
target/arm/tcg/cpu64.c