]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
selftests/rseq: Add config fragment
authorMark Brown <broonie@kernel.org>
Fri, 24 Apr 2026 12:45:21 +0000 (13:45 +0100)
committerThomas Gleixner <tglx@kernel.org>
Tue, 2 Jun 2026 21:20:57 +0000 (23:20 +0200)
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 [new file with mode: 0644]

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