On 8/2/19 5:25 AM, Andrew Jones wrote: > Since 97a28b0eeac14 ("target/arm: Allow VFP and Neon to be disabled via > a CPU property") we can disable the 'max' cpu model's VFP and neon > features, but there's no way to disable SVE. Add the 'sve=on|off' > property to give it that flexibility. We also rename > cpu_max_get/set_sve_vq to cpu_max_get/set_sve_max_vq in order for them > to follow the typical *_get/set_<property-name> pattern. > > Signed-off-by: Andrew Jones <drjo...@redhat.com> > --- > target/arm/cpu.c | 3 ++- > target/arm/cpu64.c | 42 ++++++++++++++++++++++++++++++++++------ > target/arm/monitor.c | 2 +- > tests/arm-cpu-features.c | 1 + > 4 files changed, 40 insertions(+), 8 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~