mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] selftests/rseq: Add config fragment
@ 2026-04-24 12:45 Mark Brown
  2026-06-02 21:24 ` [tip: core/rseq] " tip-bot2 for Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2026-04-24 12:45 UTC (permalink / raw)
  To: Mathieu Desnoyers, Peter Zijlstra, Paul E. McKenney, Boqun Feng,
	Shuah Khan, Thomas Gleixner
  Cc: Mark Rutland, linux-kernel, linux-kselftest, Mark Brown

Currently we do not provide a config fragment for the rseq selftests but
there are a couple of configuration options which are required for
running them:

 - CONFIG_RSEQ is required for obvious reasons, it is enabled by default
   but it doesn't hurt to specify it in case the user is usinsg a
   defconfig that disables it.

 - CONFIG_RSEQ_SLICE_EXTENSION is tested by the slice_test test, the
   test will fail without it.

Add a configuration fragment which enables these options, helping
encourage CI systems and people doing manual testing to run the tests
with all the features.  We also enable CONFIG_EXPERT since it is a
dependency for slice extension.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
Changes in v2:
- Remove the debug options since Linus has indicated that he wants them
  removed entirely: https://lore.kernel.org/linux-arm-kernel/CAHk-=wjsEqWJxXArS-P5+ksSY2Apaox8u6FtUrtyWSBEOL4Q2Q@mail.gmail.com/
- Link to v1: https://patch.msgid.link/20260424-selftests-rseq-config-fragment-v1-1-fcf60116e690@kernel.org
---
 tools/testing/selftests/rseq/config | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/testing/selftests/rseq/config b/tools/testing/selftests/rseq/config
new file mode 100644
index 000000000000..a64608043ace
--- /dev/null
+++ b/tools/testing/selftests/rseq/config
@@ -0,0 +1,3 @@
+CONFIG_EXPERT=y
+CONFIG_RSEQ=y
+CONFIG_RSEQ_SLICE_EXTENSION=y

---
base-commit: 2e68039281932e6dc37718a1ea7cbb8e2cda42e6
change-id: 20260423-selftests-rseq-config-fragment-65f09caf0276

Best regards,
--  
Mark Brown <broonie@kernel.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip: core/rseq] selftests/rseq: Add config fragment
  2026-04-24 12:45 [PATCH v2] selftests/rseq: Add config fragment Mark Brown
@ 2026-06-02 21:24 ` tip-bot2 for Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Mark Brown @ 2026-06-02 21:24 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Mark Brown, Thomas Gleixner, x86, linux-kernel

The following commit has been merged into the core/rseq branch of tip:

Commit-ID:     5a0daaff6ed9c1177d58b7367451ef9714dac81d
Gitweb:        https://git.kernel.org/tip/5a0daaff6ed9c1177d58b7367451ef9714dac81d
Author:        Mark Brown <broonie@kernel.org>
AuthorDate:    Fri, 24 Apr 2026 13:45:21 +01:00
Committer:     Thomas Gleixner <tglx@kernel.org>
CommitterDate: Tue, 02 Jun 2026 23:20:57 +02:00

selftests/rseq: Add config fragment

Currently there is no config fragment for the rseq selftests but there are
a couple of configuration options which are required for running them:

 - CONFIG_RSEQ is required for obvious reasons, it is enabled by default
   but it doesn't hurt to specify it in case the user is usinsg a
   defconfig that disables it.

 - CONFIG_RSEQ_SLICE_EXTENSION is tested by the slice_test test, the
   test will fail without it.

Add a configuration fragment which enables these options, helping encourage
CI systems and people doing manual testing to run the tests with all the
features. This also requires CONFIG_EXPERT since it is a dependency for
slice extension.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260424-selftests-rseq-config-fragment-v2-1-a9475996edcb@kernel.org
---
 tools/testing/selftests/rseq/config | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 tools/testing/selftests/rseq/config

diff --git a/tools/testing/selftests/rseq/config b/tools/testing/selftests/rseq/config
new file mode 100644
index 0000000..a646080
--- /dev/null
+++ b/tools/testing/selftests/rseq/config
@@ -0,0 +1,3 @@
+CONFIG_EXPERT=y
+CONFIG_RSEQ=y
+CONFIG_RSEQ_SLICE_EXTENSION=y

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-02 21:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-24 12:45 [PATCH v2] selftests/rseq: Add config fragment Mark Brown
2026-06-02 21:24 ` [tip: core/rseq] " tip-bot2 for Mark Brown

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®