[PATCH v11 31/40] kselftest/arm64: sme: Add SME support to vlset

Mark Brown broonie at kernel.org
Tue Feb 8 07:51:13 PST 2022


On Mon, Feb 07, 2022 at 05:15:39PM -0700, Shuah Khan wrote:
> On 2/7/22 8:21 AM, Mark Brown wrote:
> > The Scalable Matrix Extenions (SME) introduces additional register state
> > with configurable vector lengths, similar to SVE but configured separately.
> > Extend vlset to support configuring this state with a --sme or -s command
> > line option.

> It would be useful to add a -g command to get the current value.
> -g would just do PR_SVE_GET_VL and print the value perhaps?

We already have the rdvl helper programs which can be used to read the
actual vector length from a shell command.  I'm not sure there's a
particular use case for adding something to to this program, and I'm not
sure the complexity is worth it especially given that we've got both the
actual and to be inherited vector lengths to be considered in the UI.
This program exists to allow you to configure vector lengths for the
stress tests without having to write UI code in assembler.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220208/9022437a/attachment.sig>


More information about the linux-arm-kernel mailing list