mbox series

[v2,0/2] tools/nolibc: support for 32-bit s390

Message ID 20250206-nolibc-s390-v2-0-991ad97e3d58@weissschuh.net (mailing list archive)
Headers show
Series tools/nolibc: support for 32-bit s390 | expand

Message

Thomas Weißschuh Feb. 6, 2025, 7:10 a.m. UTC
Support for 32-bit s390 is very easy to implement and useful for
testing. For example I used to test some generic compat_ptr() logic,
which is only testable on 32-bit s390.

The series depends on my other series
"selftests/nolibc: test kernel configuration cleanups".
(It's not a hard dependency, only a minor diff conflict)

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Changes in v2:
- Rebase unto nolibc-next
- Use 96 bytes of stack frame size
- Pick up Ack from Willy
- Link to v1: https://lore.kernel.org/r/20250122-nolibc-s390-v1-0-8c765f00e871@weissschuh.net

---
Thomas Weißschuh (2):
      selftests/nolibc: rename s390 to s390x
      tools/nolibc: add support for 32-bit s390

 tools/include/nolibc/arch-s390.h            |  5 +++++
 tools/include/nolibc/arch.h                 |  2 +-
 tools/testing/selftests/nolibc/Makefile     | 10 ++++++++--
 tools/testing/selftests/nolibc/run-tests.sh |  7 ++++++-
 4 files changed, 20 insertions(+), 4 deletions(-)
---
base-commit: c1f4a7a84037249d086a4114c0c4332a260e9091
change-id: 20250122-nolibc-s390-e57141682c88

Best regards,