target/arm: Add sve-max-vq cpu property to -cpu max
commitadf92eab90e3f5f34c285da6d14d48952b7a8e72
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 16 Aug 2018 13:05:28 +0000 (16 14:05 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 16 Aug 2018 13:05:28 +0000 (16 14:05 +0100)
treeb7001056fc891aab12aa36908a884de7e3555543
parent2bf5f3f91bb4e3faa2a19aec042138a938afbf6a
target/arm: Add sve-max-vq cpu property to -cpu max

This allows the default (and maximum) vector length to be set
from the command-line.  Which is extraordinarily helpful in
debugging problems depending on vector length without having to
bake knowledge of PR_SET_SVE_VL into every guest binary.

Cc: qemu-stable@nongnu.org (3.0.1)
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
linux-user/syscall.c
target/arm/cpu.c
target/arm/cpu.h
target/arm/cpu64.c
target/arm/helper.c