Re: [PATCH v1 24/28] tests/tcg/aarch64: add SVE iotcl test

2020-03-17 Thread Alex Bennée
Peter Maydell writes: > On Tue, 17 Mar 2020 at 10:45, Aleksandar Markovic > wrote: >> I think it is also a little problematic that tests like this reside >> and belong in tests/tcg - since they deal more with elements >> of kernel interface (system call prctl()), rather than TCG. >> Still, I

Re: [PATCH v1 24/28] tests/tcg/aarch64: add SVE iotcl test

2020-03-17 Thread Aleksandar Markovic
> > On 3/16/20 6:21 PM, Alex Bennée wrote: > > This is a fairly bare-bones test of setting the various vector sizes... The title contains a typo "iotcl" (you meant "ioctl"), but in any case, as I wrote in another mail, "prctl" is the right choice. > > for SVE which will only fail if the

Re: [PATCH v1 24/28] tests/tcg/aarch64: add SVE iotcl test

2020-03-17 Thread Peter Maydell
On Tue, 17 Mar 2020 at 10:45, Aleksandar Markovic wrote: > I think it is also a little problematic that tests like this reside > and belong in tests/tcg - since they deal more with elements > of kernel interface (system call prctl()), rather than TCG. > Still, I see there are many other similar

Re: [PATCH v1 24/28] tests/tcg/aarch64: add SVE iotcl test

2020-03-17 Thread Aleksandar Markovic
уто, 17. мар 2020. у 11:33 Philippe Mathieu-Daudé је написао/ла: > > On 3/16/20 6:21 PM, Alex Bennée wrote: > > This is a fairly bare-bones test of setting the various vector sizes > > for SVE which will only fail if the PR_SVE_SET_VL can't reduce the > > user-space vector length by powers of 2.

Re: [PATCH v1 24/28] tests/tcg/aarch64: add SVE iotcl test

2020-03-17 Thread Philippe Mathieu-Daudé
On 3/16/20 6:21 PM, Alex Bennée wrote: This is a fairly bare-bones test of setting the various vector sizes for SVE which will only fail if the PR_SVE_SET_VL can't reduce the user-space vector length by powers of 2. However we will also be able to use it in a future test which exercises the GDB

[PATCH v1 24/28] tests/tcg/aarch64: add SVE iotcl test

2020-03-16 Thread Alex Bennée
This is a fairly bare-bones test of setting the various vector sizes for SVE which will only fail if the PR_SVE_SET_VL can't reduce the user-space vector length by powers of 2. However we will also be able to use it in a future test which exercises the GDB stub. Signed-off-by: Alex Bennée ---