From: Benjamin Gray <bgray@linux.ibm.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: Benjamin Gray <bgray@linux.ibm.com>
Subject: [PATCH 0/5] Update DSCR tests
Date: Tue, 7 Mar 2023 11:55:10 +1100 [thread overview]
Message-ID: <20230307005515.174362-1-bgray@linux.ibm.com> (raw)
The randomness based DSCR tests currently have a low probability of doing
any writes to the DSCR, making them inefficient in uncovering bugs.
This series adds lockstep variants to these RNG tests, to ensure the happy
path is always tested, and improves the randomness and size of the RNG
tests.
It also removes many iterations of the sysfs DSCR test, allowing the default
timeout to be re-enabled.
Benjamin Gray (5):
selftests/powerpc/dscr: Correct typos
selftests/powerpc/dscr: Add lockstep test cases to DSCR explicit tests
selftests/powerpc/dscr: Improve DSCR explicit random test case
selftests/powerpc/dscr: Speed up DSCR sysfs tests
selftests/powerpc/dscr: Restore timeout to DSCR selftests
tools/testing/selftests/powerpc/dscr/Makefile | 3 +-
tools/testing/selftests/powerpc/dscr/dscr.h | 22 +-
.../powerpc/dscr/dscr_default_test.c | 223 +++++++++++-------
.../powerpc/dscr/dscr_explicit_test.c | 173 +++++++++++---
.../powerpc/dscr/dscr_inherit_test.c | 4 +-
.../selftests/powerpc/dscr/dscr_sysfs_test.c | 11 +-
.../selftests/powerpc/dscr/dscr_user_test.c | 4 +-
tools/testing/selftests/powerpc/dscr/settings | 1 -
8 files changed, 300 insertions(+), 141 deletions(-)
delete mode 100644 tools/testing/selftests/powerpc/dscr/settings
base-commit: 422fbcbf91303706823bc3babceb1df1a42112bf
--
2.39.2
next reply other threads:[~2023-03-07 0:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-07 0:55 Benjamin Gray [this message]
2023-03-07 0:55 ` [PATCH 1/5] selftests/powerpc/dscr: Correct typos Benjamin Gray
2023-03-07 0:55 ` [PATCH 2/5] selftests/powerpc/dscr: Add lockstep test cases to DSCR explicit tests Benjamin Gray
2023-03-07 9:59 ` Michael Ellerman
2023-03-07 0:55 ` [PATCH 3/5] selftests/powerpc/dscr: Improve DSCR explicit random test case Benjamin Gray
2023-03-07 0:55 ` [PATCH 4/5] selftests/powerpc/dscr: Speed up DSCR sysfs tests Benjamin Gray
2023-03-07 0:55 ` [PATCH 5/5] selftests/powerpc/dscr: Restore timeout to DSCR selftests Benjamin Gray
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=20230307005515.174362-1-bgray@linux.ibm.com \
--to=bgray@linux.ibm.com \
--cc=linuxppc-dev@lists.ozlabs.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