qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] target/arm/cpu: Introduce sve_vq_supported bitmap
@ 2021-08-19 19:37 Andrew Jones
  2021-08-19 19:37 ` [PATCH 1/4] " Andrew Jones
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Andrew Jones @ 2021-08-19 19:37 UTC (permalink / raw)
  To: qemu-devel, qemu-arm; +Cc: peter.maydell, richard.henderson, ishii.shuuichir

While reviewing the new A64FX CPU type it became clear that CPU
types should be able to specify which SVE vector lengths are
supported. This series adds a new bitmap member to ARMCPU and
modifies arm_cpu_sve_finalize() to validate inputs against it.
So far we only need to set the bitmap for the 'max' CPU type
though and, since it supports all vector lengths, we just fill
the whole thing.

This series was inspired by Richard Henderson's suggestion to
replace arm_cpu_sve_finalize's kvm_supported bitmap with something
that could be shared with TCG.

So far I've only lightly tested this. I'll do more testing and
report back later. I'd also be happy to get test results from
others.

Thanks,
drew

Andrew Jones (4):
  target/arm/cpu: Introduce sve_vq_supported bitmap
  target/arm/kvm64: Ensure sve vls map is completely clear
  target/arm/cpu64: Replace kvm_supported with sve_vq_supported
  target/arm/cpu64: Validate sve vector lengths are supported

 target/arm/cpu.h   |   4 ++
 target/arm/cpu64.c | 118 +++++++++++++++++++++------------------------
 target/arm/kvm64.c |   2 +-
 3 files changed, 61 insertions(+), 63 deletions(-)

-- 
2.31.1



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-08-23 15:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-19 19:37 [PATCH 0/4] target/arm/cpu: Introduce sve_vq_supported bitmap Andrew Jones
2021-08-19 19:37 ` [PATCH 1/4] " Andrew Jones
2021-08-19 22:53   ` Philippe Mathieu-Daudé
2021-08-19 19:37 ` [PATCH 2/4] target/arm/kvm64: Ensure sve vls map is completely clear Andrew Jones
2021-08-19 22:52   ` Philippe Mathieu-Daudé
2021-08-19 19:37 ` [PATCH 3/4] target/arm/cpu64: Replace kvm_supported with sve_vq_supported Andrew Jones
2021-08-20  7:23   ` Philippe Mathieu-Daudé
2021-08-19 19:37 ` [PATCH 4/4] target/arm/cpu64: Validate sve vector lengths are supported Andrew Jones
2021-08-23 15:52   ` Andrew Jones
2021-08-23 15:53 ` [PATCH 0/4] target/arm/cpu: Introduce sve_vq_supported bitmap Andrew Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).