History log of /linux-6.15/tools/testing/selftests/nolibc/Makefile (Results 1 – 25 of 81)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.15, v6.15-rc7, v6.15-rc6, v6.15-rc5, v6.15-rc4, v6.15-rc3, v6.15-rc2, v6.15-rc1, v6.14, v6.14-rc7, v6.14-rc6, v6.14-rc5
# cb839e0c 01-Mar-2025 Thomas Weißschuh <[email protected]>

selftests/nolibc: add armthumb configuration

While nolibc does support ARM Thumb instructions,
that support was not tested specifically.

Add a new test configuration for it.

Tested-by: Willy Tarre

selftests/nolibc: add armthumb configuration

While nolibc does support ARM Thumb instructions,
that support was not tested specifically.

Add a new test configuration for it.

Tested-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


# f8bedb30 01-Mar-2025 Thomas Weißschuh <[email protected]>

selftests/nolibc: explicitly enable ARM mode

The default could also be -mthumb.

Explicitly use -marm to keep everything predictable.

Tested-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.o

selftests/nolibc: explicitly enable ARM mode

The default could also be -mthumb.

Explicitly use -marm to keep everything predictable.

Tested-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


Revision tags: v6.14-rc4, v6.14-rc3, v6.14-rc2
# 9c812b01 06-Feb-2025 Thomas Weißschuh <[email protected]>

tools/nolibc: add support for 32-bit s390

32-bit s390 is very close to the existing 64-bit implementation.

Some special handling is necessary as there is neither LLVM nor
QEMU support. Also the ker

tools/nolibc: add support for 32-bit s390

32-bit s390 is very close to the existing 64-bit implementation.

Some special handling is necessary as there is neither LLVM nor
QEMU support. Also the kernel itself can not build natively for 32-bit
s390, so instead the test program is executed with a 64-bit kernel.

Acked-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


# 3d1e67c6 06-Feb-2025 Thomas Weißschuh <[email protected]>

selftests/nolibc: rename s390 to s390x

Support for 32-bit s390 is about to be added.
As "s39032" would look horrible, use the another naming scheme.
32-bit s390 is "s390" and 64-bit s390 is "s390x",

selftests/nolibc: rename s390 to s390x

Support for 32-bit s390 is about to be added.
As "s39032" would look horrible, use the another naming scheme.
32-bit s390 is "s390" and 64-bit s390 is "s390x",
similar to how it is handled in various toolchain components.

Acked-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


Revision tags: v6.14-rc1
# d7d271ec 23-Jan-2025 Thomas Weißschuh <[email protected]>

selftests/nolibc: execute defconfig before other targets

Some targets use the test kernel configuration.
Executing defconfig in the same make invocation as those targets results
in errors as the con

selftests/nolibc: execute defconfig before other targets

Some targets use the test kernel configuration.
Executing defconfig in the same make invocation as those targets results
in errors as the configuration may be in an inconsistent state during
reconfiguration.
Avoid this by introducing ordering dependencies between the defconfig
and some other targets.

Acked-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


# 25d5ef9e 23-Jan-2025 Thomas Weißschuh <[email protected]>

selftests/nolibc: drop call to mrproper target

"mrproper" unnecessarily cleans a lot of files.
kbuild is smart enough to handle changed configurations,
so the cleanup is not necessary and only leads

selftests/nolibc: drop call to mrproper target

"mrproper" unnecessarily cleans a lot of files.
kbuild is smart enough to handle changed configurations,
so the cleanup is not necessary and only leads to excessive rebuilds.

Acked-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


# a75b763b 23-Jan-2025 Thomas Weißschuh <[email protected]>

selftests/nolibc: drop call to prepare target

The "prepare" target does not need to be run manually.
kbuild knows when to use it on its own and the target is not even
documented.

Acked-by: Willy Ta

selftests/nolibc: drop call to prepare target

The "prepare" target does not need to be run manually.
kbuild knows when to use it on its own and the target is not even
documented.

Acked-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


# e16214dc 23-Jan-2025 Thomas Weißschuh <[email protected]>

selftests/nolibc: drop mips32be EXTRACONFIG

kbuild already contains logic to merge predefines snippets into a
defconfig file. For MIPS a snippet for big-endian is already provided.

Link: https://lo

selftests/nolibc: drop mips32be EXTRACONFIG

kbuild already contains logic to merge predefines snippets into a
defconfig file. For MIPS a snippet for big-endian is already provided.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


# 4da4e35e 23-Jan-2025 Thomas Weißschuh <[email protected]>

selftests/nolibc: enable -Wmissing-prototypes

User code may want to use this compiler flag.
Make sure it is supported by nolibc.

Acked-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/2

selftests/nolibc: enable -Wmissing-prototypes

User code may want to use this compiler flag.
Make sure it is supported by nolibc.

Acked-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


Revision tags: v6.13, v6.13-rc7, v6.13-rc6, v6.13-rc5, v6.13-rc4
# 60fe1823 21-Dec-2024 Thomas Weißschuh <[email protected]>

selftests/nolibc: add configurations for riscv32

nolibc already supports riscv32. Wire it up in the testsuite.

