On 10/20/23 01:49, Song Gao wrote:
Hi,
This series adds the cpu model 'max' support. and allow users
enable/disable LSX/LASX features.
V3:
- Remove patch 2, add cpu feature flags;
- Remove unused code has_lsx, has_lasx.
V2:
- Use qapi type OnOffAuto;
- Add patch2, add cpu feature flags;
- patch4: show more query results.
Song Gao (3):
target/loongarch: Add cpu model 'max'
target/loongarch: Allow user enable/disable LSX/LASX features
target/loongarch: Implement query-cpu-model-expansion
qapi/machine-target.json | 6 ++-
target/loongarch/cpu.c | 74 +++++++++++++++++++++++++++
target/loongarch/cpu.h | 2 +
target/loongarch/loongarch-qmp-cmds.c | 64 +++++++++++++++++++++++
4 files changed, 144 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~