mbox series

[0/5] target/arm: Update emulation.rst, add some easy features

Message ID 20240418152004.2106516-1-peter.maydell@linaro.org
Headers show
Series target/arm: Update emulation.rst, add some easy features | expand

Message

Peter Maydell April 18, 2024, 3:19 p.m. UTC
As of version DDI0487K.a of the Arm ARM, some architectural features
which previously didn't have official names have been named.
Mostly these are features which we thought of as part of baseline 8.0
support.  For SVE and SVE2, the names have been brought into line
with the FEAT_* naming convention of other extensions, and some
sub-components split into separate FEAT_ items. This patchset updates
our list of supported features in emulation.rst to add these.
The audit also caught a few cases (eg FEAT_CCIDX, FEAT_DPB2) where
the omission from our list was just an oversight.
                                
I've also included a few patches enabling "basically no-op for us"
features: FEAT_CSV2_3, FEAT_ETS2, and FEAT_Spec_FPACC. (The latter
does require us to put in the handling for ID_AA64MMFR3_EL1 as
a real ID register rather than an always-zero reserved sysreg.)

thanks
-- PMM

Peter Maydell (5):
  docs/system/arm/emulation.rst: Add missing implemented features
  target/arm: Enable FEAT_CSV2_3 for -cpu max
  target/arm: Enable FEAT_ETS2 for -cpu max
  target/arm: Implement ID_AA64MMFR3_EL1
  target/arm: Enable FEAT_Spec_FPACC for -cpu max

 docs/system/arm/emulation.rst | 41 ++++++++++++++++++++++++++++++++---
 target/arm/cpu.h              | 17 +++++++++++++++
 target/arm/helper.c           |  6 +++--
 target/arm/hvf/hvf.c          |  2 ++
 target/arm/kvm.c              |  2 ++
 target/arm/tcg/cpu32.c        |  2 +-
 target/arm/tcg/cpu64.c        | 10 ++++++---
 7 files changed, 71 insertions(+), 9 deletions(-)

Comments

Richard Henderson April 24, 2024, 11:15 p.m. UTC | #1
On 4/18/24 08:19, Peter Maydell wrote:
> Peter Maydell (5):
>    docs/system/arm/emulation.rst: Add missing implemented features
>    target/arm: Enable FEAT_CSV2_3 for -cpu max
>    target/arm: Enable FEAT_ETS2 for -cpu max
>    target/arm: Implement ID_AA64MMFR3_EL1
>    target/arm: Enable FEAT_Spec_FPACC for -cpu max

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~