Skip to contentSkip to conversation

kselftest next update for Linux 6.18-rc1

GIT PULL Merged Shuah Khan 2 participants 2 messages Sep 29, 2025 – Oct 2, 2025

Subsystems (2)
lore
Share & tools
lore

Shuah Khan

author maintainer
#0 lore raw

Hi Linus,

Please pull this kselftest next update for Linux 6.18-rc1.

- Fixes watchdog test to exit when device doesn't support keep alive
- Fix missing header build complaints during out of tree build
- A few minor fixes to git ignore
- MAINTAINERS file change to update dma_map_benchmark

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit f83ec76bf285bea5727f478a68b894f5543ca76e:

Linux 6.17-rc6 (2025-09-14 14:21:14 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux_kselftest-next-6.18-rc1

for you to fetch changes up to 19692013415486febf71343f5cc539a343a2994b:

MAINTAINERS: add myself and Barry to dma_map_benchmark maintainers (2025-09-28 14:41:34 -0600)

----------------------------------------------------------------
linux_kselftest-next-6.18-rc1

- Fixes watchdog test to exit when device doesn't support keep alive
- Fix missing header build complaints during out of tree build
- A few minor fixes to git ignore
- MAINTAINERS file change to update dma_map_benchmark

----------------------------------------------------------------
Akhilesh Patil (1):
selftests: watchdog: skip ping loop if WDIOF_KEEPALIVEPING not supported

Dylan Yudaken (1):
selftests/kexec: Ignore selftest binary

Qinxin Xia (1):
MAINTAINERS: add myself and Barry to dma_map_benchmark maintainers

Thomas Weißschuh (1):
selftests: always install UAPI headers to the correct directory

Yi Lai (1):
selftests/kselftest_harness: Add harness-selftest.expected to TEST_FILES

 MAINTAINERS                                        | 5 +++--
 tools/testing/selftests/kexec/.gitignore           | 2 ++
 tools/testing/selftests/kselftest_harness/Makefile | 1 +
 tools/testing/selftests/lib.mk                     | 5 ++++-
 tools/testing/selftests/watchdog/watchdog-test.c   | 6 ++++++
 5 files changed, 16 insertions(+), 3 deletions(-)
 create mode 100644 tools/testing/selftests/kexec/.gitignore

----------------------------------------------------------------

MAINTAINERS +3 -2
index f6206963efbf..dedc681f2632 100644
@@ -7218,10 +7218,11 @@ F:	include/linux/dmaengine.h
 F:	include/linux/of_dma.h
 
 DMA MAPPING BENCHMARK
-M:	Xiang Chen <[email protected]>
+M:	Barry Song <[email protected]>
+M:	Qinxin Xia <[email protected]>
 L:	[email protected]
 F:	kernel/dma/map_benchmark.c
-F:	tools/testing/selftests/dma/
+F:	tools/dma/
 
 DMA MAPPING HELPERS
 M:	Marek Szyprowski <[email protected]>
tools/testing/selftests/kexec/.gitignore new file +2 -0
new file mode 100644
index 000000000000..5f3d9e089ae8
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0-only
+test_kexec_jump
tools/testing/selftests/kselftest_harness/Makefile +1 -0
index 0617535a6ce4..d2369c01701a 100644
@@ -2,6 +2,7 @@
 
 TEST_GEN_PROGS_EXTENDED := harness-selftest
 TEST_PROGS := harness-selftest.sh
+TEST_FILES := harness-selftest.expected
 EXTRA_CLEAN := harness-selftest.seen
 
 include ../lib.mk
tools/testing/selftests/lib.mk +4 -1
index 530390033929..a448fae57831 100644
@@ -228,7 +228,10 @@ $(OUTPUT)/%:%.S
 	$(LINK.S) $^ $(LDLIBS) -o $@
 endif
 
+# Extract the expected header directory
+khdr_output := $(patsubst %/usr/include,%,$(filter %/usr/include,$(KHDR_INCLUDES)))
+
 headers:
-	$(Q)$(MAKE) -C $(top_srcdir) headers
+	$(Q)$(MAKE) -f $(top_srcdir)/Makefile -C $(khdr_output) headers
 
 .PHONY: run_tests all clean install emit_tests gen_mods_dir clean_mods_dir headers
tools/testing/selftests/watchdog/watchdog-test.c +6 -0
index a1f506ba5578..4f09c5db0c7f 100644
@@ -332,6 +332,12 @@ int main(int argc, char *argv[])
 	if (oneshot)
 		goto end;
 
+	/* Check if WDIOF_KEEPALIVEPING is supported */
+	if (!(info.options & WDIOF_KEEPALIVEPING)) {
+		printf("WDIOC_KEEPALIVE not supported by this device\n");
+		goto end;
+	}
+
 	printf("Watchdog Ticking Away!\n");
 
 	/*
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 29 Sep 2025 17:07:02 -0600:

The pull request you sent on Mon, 29 Sep 2025 17:07:02 -0600:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux_kselftest-next-6.18-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c0f53f0d2e761e780608cf72737f93bc75539da4

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html