qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Richard Henderson
Subject: Re: [PATCH 2/2] target/arm: Add sve-default-vector-length cpu property
Date: Fri, 23 Jul 2021 08:47:41 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 7/15/21 11:14 PM, Peter Maydell wrote:
+#ifdef CONFIG_USER_ONLY
+/* Mirror linux /proc/sys/abi/sve_default_vector_length. */

/proc/sys/abi/sve_default_vector_length wants a vector length in
bytes, and it looks like we take a length in bits. I assume that's
to match other places where the user can specify vector lengths,
but we should mention the units we expect and that it's not what
the kernel uses.

Oops, that wasn't intentional.

We also don't support the kernel's (undocumented) "-1 means set
to the maximum" behaviour -- do we need it, or is that more reasonably
achievable by the user via other properties ?

I didn't notice that one either, possibly because it's undocumented. Might as well support that too.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]