public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 00/11] tools/nolibc: shrink arch support
@ 2023-07-12  9:15 Zhangjin Wu
  2023-07-12  9:16 ` [PATCH v3 01/11] tools/nolibc: remove the old sys_stat support Zhangjin Wu
                   ` (11 more replies)
  0 siblings, 12 replies; 27+ messages in thread
From: Zhangjin Wu @ 2023-07-12  9:15 UTC (permalink / raw)
  To: w; +Cc: falcon, arnd, linux-kernel, linux-kselftest, thomas

Hi, Willy, Thomas

Here is the revision of the v2 arch support shrink patchset [1], it
mainly applies suggestions from you.

It is based on the 20230710-nolibc-ser2-tom-syscall-configv4-report
branch of nolibc repo.

Tested for all of the supported archs:

           arch/board | result
          ------------|------------
      arm/versatilepb | 151 test(s): 144 passed,   7 skipped,   0 failed => status: warning.
      arm/vexpress-a9 | 151 test(s): 144 passed,   7 skipped,   0 failed => status: warning.
             arm/virt | 151 test(s): 144 passed,   7 skipped,   0 failed => status: warning.
         aarch64/virt | 151 test(s): 144 passed,   7 skipped,   0 failed => status: warning.
              i386/pc | 151 test(s): 144 passed,   7 skipped,   0 failed => status: warning.
            x86_64/pc | 151 test(s): 144 passed,   7 skipped,   0 failed => status: warning.
         mipsel/malta | 151 test(s): 144 passed,   7 skipped,   0 failed => status: warning.
     loongarch64/virt | 151 test(s): 144 passed,   7 skipped,   0 failed => status: warning.
         riscv64/virt | 151 test(s): 144 passed,   7 skipped,   0 failed => status: warning.
         riscv32/virt | 151 test(s): 122 passed,   7 skipped,  22 failed => status: failure.
s390x/s390-ccw-virtio | 151 test(s): 144 passed,   7 skipped,   0 failed => status: warning.

Changes from v2 --> v3:

* tools/nolibc: remove the old sys_stat support

    Revert the reorg operation, basically the same as v1

* tools/nolibc: add new crt.h with _start_c

    Revert the reorg operation
    Add crt.h in Makefile
    Add _nolibc_main alias for main to silence the compile warning about 

* tools/nolibc: arm: shrink _start with _start_c
  tools/nolibc: aarch64: shrink _start with _start_c
  tools/nolibc: i386: shrink _start with _start_c
  tools/nolibc: x86_64: shrink _start with _start_c
  tools/nolibc: mips: shrink _start with _start_c
  tools/nolibc: loongarch: shrink _start with _start_c
  tools/nolibc: riscv: shrink _start with _start_c
  tools/nolibc: s390: shrink _start with _start_c

    Revert the reorg operation, but still use post-whitespaces instead of post-tab.
    Include "crt.h" in arch-<ARCH>.h

* tools/nolibc: arch-*.h: add missing space after ','

    Fix up the errors reported by scripts/checkpatch.pl

Best regards,
Zhangjin
---
[1]: https://lore.kernel.org/lkml/cover.1688828139.git.falcon@tinylab.org/

Zhangjin Wu (11):
  tools/nolibc: remove the old sys_stat support
  tools/nolibc: add new crt.h with _start_c
  tools/nolibc: arm: shrink _start with _start_c
  tools/nolibc: aarch64: shrink _start with _start_c
  tools/nolibc: i386: shrink _start with _start_c
  tools/nolibc: x86_64: shrink _start with _start_c
  tools/nolibc: mips: shrink _start with _start_c
  tools/nolibc: loongarch: shrink _start with _start_c
  tools/nolibc: riscv: shrink _start with _start_c
  tools/nolibc: s390: shrink _start with _start_c
  tools/nolibc: arch-*.h: add missing space after ','

 tools/include/nolibc/Makefile         |  1 +
 tools/include/nolibc/arch-aarch64.h   | 56 ++----------------
 tools/include/nolibc/arch-arm.h       | 82 +++------------------------
 tools/include/nolibc/arch-i386.h      | 61 +++-----------------
 tools/include/nolibc/arch-loongarch.h | 45 ++-------------
 tools/include/nolibc/arch-mips.h      | 76 ++++---------------------
 tools/include/nolibc/arch-riscv.h     | 68 +++-------------------
 tools/include/nolibc/arch-s390.h      | 63 ++------------------
 tools/include/nolibc/arch-x86_64.h    | 57 +++----------------
 tools/include/nolibc/crt.h            | 59 +++++++++++++++++++
 tools/include/nolibc/sys.h            | 63 ++++----------------
 tools/include/nolibc/types.h          |  4 +-
 12 files changed, 133 insertions(+), 502 deletions(-)
 create mode 100644 tools/include/nolibc/crt.h

-- 
2.25.1


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

end of thread, other threads:[~2023-07-15 11:45 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-12  9:15 [PATCH v3 00/11] tools/nolibc: shrink arch support Zhangjin Wu
2023-07-12  9:16 ` [PATCH v3 01/11] tools/nolibc: remove the old sys_stat support Zhangjin Wu
2023-07-15  8:59   ` Willy Tarreau
2023-07-15 10:39     ` Zhangjin Wu
2023-07-15 11:45       ` Willy Tarreau
2023-07-12  9:17 ` [PATCH v3 02/11] tools/nolibc: add new crt.h with _start_c Zhangjin Wu
2023-07-12 20:39   ` Thomas Weißschuh
2023-07-13  6:12     ` Zhangjin Wu
2023-07-13  6:23       ` Zhangjin Wu
2023-07-13  6:24       ` Thomas Weißschuh
2023-07-13  6:34       ` Willy Tarreau
2023-07-14  5:58         ` Zhangjin Wu
2023-07-14  6:34           ` Thomas Weißschuh
2023-07-14  9:47             ` Zhangjin Wu
2023-07-15  7:24               ` Thomas Weißschuh
2023-07-15  9:23                 ` Zhangjin Wu
2023-07-15  9:57           ` Willy Tarreau
2023-07-12  9:18 ` [PATCH v3 03/11] tools/nolibc: arm: shrink _start " Zhangjin Wu
2023-07-12  9:19 ` [PATCH v3 04/11] tools/nolibc: aarch64: " Zhangjin Wu
2023-07-12  9:20 ` [PATCH v3 05/11] tools/nolibc: i386: " Zhangjin Wu
2023-07-12  9:22 ` [PATCH v3 06/11] tools/nolibc: x86_64: " Zhangjin Wu
2023-07-12  9:23 ` [PATCH v3 07/11] tools/nolibc: mips: " Zhangjin Wu
2023-07-12  9:24 ` [PATCH v3 08/11] tools/nolibc: loongarch: " Zhangjin Wu
2023-07-12  9:25 ` [PATCH v3 09/11] tools/nolibc: riscv: " Zhangjin Wu
2023-07-12  9:26 ` [PATCH v3 10/11] tools/nolibc: s390: " Zhangjin Wu
2023-07-12  9:27 ` [PATCH v3 11/11] tools/nolibc: arch-*.h: add missing space after ',' Zhangjin Wu
2023-07-15 10:01 ` [PATCH v3 00/11] tools/nolibc: shrink arch support Willy Tarreau

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