Skip to content

nolibc: add part2 of support for rv32

Zhangjin Wu linux-kselftest linux-riscv lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest5 patches 4 repliesIn review
  2. v43 patches 0 repliesSuperseded
  3. v3 posting 2/20 of 3 patches 3 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v3 posting 1/23 patches16 repliesSuperseded
v22 patches8 repliesSuperseded

Changes in v5 from the cover letter

* selftests/nolibc: allow customize kernel specific ARCH variable

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tools/nolibc: fix up #error compile failures with -ENOSYStools/include/nolibc/sys.h+13 -131 reply
2/5tools/nolibc: fix up undeclared syscall macros with #ifdef and -ENOSYStools/include/nolibc/sys.h+12 -00 replies
3/5selftests/nolibc: allow customize kernel specific ARCH variabletools/testing/selftests/nolibc/Makefile+5 -20 replies
4/5tools/nolibc: add kernel and nolibc specific ARCH variablestools/include/nolibc/Makefile+10 -40 replies
5/5selftests/nolibc: riscv: customize makefile for rv32tools/include/nolibc/Makefile tools/testing/selftests/nolibc/Makefile+15 -02 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchArnd Bergmann
1/5R-b
2/5R-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/5] nolibc: add part2 of support for rv32

Hi, Willy

This is the revision of the v4 part2 of support for rv32 [1], this further split the generic KARCH code out of the old rv32 compile patch and also add kernel specific KARCH and nolibc specific NARCH for tools/include/nolibc/Makefile too.

This is rebased on the dev.2023.06.14a branch of linux-rcu repo [2] with basic run-user and run tests.

Changes from v4 -> v5:

* selftests/nolibc: allow customize kernel specific ARCH variable

The KARCH customize support part splitted out of the old rv32 compile patch and removed the one passed to tools/include/nolibc/Makefile.

* tools/nolibc: add kernel and nolibc specific ARCH variables

Pass original ARCH to tools/include/nolibc/Makefile, add KARCH and NARCH for kernel and nolibc respectively.

* selftests/nolibc: riscv: customize makefile for rv32

Now, it is rv32 specific, no generic code.

Best regards,
Zhangjin
---
[1]: https://lore.kernel.org/linux-riscv/[email protected]/
[2]: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/

Zhangjin Wu (5):
tools/nolibc: fix up #error compile failures with -ENOSYS tools/nolibc: fix up undeclared syscall macros with #ifdef and -ENOSYS selftests/nolibc: allow customize kernel specific ARCH variable tools/nolibc: add kernel and nolibc specific ARCH variables selftests/nolibc: riscv: customize makefile for rv32

 tools/include/nolibc/Makefile           | 18 +++++++++---
 tools/include/nolibc/sys.h              | 38 ++++++++++++++++---------
 tools/testing/selftests/nolibc/Makefile | 18 ++++++++++--
 3 files changed, 55 insertions(+), 19 deletions(-)
Signature · 7 lines
2.25.1


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv