nolibc: add part2 of support for rv32
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest13 patches 8 repliesIn review
Changes in v2 from the cover letter
* Don't emulate the return values in the new syscalls path, fix up or support the new syscalls in the side of the related test cases (1-3)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | selftests/nolibc: remove gettimeofday_bad1/2 completelytools/ | +0 | 0 replies | |
| 2/13 | selftests/nolibc: support two errnos with EXPECT_SYSER2()tools/ | +10 | 0 replies | |
| 3/13 | selftests/nolibc: waitpid_min: add waitid syscall supporttools/ | +1 | 0 replies | |
| 4/13 | tools/nolibc: add missing nanoseconds support for __NR_statxtools/ | +3 | 2 replies | |
| 5/13 | tools/nolibc: add more wait status related typestools/ | +7 | 0 replies | |
| 6/13 | tools/nolibc: add pure 64bit off_t, time_t and blkcnt_ttools/ | +16 | 0 replies | |
| 7/13 | tools/nolibc: sys_lseek: add pure 64bit lseektools/ | +10 | 3 replies | |
| 8/13 | tools/nolibc: add pure 64bit time structstools/ tools/ | +48 | 0 replies | |
| 9/13 | tools/nolibc: sys_select: add pure 64bit selecttools/ tools/ tools/ +1 more | +10 | 0 replies | |
| 10/13 | tools/nolibc: sys_poll: add pure 64bit polltools/ | +9 | 0 replies | |
| 11/13 | tools/nolibc: sys_gettimeofday: add pure 64bit gettimeofdaytools/ | +29 | 0 replies | |
| 12/13 | tools/nolibc: sys_wait4: add waitid syscall supporttools/ | +50 | 0 replies | |
| 13/13 | selftests/nolibc: riscv: customize makefile for rv32tools/ | +9 | 0 replies | |
| 13/13 | selftests/nolibc: riscv: customize makefile for rv32 | +0 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/13] nolibc: add part2 of support for rv32
Hi, all
Thanks very much for your review suggestions of the v1 series [1], we just sent out the generic part1 [2], and here is the part2 of the whole v2 revision.
Changes from v1 -> v2:
* Don't emulate the return values in the new syscalls path, fix up or support the new syscalls in the side of the related test cases (1-3)
selftests/nolibc: remove gettimeofday_bad1/2 completely selftests/nolibc: support two errnos with EXPECT_SYSER2() selftests/nolibc: waitpid_min: add waitid syscall support
(Review suggestions from Willy and Thomas)
* Fix up new failure of the state_timestamps test case (4, new)
tools/nolibc: add missing nanoseconds support for __NR_statx
(Fixes for the commit a89c937d781a ("tools/nolibc: support nanoseconds in stat()")
* Add new waitstatus macros as a standalone patch for the waitid support (5)
tools/nolibc: add more wait status related types
(Split and Cleanup for the waitid syscall based sys_wait4)
* Pure 64bit lseek and time64 select/poll/gettimeofday support (6-11)
tools/nolibc: add pure 64bit off_t, time_t and blkcnt_t tools/nolibc: sys_lseek: add pure 64bit lseek tools/nolibc: add pure 64bit time structs tools/nolibc: sys_select: add pure 64bit select tools/nolibc: sys_poll: add pure 64bit poll tools/nolibc: sys_gettimeofday: add pure 64bit gettimeofday
(Review suggestions from Arnd, Thomas and Willy, time32 variants have
been removed completely and some fixups)
* waitid syscall support cleanup (12)
tools/nolibc: sys_wait4: add waitid syscall support
(Sync with the waitstatus macros update and Removal of emulated code)
* rv32 nolibc-test support, commit message update (13)
selftests/nolibc: riscv: customize makefile for rv32
(Review suggestions from Thomas, explain more about the change logic in commit message)
Best regards,
Zhangjin
---
[1]: https://lore.kernel.org/linux-riscv/[email protected]/T/#t
[2]: https://lore.kernel.org/linux-riscv/[email protected]/
Zhangjin Wu (13):
selftests/nolibc: remove gettimeofday_bad1/2 completely selftests/nolibc: support two errnos with EXPECT_SYSER2() selftests/nolibc: waitpid_min: add waitid syscall support tools/nolibc: add missing nanoseconds support for __NR_statx tools/nolibc: add more wait status related types tools/nolibc: add pure 64bit off_t, time_t and blkcnt_t tools/nolibc: sys_lseek: add pure 64bit lseek tools/nolibc: add pure 64bit time structs tools/nolibc: sys_select: add pure 64bit select tools/nolibc: sys_poll: add pure 64bit poll tools/nolibc: sys_gettimeofday: add pure 64bit gettimeofday tools/nolibc: sys_wait4: add waitid syscall support selftests/nolibc: riscv: customize makefile for rv32
tools/include/nolibc/arch-aarch64.h | 3 - tools/include/nolibc/arch-loongarch.h | 3 - tools/include/nolibc/arch-riscv.h | 3 - tools/include/nolibc/std.h | 28 ++-- tools/include/nolibc/sys.h | 134 +++++++++++++++---- tools/include/nolibc/types.h | 58 +++++++- tools/testing/selftests/nolibc/Makefile | 11 +- tools/testing/selftests/nolibc/nolibc-test.c | 20 +-- 8 files changed, 202 insertions(+), 58 deletions(-)
Signature · 1 line
2.25.1