Link: https://lore.kernel.org/r/[email protected]

selftests/nolibc: add configurations for riscv32

nolibc already supports riscv32. Wire it up in the testsuite.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


# a47b4b9f 21-Dec-2024 Thomas Weißschuh <[email protected]>

selftests/nolibc: rename riscv to riscv64

riscv32 support is about the be added. To keep the naming clear and
consistent with other architectures rename riscv to riscv64, as that is
what it actually

selftests/nolibc: rename riscv to riscv64

riscv32 support is about the be added. To keep the naming clear and
consistent with other architectures rename riscv to riscv64, as that is
what it actually represents.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


Revision tags: v6.13-rc3, v6.13-rc2, v6.13-rc1, v6.12, v6.12-rc7, v6.12-rc6, v6.12-rc5, v6.12-rc4, v6.12-rc3
# ad0558f3 07-Oct-2024 Thomas Weißschuh <[email protected]>

selftests/nolibc: start qemu with 1 GiB of memory

Recently the loongarch defconfig stopped working with the default 128 MiB
of memory. The VM just spins infinitively.
Increasing the available memory

selftests/nolibc: start qemu with 1 GiB of memory

Recently the loongarch defconfig stopped working with the default 128 MiB
of memory. The VM just spins infinitively.
Increasing the available memory to 1 GiB, similar to s390, fixes the
issue. To avoid having to do this for each architecture on its own,
proactively apply to all architectures.

Signed-off-by: Thomas Weißschuh <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


Revision tags: v6.12-rc2, v6.12-rc1, v6.11, v6.11-rc7, v6.11-rc6, v6.11-rc5, v6.11-rc4, v6.11-rc3
# 8404af7e 07-Aug-2024 Thomas Weißschuh <[email protected]>

selftests/nolibc: use correct clang target for s390/systemz

The target names between GCC and clang differ for s390.
While GCC uses "s390", clang uses "systemz".
This mapping is not handled by tools/

selftests/nolibc: use correct clang target for s390/systemz

The target names between GCC and clang differ for s390.
While GCC uses "s390", clang uses "systemz".
This mapping is not handled by tools/scripts/Makefile.include,
so do it in the nolibc-test Makefile.

Acked-by: Willy Tarreau <[email protected]>
Reviewed-by: Shuah Khan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


# 801cf69c 07-Aug-2024 Thomas Weißschuh <[email protected]>

selftests/nolibc: don't use libgcc when building with clang

The logic in clang to find the libgcc.a from a GCC toolchain for a
specific ABI does not work reliably and can lead to errors.
Instead dis

selftests/nolibc: don't use libgcc when building with clang

The logic in clang to find the libgcc.a from a GCC toolchain for a
specific ABI does not work reliably and can lead to errors.
Instead disable libgcc when building with clang, as it's not needed
anyways.

Acked-by: Willy Tarreau <[email protected]>
Reviewed-by: Shuah Khan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


# 1bd75aeb 07-Aug-2024 Thomas Weißschuh <[email protected]>

selftests/nolibc: add cc-option compatible with clang cross builds

The cc-option macro from Build.include is not compatible with clang
cross builds, as it does not respect the "--target" and similar

selftests/nolibc: add cc-option compatible with clang cross builds

The cc-option macro from Build.include is not compatible with clang
cross builds, as it does not respect the "--target" and similar flags,
set up by Mekfile.include.

Provide a custom variant which works correctly.

Reviewed-by: Shuah Khan <[email protected]>
Acked-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


# ae574ae3 07-Aug-2024 Thomas Weißschuh <[email protected]>

selftests/nolibc: add support for LLVM= parameter

Makefile.include can modify CC and CFLAGS for usage with clang.
Make use of it.

Makefile.include is currently used to handle the O= variable.
This

selftests/nolibc: add support for LLVM= parameter

Makefile.include can modify CC and CFLAGS for usage with clang.
Make use of it.

Makefile.include is currently used to handle the O= variable.
This is incompatible with the LLVM= handling as for O= it has to be
included as early as possible, while for LLVM= it needs to be included
after CFLAGS are set up.

To avoid this incompatibility, switch the O= handling to custom logic.

Reviewed-by: Shuah Khan <[email protected]>
Acked-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


# 1a1200b6 07-Aug-2024 Thomas Weißschuh <[email protected]>

selftests/nolibc: determine $(srctree) first

The nolibc-test Makefile includes various other Makefiles from the tree.
At first these are included with relative paths like
"../../../build/Build.inclu

selftests/nolibc: determine $(srctree) first

The nolibc-test Makefile includes various other Makefiles from the tree.
At first these are included with relative paths like
"../../../build/Build.include" but as soon as $(srctree) is set up,
the inclusions use that instead to build full paths.

To keep the style of inclusions consistent, perform the setup
$(srctree) as early as possible and use it for all inclusions.

Reviewed-by: Shuah Khan <[email protected]>
Acked-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


# ddae1d7f 07-Aug-2024 Thomas Weißschuh <[email protected]>

selftests/nolibc: report failure if no testcase passed

When nolibc-test is so broken, it doesn't even start,
don't report success.

