From: Mark Brown <broonie@kernel.org>
To: Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>, Shuah Khan <shuah@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org
Subject: Re: [PATCH] kselftest/arm64: Enumerate SME rather than SVE vector lengths for za_regs
Date: Thu, 4 Aug 2022 19:41:14 +0100 [thread overview]
Message-ID: <YuwSysdGFPvj978m@sirena.org.uk> (raw)
In-Reply-To: <20220804182606.255728-1-broonie@kernel.org>
[-- Attachment #1.1: Type: text/plain, Size: 1370 bytes --]
On Thu, Aug 04, 2022 at 07:26:06PM +0100, Mark Brown wrote:
> The za_regs signal test was enumerating the SVE vector lengths rather than
> the SVE vector lengths through cut'n'paste error when determining what to
*sigh* SME.
> test. Enumerate the SME vector lengths instead.
>
> Signed-off-by: Mark Brown <broonie@kernel.org>
> ---
> tools/testing/selftests/arm64/signal/testcases/za_regs.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/testing/selftests/arm64/signal/testcases/za_regs.c b/tools/testing/selftests/arm64/signal/testcases/za_regs.c
> index b94e4f99fcac..9f1dd70289be 100644
> --- a/tools/testing/selftests/arm64/signal/testcases/za_regs.c
> +++ b/tools/testing/selftests/arm64/signal/testcases/za_regs.c
> @@ -22,10 +22,10 @@ static bool sme_get_vls(struct tdescr *td)
> int vq, vl;
>
> /*
> - * Enumerate up to SVE_VQ_MAX vector lengths
> + * Enumerate up to SME_VQ_MAX vector lengths
> */
> for (vq = SVE_VQ_MAX; vq > 0; --vq) {
> - vl = prctl(PR_SVE_SET_VL, vq * 16);
> + vl = prctl(PR_SME_SET_VL, vq * 16);
> if (vl == -1)
> return false;
>
> --
> 2.30.2
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
prev parent reply other threads:[~2022-08-04 18:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-04 18:26 [PATCH] kselftest/arm64: Enumerate SME rather than SVE vector lengths for za_regs Mark Brown
2022-08-04 18:41 ` Mark Brown [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YuwSysdGFPvj978m@sirena.org.uk \
--to=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=shuah@kernel.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).