]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rseq/selftests: Add support for OpenRISC
authorStafford Horne <shorne@gmail.com>
Mon, 23 Dec 2024 13:13:18 +0000 (13:13 +0000)
committerStafford Horne <shorne@gmail.com>
Tue, 14 Jan 2025 17:17:16 +0000 (17:17 +0000)
commitea1413e5b53a8dd4fa7675edb23cdf828bbdce1e
treee3fb390fb3a7e9247f529dd20321ebb3fcf3859c
parentca46ebffc2d2b243cc213d444e2a440489ecd4bc
rseq/selftests: Add support for OpenRISC

Add support for OpenRISC in the rseq selftests.  OpenRISC is 32-bit
only.

Tested this with:

    Compiler:  gcc version 14.2.0 (GCC)
    Binutils:  GNU assembler version 2.43.1 (or1k-smh-linux-gnu) using BFD version (GNU Binutils) 2.43.1.20241207
    Linux:     Linux buildroot 6.13.0-rc2-00005-g1fa73dd6c2d3-dirty #213 SMP Sat Dec 28 22:18:39 GMT 2024 openrisc GNU/Linux
    Glibc:     2024-12-13 e4e49583d9 Stafford Horne   or1k: Update libm-test-ulps

Signed-off-by: Stafford Horne <shorne@gmail.com>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/rseq/param_test.c
tools/testing/selftests/rseq/rseq-or1k-bits.h [new file with mode: 0644]
tools/testing/selftests/rseq/rseq-or1k-thread-pointer.h [new file with mode: 0644]
tools/testing/selftests/rseq/rseq-or1k.h [new file with mode: 0644]
tools/testing/selftests/rseq/rseq-thread-pointer.h
tools/testing/selftests/rseq/rseq.h