Reviewed-by: Shuah Khan <[email protected]>
Acked-by: Will

selftests/nolibc: report failure if no testcase passed

When nolibc-test is so broken, it doesn't even start,
don't report success.

Reviewed-by: Shuah Khan <[email protected]>
Acked-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


Revision tags: v6.11-rc2, v6.11-rc1, v6.10, v6.10-rc7, v6.10-rc6, v6.10-rc5, v6.10-rc4, v6.10-rc3, v6.10-rc2, v6.10-rc1, v6.9, v6.9-rc7, v6.9-rc6
# 774e6ef2 23-Apr-2024 Thomas Weißschuh <[email protected]>

selftests/nolibc: run-tests.sh: use -Werror by default

run-tests.sh hides the output from the compiler unless the compilation
fails. To recognize newly introduced warnings use -Werror by default.

A

selftests/nolibc: run-tests.sh: use -Werror by default

run-tests.sh hides the output from the compiler unless the compilation
fails. To recognize newly introduced warnings use -Werror by default.

Also add a switch to disable -Werror in case the warnings are expected.

Signed-off-by: Thomas Weißschuh <[email protected]>
Acked-by: Willy Tarreau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]

show more ...


Revision tags: v6.9-rc5, v6.9-rc4, v6.9-rc3, v6.9-rc2, v6.9-rc1, v6.8, v6.8-rc7, v6.8-rc6, v6.8-rc5, v6.8-rc4, v6.8-rc3, v6.8-rc2, v6.8-rc1, v6.7, v6.7-rc8, v6.7-rc7, v6.7-rc6, v6.7-rc5, v6.7-rc4, v6.7-rc3, v6.7-rc2, v6.7-rc1
# 54410245 08-Nov-2023 Thomas Weißschuh <[email protected]>

tools/nolibc: mips: add support for PIC

MIPS requires some extra instructions to set up the $gp register for the
with a pointer to the global data area.

This isn't needed for non-PIC builds, but th

tools/nolibc: mips: add support for PIC

MIPS requires some extra instructions to set up the $gp register for the
with a pointer to the global data area.

This isn't needed for non-PIC builds, but this patch enables the code
unconditionally to prevent bitrot.

Also enable PIC in one of the test configurations for ongoing
validation.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


# d7233e2b 15-Sep-2077 Thomas Weißschuh <[email protected]>

selftests/nolibc: introduce QEMU_ARCH_USER

While ppc64le shares the same executable with regular ppc64 the user
variant needs has a dedicated executable.
Introduce a new QEMU_ARCH_USER Makefile vari

selftests/nolibc: introduce QEMU_ARCH_USER

While ppc64le shares the same executable with regular ppc64 the user
variant needs has a dedicated executable.
Introduce a new QEMU_ARCH_USER Makefile variable to accommodate that.

Fixes: 17362f3d0bd3 ("selftests/nolibc: use qemu-system-ppc64 for ppc64le")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Thomas Weißschuh <[email protected]>

show more ...


Revision tags: v6.6, v6.6-rc7
# b4b9fb91 20-Oct-2023 Thomas Weißschuh <[email protected]>

selftests/nolibc: add configuration for mipso32be

Allow testing MIPS O32 big endian.

Signed-off-by: Thomas Weißschuh <[email protected]>
Acked-by: Willy Tarreau <[email protected]>


# 3ab1e9db 20-Oct-2023 Thomas Weißschuh <[email protected]>

selftests/nolibc: extraconfig support

Allow some postprocessing of defconfig files.

Suggested-by: Zhangjin Wu <[email protected]>
Signed-off-by: Thomas Weißschuh <[email protected]>
Acked-by: W

selftests/nolibc: extraconfig support

Allow some postprocessing of defconfig files.

Suggested-by: Zhangjin Wu <[email protected]>
Signed-off-by: Thomas Weißschuh <[email protected]>
Acked-by: Willy Tarreau <[email protected]>

show more ...


# bb503f5f 20-Oct-2023 Thomas Weißschuh <[email protected]>

selftests/nolibc: explicitly specify ABI for MIPS

More ABIs exist, for better clarity specify it explicitly everywhere.

Signed-off-by: Thomas Weißschuh <[email protected]>
Acked-by: Willy Tarrea

selftests/nolibc: explicitly specify ABI for MIPS

More ABIs exist, for better clarity specify it explicitly everywhere.

Signed-off-by: Thomas Weißschuh <[email protected]>
Acked-by: Willy Tarreau <[email protected]>

show more ...


# c4c20a7d 20-Oct-2023 Thomas Weißschuh <[email protected]>

selftests/nolibc: use XARCH for MIPS

MIPS has many different configurations prepare the support of additional
ones by moving the build of MIPS to the generic XARCH infrastructure.

Signed-off-by: Th

selftests/nolibc: use XARCH for MIPS

MIPS has many different configurations prepare the support of additional
ones by moving the build of MIPS to the generic XARCH infrastructure.

Signed-off-by: Thomas Weißschuh <[email protected]>
Acked-by: Willy Tarreau <[email protected]>

show more ...


1234