From: Abdalla Eldoumani <aamsdoumani@gmail.com>
To: Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>, Shuah Khan <shuah@kernel.org>
Cc: Mark Brown <broonie@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
linux-arm-kernel@lists.infradead.org,
linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org,
Abdalla Eldoumani <abdalla.eldoumani@ucalgary.ca>
Subject: [PATCH 0/2] kselftest/arm64: vec-syscfg exit status and VL inheritance coverage
Date: Sat, 17 Oct 2026 12:24:52 -0600 [thread overview]
Message-ID: <20261017182455.1884-1-aamsdoumani@gmail.com> (raw)
From: Abdalla Eldoumani <abdalla.eldoumani@ucalgary.ca>
Two small changes to the vector length configuration test.
The first makes vec-syscfg report failures through its exit status. It
currently always exits 0, so a kernel that fails its checks still shows
as passing in the kselftest runner.
The second implements the "Test PR_SVE_VL_INHERIT after a double fork"
item from the fp TODO list by also checking the VL in a grandchild, two
fork() and exec() generations down.
Tested under QEMU (-cpu max, -cpu max,sme=off and -cpu cortex-a57) on
mainline (58161ead2, after v7.3-rc7). To check that the new test can
fail, it was also run on a kernel modified to clear the inherit flag on
exec(): the existing check passed, the new check failed for SVE and SME,
and vec-syscfg exited 1.
Assisted-by: LLM
Abdalla Eldoumani (2):
kselftest/arm64: Report test failures in vec-syscfg's exit status
kselftest/arm64: Check that PR_SVE_VL_INHERIT survives a second exec
tools/testing/selftests/arm64/fp/TODO | 1 -
tools/testing/selftests/arm64/fp/vec-syscfg.c | 64 +++++++++++++++++--
2 files changed, 60 insertions(+), 5 deletions(-)
base-commit: 58161ead29e50d70a317ea26b472e0c7508e69da
--
2.49.0.windows.1
next reply other threads:[~2026-10-17 18:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-17 18:24 Abdalla Eldoumani [this message]
2026-10-17 18:24 ` [PATCH 1/2] kselftest/arm64: Report test failures in vec-syscfg's exit status Abdalla Eldoumani
2026-10-18 9:16 ` Mark Brown
2026-10-17 18:24 ` [PATCH 2/2] kselftest/arm64: Check that PR_SVE_VL_INHERIT survives a second exec Abdalla Eldoumani
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=20261017182455.1884-1-aamsdoumani@gmail.com \
--to=aamsdoumani@gmail.com \
--cc=abdalla.eldoumani@ucalgary.ca \
--cc=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=mark.rutland@arm.com \
--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
all inboxes | Powered by JetHome®