public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] add s390 support to nolibc and rcutorture
@ 2023-01-02 10:51 Sven Schnelle
  2023-01-02 10:51 ` [PATCH v2 1/5] nolibc: fix fd_set type Sven Schnelle
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Sven Schnelle @ 2023-01-02 10:51 UTC (permalink / raw)
  To: Willy Tarreau, Paul E . McKenney, Josh Triplett
  Cc: Steven Rostedt, Mathieu Desnoyers, Lai Jiangshan, linux-kernel,
	linux-s390

Hi,

these patches add support for the s390 architecture both to nolibc
and rcutorture. Note that this only adds support for the 64 bit
version, no support for 31 bit (compat) is added. For nolibc it
includes one bugfix to make the fd_set datatype match the kernel
type.

Changes in v2:

- use __attribute__((unused)) instead of __maybe_unused
- prefer aghi over lay, as lay is not present in all architecure levels
- add -m64 CFLAG to force 64 bit mode for compiler that can do 31bit and 64bit mode

Sven Schnelle (5):
  nolibc: fix fd_set type
  nolibc: add support for s390
  selftests/nolibc: add s390 support
  rcutorture: add support for s390
  rcutorture: build initrd for rcutorture with nolibc

 tools/include/nolibc/arch-s390.h              | 213 ++++++++++++++++++
 tools/include/nolibc/arch.h                   |   2 +
 tools/include/nolibc/sys.h                    |   2 +
 tools/include/nolibc/types.h                  |  53 +++--
 tools/testing/selftests/nolibc/Makefile       |   7 +-
 .../selftests/rcutorture/bin/functions.sh     |   6 +
 .../selftests/rcutorture/bin/mkinitrd.sh      |   2 +-
 7 files changed, 260 insertions(+), 25 deletions(-)
 create mode 100644 tools/include/nolibc/arch-s390.h

-- 
2.34.1


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

end of thread, other threads:[~2023-01-02 14:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-02 10:51 [PATCH v2 0/5] add s390 support to nolibc and rcutorture Sven Schnelle
2023-01-02 10:51 ` [PATCH v2 1/5] nolibc: fix fd_set type Sven Schnelle
2023-01-02 10:51 ` [PATCH v2 2/5] nolibc: add support for s390 Sven Schnelle
2023-01-02 10:51 ` [PATCH v2 3/5] selftests/nolibc: add s390 support Sven Schnelle
2023-01-02 10:51 ` [PATCH v2 4/5] rcutorture: add support for s390 Sven Schnelle
2023-01-02 10:51 ` [PATCH v2 5/5] rcutorture: build initrd for rcutorture with nolibc Sven Schnelle
2023-01-02 11:02 ` [PATCH v2 0/5] add s390 support to nolibc and rcutorture Willy Tarreau
2023-01-02 14:19   ` Sven Schnelle
2023-01-02 14:33     ` Willy Tarreau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox