target/arm: Enable FEAT_CSV2_3 for -cpu max
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 18 Apr 2024 15:20:01 +0000 (16:20 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 30 Apr 2024 14:01:07 +0000 (15:01 +0100)
commite197395180511b093027c2bac3a34e6a84ddecdc
treefd63608fab4425c60c42d8f5b18fd9024bf7ade3
parentbc980d66308d3eabf8718477083c5989ea71ad42
target/arm: Enable FEAT_CSV2_3 for -cpu max

FEAT_CSV2_3 adds a mechanism to identify if hardware cannot disclose
information about whether branch targets and branch history trained
in one hardware described context can control speculative execution
in a different hardware context.

There is no branch prediction in TCG, so we don't need to do anything
to be compliant with this.  Upadte the '-cpu max' ID registers to
advertise the feature.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240418152004.2106516-3-peter.maydell@linaro.org
docs/system/arm/emulation.rst
target/arm/tcg/cpu64.c