Linux Kernel Selftest development
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will@kernel.org>, Shuah Khan <shuah@kernel.org>,
	Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-arm-kernel@lists.infradead.org,
	linux-kselftest@vger.kernel.org, Mark Brown <broonie@kernel.org>
Subject: [PATCH v2 0/4] kselftest/arm64: Floating point stress test harness
Date: Mon, 29 Aug 2022 16:44:48 +0100	[thread overview]
Message-ID: <20220829154452.824870-1-broonie@kernel.org> (raw)

This series has a few small enhancements for the existing standalone
floating point stress tests and then builds on those with a kselftest
integrated program which gives those a very quick spin from within
kselftest, as well as having an option to set a custom timeout to allow
for use with longer soak testing. This makes it much easier to get
thorough testing of the floating point state management logic, rather
than requiring custom setup for coverage of the various vector lengths
in the system as is needed at present.

It might be nice in future to extend this to attach to some or all of
the test programs with ptrace and read/write their registers as another
means of potentially triggering race conditions or corruption but that's
definitely another step.

v2:
 - Rebase onto v6.0-rc3.
 - Announce the results of enumeration before we start everything.

Mark Brown (4):
  kselftest/arm64: Always encourage preemption for za-test
  kselftest/arm64: Count SIGUSR2 deliveries in FP stress tests
  kselftest/arm64: Install signal handlers before output in FP stress
    tests
  kselftest/arm64: kselftest harness for FP stress tests

 tools/testing/selftests/arm64/fp/.gitignore   |   1 +
 tools/testing/selftests/arm64/fp/Makefile     |   5 +-
 .../testing/selftests/arm64/fp/asm-offsets.h  |   1 +
 tools/testing/selftests/arm64/fp/fp-stress.c  | 535 ++++++++++++++++++
 .../testing/selftests/arm64/fp/fpsimd-test.S  |  51 +-
 tools/testing/selftests/arm64/fp/sve-test.S   |  51 +-
 tools/testing/selftests/arm64/fp/za-test.S    |  58 +-
 7 files changed, 641 insertions(+), 61 deletions(-)
 create mode 100644 tools/testing/selftests/arm64/fp/fp-stress.c


base-commit: b90cb1053190353cc30f0fef0ef1f378ccc063c5
-- 
2.30.2


             reply	other threads:[~2022-08-29 15:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-29 15:44 Mark Brown [this message]
2022-08-29 15:44 ` [PATCH v2 1/4] kselftest/arm64: Always encourage preemption for za-test Mark Brown
2022-08-29 15:44 ` [PATCH v2 2/4] kselftest/arm64: Count SIGUSR2 deliveries in FP stress tests Mark Brown
2022-08-29 15:44 ` [PATCH v2 3/4] kselftest/arm64: Install signal handlers before output " Mark Brown
2022-08-29 15:44 ` [PATCH v2 4/4] kselftest/arm64: kselftest harness for " Mark Brown
2022-09-06 17:45 ` [PATCH v2 0/4] kselftest/arm64: Floating point stress test harness Catalin Marinas

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=20220829154452.824870-1-broonie@kernel.org \
    --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=skhan@linuxfoundation.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