mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH RESEND 0/3] selftests: target selection fixes for cross and LLVM builds
@ 2026-11-05 12:56 Sasha Levin
  2026-11-05 12:56 ` [PATCH RESEND 1/3] selftests/prctl: skip the anonymous VMA naming test when unsupported Sasha Levin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sasha Levin @ 2026-11-05 12:56 UTC (permalink / raw)
  To: Andrew Morton, Shuah Khan
  Cc: Ivan Orlov, David Woodhouse, Nageswara R Sastry, kexec,
	Willy Tarreau, Thomas Weißschuh, Wake Liu, linux-kselftest,
	linux-kernel

A few suites select their tests from the build host instead of the
target, or depend on the host C library in ways that break cross
builds:

 - set-anon-vma-name-test fails instead of skipping on kernels built
   without CONFIG_ANON_VMA_NAME.

 - kexec only recognizes the ppc64le spelling of PowerPC and decides
   about the x86-64 jump test from the build host.

 - size links a custom _start against the static C library, which
   fails on ARM with clang and on LoongArch; it now uses nolibc.

The patches are independent of each other and apply on
mm-nonmm-unstable.

Since the original posting:

 - "selftests/prctl: build generated tests for the target architecture"
   is dropped. "selftests/prctl: select the tests by ARCH alone" in
   mm-nonmm-unstable replaces it.

 - "selftests/thermal: allow cross builds of the Intel tests" is dropped,
   it went in through the thermal tree as ff4194e54f84.

 - The size patch has Thomas's Reviewed-by.

Original posting:
https://lore.kernel.org/r/20261014200127.1363472-1-sashal@kernel.org

Sasha Levin (3):
  selftests/prctl: skip the anonymous VMA naming test when unsupported
  selftests/kexec: select tests using the target compiler
  selftests/size: use nolibc startup and syscall wrappers

 tools/testing/selftests/kexec/Makefile        | 26 ++++++++-------
 .../selftests/prctl/set-anon-vma-name-test.c  |  3 ++
 tools/testing/selftests/size/Makefile         |  9 ++++-
 tools/testing/selftests/size/get_size.c       | 33 +++++--------------
 4 files changed, 34 insertions(+), 37 deletions(-)


base-commit: 72afe7762a29508ae89831540347c1be3b7ba621
-- 
2.53.0


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

end of thread, other threads:[~2026-11-05 12:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 12:56 [PATCH RESEND 0/3] selftests: target selection fixes for cross and LLVM builds Sasha Levin
2026-11-05 12:56 ` [PATCH RESEND 1/3] selftests/prctl: skip the anonymous VMA naming test when unsupported Sasha Levin
2026-11-05 12:57 ` [PATCH RESEND 2/3] selftests/kexec: select tests using the target compiler Sasha Levin
2026-11-05 12:57 ` [PATCH RESEND 3/3] selftests/size: use nolibc startup and syscall wrappers Sasha Levin

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®