Re: [PATCH v2 3/3] target/arm: Add sve-default-vector-length cpu property

2021-07-26 Thread Peter Maydell
On Mon, 26 Jul 2021 at 19:34, Richard Henderson wrote: > > On 7/26/21 4:59 AM, Andrew Jones wrote: > >> +SVE User-mode Default Vector Length Property > >> + > >> + > >> +For qemu-aarch64, the cpu property `sve-default-vector-length=N` is > >> +defined to

Re: [PATCH v2 3/3] target/arm: Add sve-default-vector-length cpu property

2021-07-26 Thread Andrew Jones
On Mon, Jul 26, 2021 at 08:33:52AM -1000, Richard Henderson wrote: > On 7/26/21 4:59 AM, Andrew Jones wrote: > > > +SVE User-mode Default Vector Length Property > > > + > > > + > > > +For qemu-aarch64, the cpu property `sve-default-vector-length=N` is > >

Re: [PATCH v2 3/3] target/arm: Add sve-default-vector-length cpu property

2021-07-26 Thread Richard Henderson
On 7/26/21 4:59 AM, Andrew Jones wrote: +SVE User-mode Default Vector Length Property + + +For qemu-aarch64, the cpu property `sve-default-vector-length=N` is +defined to mirror the Linux kernel parameter file +`/proc/sys/abi/sve_default_vector_length`.

Re: [PATCH v2 3/3] target/arm: Add sve-default-vector-length cpu property

2021-07-26 Thread Andrew Jones
On Fri, Jul 23, 2021 at 10:33:44AM -1000, Richard Henderson wrote: > Mirror the behavour of /proc/sys/abi/sve_default_vector_length > under the real linux kernel. We have no way of passing along > a real default across exec like the kernel can, but this is a > decent way of adjusting the startup v

Re: [PATCH v2 3/3] target/arm: Add sve-default-vector-length cpu property

2021-07-26 Thread Peter Maydell
On Fri, 23 Jul 2021 at 21:36, Richard Henderson wrote: > > Mirror the behavour of /proc/sys/abi/sve_default_vector_length > under the real linux kernel. We have no way of passing along > a real default across exec like the kernel can, but this is a > decent way of adjusting the startup vector len

[PATCH v2 3/3] target/arm: Add sve-default-vector-length cpu property

2021-07-23 Thread Richard Henderson
Mirror the behavour of /proc/sys/abi/sve_default_vector_length under the real linux kernel. We have no way of passing along a real default across exec like the kernel can, but this is a decent way of adjusting the startup vector length of a process. Resolves: https://gitlab.com/qemu-project/qemu/