* [PATCH nolibc 0/19] Updates to nolibc for v6.7 (and three for v6.6)
@ 2023-10-12 19:32 Paul E. McKenney
0 siblings, 0 replies; 5+ messages in thread
From: Paul E. McKenney @ 2023-10-12 19:32 UTC (permalink / raw)
To: linux-kernel; +Cc: gwml, kernel-team, w, ammarfaizi2
Hello!
This series contains nolibc updates, with the first three (1-3) being
urgent for v6.6 and the remainder (4-19) being for the upcoming v6.7
merge window.
1. tools/nolibc: i386: Fix a stack misalign bug on _start, courtesy
of Ammar Faizi.
2. MAINTAINERS: nolibc: update tree location, courtesy of Thomas
Weißschuh.
3. tools/nolibc: mark start_c as weak, courtesy of Thomas Weißschuh.
4. tools/nolibc: add stdarg.h header, courtesy of Thomas Weißschuh.
5. selftests/nolibc: use -nostdinc for nolibc-test, courtesy of
Thomas Weißschuh.
6. tools/nolibc: x86-64: Use `rep movsb` for `memcpy()` and
`memmove()`, courtesy of Ammar Faizi.
7. tools/nolibc: x86-64: Use `rep stosb` for `memset()`, courtesy
of Ammar Faizi.
8. tools/nolibc: string: Remove the `_nolibc_memcpy_down()` function,
courtesy of Ammar Faizi.
9. tools/nolibc: string: Remove the `_nolibc_memcpy_up()` function,
courtesy of Ammar Faizi.
10. selftests/nolibc: libc-test: avoid -Wstringop-overflow warnings,
courtesy of Thomas Weißschuh.
11. selftests/nolibc: don't embed initramfs into kernel image,
courtesy of Thomas Weißschuh.
12. selftests/nolibc: allow building i386 with multiarch compiler,
courtesy of Thomas Weißschuh.
13. tools/nolibc: avoid unused parameter warnings for ENOSYS
fallbacks, courtesy of Thomas Weißschuh.
14. tools/nolibc: don't define new syscall number, courtesy of
Thomas Weißschuh.
15. tools/nolibc: automatically detect necessity to use pselect6,
courtesy of Thomas Weißschuh.
16. tools/nolibc: drop test for getauxval(AT_PAGESZ), courtesy of
Thomas Weißschuh.
17. tools/nolibc: add support for constructors and destructors,
courtesy of Thomas Weißschuh.
18. selftests/nolibc: use qemu-system-ppc64 for ppc64le, courtesy
of Thomas Weißschuh.
19. selftests/nolibc: add tests for multi-object linkage, courtesy
of Thomas Weißschuh.
Thanx, Paul
------------------------------------------------------------------------
b/MAINTAINERS | 2
b/tools/include/nolibc/Makefile | 1
b/tools/include/nolibc/arch-aarch64.h | 3
b/tools/include/nolibc/arch-i386.h | 4 -
b/tools/include/nolibc/arch-loongarch.h | 4 -
b/tools/include/nolibc/arch-riscv.h | 3
b/tools/include/nolibc/arch-x86_64.h | 29 ++++++++
b/tools/include/nolibc/crt.h | 1
b/tools/include/nolibc/nolibc.h | 4 -
b/tools/include/nolibc/stdarg.h | 16 ++++
b/tools/include/nolibc/stdio.h | 3
b/tools/include/nolibc/string.h | 4 +
b/tools/include/nolibc/sys.h | 2
b/tools/testing/selftests/nolibc/.gitignore | 1
b/tools/testing/selftests/nolibc/Makefile | 2
b/tools/testing/selftests/nolibc/nolibc-test-linkage.c | 26 +++++++
b/tools/testing/selftests/nolibc/nolibc-test-linkage.h | 9 ++
b/tools/testing/selftests/nolibc/nolibc-test.c | 6 -
tools/include/nolibc/arch-x86_64.h | 13 +++
tools/include/nolibc/crt.h | 23 ++++++
tools/include/nolibc/string.h | 32 ++------
tools/include/nolibc/sys.h | 61 +++++++++--------
tools/testing/selftests/nolibc/Makefile | 57 +++++++++------
tools/testing/selftests/nolibc/nolibc-test.c | 22 +++++-
24 files changed, 234 insertions(+), 94 deletions(-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH nolibc 0/19] Updates to nolibc for v6.7 (and three for v6.6)
@ 2023-10-26 18:05 Zhangjin Wu
2023-10-27 2:16 ` Paul E. McKenney
0 siblings, 1 reply; 5+ messages in thread
From: Zhangjin Wu @ 2023-10-26 18:05 UTC (permalink / raw)
To: paulmck; +Cc: gwml, w
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 4497 bytes --]
[out-of-tree]
Hi, Paul, Thomas and Willy
I just learned our nolibc tree has been moved to another git repo and
have seen this PR series. I was waiting for a new branch in Willy's repo ;-)
Just a question: seems some patches of mine have been queued to Willy's
local repo, but I haven't seen in this PR, I can't remember which ones
are queued exactly, here may be at least one of them:
https://lore.kernel.org/linux-kselftest/[email protected]/
Or do I need to send a new series for them? some of the commit message issues
have been changed by Willy manually, so, that series online can not be merged
simply, If necessary, I'm ok to resend them.
BR,
Zhangjin
> Hello!
>
> This series contains nolibc updates, with the first three (1-3) being
> urgent for v6.6 and the remainder (4-19) being for the upcoming v6.7
> merge window.
>
> 1. tools/nolibc: i386: Fix a stack misalign bug on _start, courtesy
> of Ammar Faizi.
>
> 2. MAINTAINERS: nolibc: update tree location, courtesy of Thomas
> Weißschuh.
>
> 3. tools/nolibc: mark start_c as weak, courtesy of Thomas Weißschuh.
>
> 4. tools/nolibc: add stdarg.h header, courtesy of Thomas Weißschuh.
>
> 5. selftests/nolibc: use -nostdinc for nolibc-test, courtesy of
> Thomas Weißschuh.
>
> 6. tools/nolibc: x86-64: Use `rep movsb` for `memcpy()` and
> `memmove()`, courtesy of Ammar Faizi.
>
> 7. tools/nolibc: x86-64: Use `rep stosb` for `memset()`, courtesy
> of Ammar Faizi.
>
> 8. tools/nolibc: string: Remove the `_nolibc_memcpy_down()` function,
> courtesy of Ammar Faizi.
>
> 9. tools/nolibc: string: Remove the `_nolibc_memcpy_up()` function,
> courtesy of Ammar Faizi.
>
> 10. selftests/nolibc: libc-test: avoid -Wstringop-overflow warnings,
> courtesy of Thomas Weißschuh.
>
> 11. selftests/nolibc: don't embed initramfs into kernel image,
> courtesy of Thomas Weißschuh.
>
> 12. selftests/nolibc: allow building i386 with multiarch compiler,
> courtesy of Thomas Weißschuh.
>
> 13. tools/nolibc: avoid unused parameter warnings for ENOSYS
> fallbacks, courtesy of Thomas Weißschuh.
>
> 14. tools/nolibc: don't define new syscall number, courtesy of
> Thomas Weißschuh.
>
> 15. tools/nolibc: automatically detect necessity to use pselect6,
> courtesy of Thomas Weißschuh.
>
> 16. tools/nolibc: drop test for getauxval(AT_PAGESZ), courtesy of
> Thomas Weißschuh.
>
> 17. tools/nolibc: add support for constructors and destructors,
> courtesy of Thomas Weißschuh.
>
> 18. selftests/nolibc: use qemu-system-ppc64 for ppc64le, courtesy
> of Thomas Weißschuh.
>
> 19. selftests/nolibc: add tests for multi-object linkage, courtesy
> of Thomas Weißschuh.
>
> Thanx, Paul
>
> ------------------------------------------------------------------------
>
> b/MAINTAINERS | 2
> b/tools/include/nolibc/Makefile | 1
> b/tools/include/nolibc/arch-aarch64.h | 3
> b/tools/include/nolibc/arch-i386.h | 4 -
> b/tools/include/nolibc/arch-loongarch.h | 4 -
> b/tools/include/nolibc/arch-riscv.h | 3
> b/tools/include/nolibc/arch-x86_64.h | 29 ++++++++
> b/tools/include/nolibc/crt.h | 1
> b/tools/include/nolibc/nolibc.h | 4 -
> b/tools/include/nolibc/stdarg.h | 16 ++++
> b/tools/include/nolibc/stdio.h | 3
> b/tools/include/nolibc/string.h | 4 +
> b/tools/include/nolibc/sys.h | 2
> b/tools/testing/selftests/nolibc/.gitignore | 1
> b/tools/testing/selftests/nolibc/Makefile | 2
> b/tools/testing/selftests/nolibc/nolibc-test-linkage.c | 26 +++++++
> b/tools/testing/selftests/nolibc/nolibc-test-linkage.h | 9 ++
> b/tools/testing/selftests/nolibc/nolibc-test.c | 6 -
> tools/include/nolibc/arch-x86_64.h | 13 +++
> tools/include/nolibc/crt.h | 23 ++++++
> tools/include/nolibc/string.h | 32 ++------
> tools/include/nolibc/sys.h | 61 +++++++++--------
> tools/testing/selftests/nolibc/Makefile | 57 +++++++++------
> tools/testing/selftests/nolibc/nolibc-test.c | 22 +++++-
> 24 files changed, 234 insertions(+), 94 deletions(-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH nolibc 0/19] Updates to nolibc for v6.7 (and three for v6.6)
@ 2023-10-26 18:09 Zhangjin Wu
2023-10-27 8:21 ` Willy Tarreau
0 siblings, 1 reply; 5+ messages in thread
From: Zhangjin Wu @ 2023-10-26 18:09 UTC (permalink / raw)
To: paulmck; +Cc: gwml, w
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 4666 bytes --]
[out-of-tree]
[ Sorry, please ignore the last one with lwt.eu, it should be 1wt.eu, seems a typo:
https://lore.kernel.org/lkml/b34ce3cf-3fcc-4eb0-a658-229c197455ef@paulmck-laptop/ ]
Hi, Paul, Thomas and Willy
I just learned our nolibc tree has been moved to another git repo and
have seen this PR series. I was waiting for a new branch in Willy's repo ;-)
Just a question: seems some patches of mine have been queued to Willy's
local repo, but I haven't seen in this PR, I can't remember which ones
are queued exactly, here may be at least one of them:
https://lore.kernel.org/linux-kselftest/[email protected]/
Or do I need to send a new series for them? some of the commit message issues
have been changed by Willy manually, so, that series online can not be merged
simply, If necessary, I'm ok to resend them.
BR,
Zhangjin
> Hello!
>
> This series contains nolibc updates, with the first three (1-3) being
> urgent for v6.6 and the remainder (4-19) being for the upcoming v6.7
> merge window.
>
> 1. tools/nolibc: i386: Fix a stack misalign bug on _start, courtesy
> of Ammar Faizi.
>
> 2. MAINTAINERS: nolibc: update tree location, courtesy of Thomas
> Weißschuh.
>
> 3. tools/nolibc: mark start_c as weak, courtesy of Thomas Weißschuh.
>
> 4. tools/nolibc: add stdarg.h header, courtesy of Thomas Weißschuh.
>
> 5. selftests/nolibc: use -nostdinc for nolibc-test, courtesy of
> Thomas Weißschuh.
>
> 6. tools/nolibc: x86-64: Use `rep movsb` for `memcpy()` and
> `memmove()`, courtesy of Ammar Faizi.
>
> 7. tools/nolibc: x86-64: Use `rep stosb` for `memset()`, courtesy
> of Ammar Faizi.
>
> 8. tools/nolibc: string: Remove the `_nolibc_memcpy_down()` function,
> courtesy of Ammar Faizi.
>
> 9. tools/nolibc: string: Remove the `_nolibc_memcpy_up()` function,
> courtesy of Ammar Faizi.
>
> 10. selftests/nolibc: libc-test: avoid -Wstringop-overflow warnings,
> courtesy of Thomas Weißschuh.
>
> 11. selftests/nolibc: don't embed initramfs into kernel image,
> courtesy of Thomas Weißschuh.
>
> 12. selftests/nolibc: allow building i386 with multiarch compiler,
> courtesy of Thomas Weißschuh.
>
> 13. tools/nolibc: avoid unused parameter warnings for ENOSYS
> fallbacks, courtesy of Thomas Weißschuh.
>
> 14. tools/nolibc: don't define new syscall number, courtesy of
> Thomas Weißschuh.
>
> 15. tools/nolibc: automatically detect necessity to use pselect6,
> courtesy of Thomas Weißschuh.
>
> 16. tools/nolibc: drop test for getauxval(AT_PAGESZ), courtesy of
> Thomas Weißschuh.
>
> 17. tools/nolibc: add support for constructors and destructors,
> courtesy of Thomas Weißschuh.
>
> 18. selftests/nolibc: use qemu-system-ppc64 for ppc64le, courtesy
> of Thomas Weißschuh.
>
> 19. selftests/nolibc: add tests for multi-object linkage, courtesy
> of Thomas Weißschuh.
>
> Thanx, Paul
>
> ------------------------------------------------------------------------
>
> b/MAINTAINERS | 2
> b/tools/include/nolibc/Makefile | 1
> b/tools/include/nolibc/arch-aarch64.h | 3
> b/tools/include/nolibc/arch-i386.h | 4 -
> b/tools/include/nolibc/arch-loongarch.h | 4 -
> b/tools/include/nolibc/arch-riscv.h | 3
> b/tools/include/nolibc/arch-x86_64.h | 29 ++++++++
> b/tools/include/nolibc/crt.h | 1
> b/tools/include/nolibc/nolibc.h | 4 -
> b/tools/include/nolibc/stdarg.h | 16 ++++
> b/tools/include/nolibc/stdio.h | 3
> b/tools/include/nolibc/string.h | 4 +
> b/tools/include/nolibc/sys.h | 2
> b/tools/testing/selftests/nolibc/.gitignore | 1
> b/tools/testing/selftests/nolibc/Makefile | 2
> b/tools/testing/selftests/nolibc/nolibc-test-linkage.c | 26 +++++++
> b/tools/testing/selftests/nolibc/nolibc-test-linkage.h | 9 ++
> b/tools/testing/selftests/nolibc/nolibc-test.c | 6 -
> tools/include/nolibc/arch-x86_64.h | 13 +++
> tools/include/nolibc/crt.h | 23 ++++++
> tools/include/nolibc/string.h | 32 ++------
> tools/include/nolibc/sys.h | 61 +++++++++--------
> tools/testing/selftests/nolibc/Makefile | 57 +++++++++------
> tools/testing/selftests/nolibc/nolibc-test.c | 22 +++++-
> 24 files changed, 234 insertions(+), 94 deletions(-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH nolibc 0/19] Updates to nolibc for v6.7 (and three for v6.6)
2023-10-26 18:05 [PATCH nolibc 0/19] Updates to nolibc for v6.7 (and three for v6.6) Zhangjin Wu
@ 2023-10-27 2:16 ` Paul E. McKenney
0 siblings, 0 replies; 5+ messages in thread
From: Paul E. McKenney @ 2023-10-27 2:16 UTC (permalink / raw)
To: Zhangjin Wu; +Cc: gwml, w
On Fri, Oct 27, 2023 at 02:05:14AM +0800, Zhangjin Wu wrote:
> [out-of-tree]
>
> Hi, Paul, Thomas and Willy
>
> I just learned our nolibc tree has been moved to another git repo and
> have seen this PR series. I was waiting for a new branch in Willy's repo ;-)
>
> Just a question: seems some patches of mine have been queued to Willy's
> local repo, but I haven't seen in this PR, I can't remember which ones
> are queued exactly, here may be at least one of them:
>
> https://lore.kernel.org/linux-kselftest/[email protected]/
>
> Or do I need to send a new series for them? some of the commit message issues
> have been changed by Willy manually, so, that series online can not be merged
> simply, If necessary, I'm ok to resend them.
Hello, Zhangjin,
My pull request only contains those commits that Thomas and Willy deemed
ready for the v6.7 merge window, which should open in a few days. So it
might be that you series is in Willy's repo, and will be in the set to
be sent for the v6.8 merge window.
But I must defer to Willy and Thomas.
Thanx, Paul
> BR,
> Zhangjin
>
> > Hello!
> >
> > This series contains nolibc updates, with the first three (1-3) being
> > urgent for v6.6 and the remainder (4-19) being for the upcoming v6.7
> > merge window.
> >
> > 1. tools/nolibc: i386: Fix a stack misalign bug on _start, courtesy
> > of Ammar Faizi.
> >
> > 2. MAINTAINERS: nolibc: update tree location, courtesy of Thomas
> > Wei?schuh.
> >
> > 3. tools/nolibc: mark start_c as weak, courtesy of Thomas Wei?schuh.
> >
> > 4. tools/nolibc: add stdarg.h header, courtesy of Thomas Wei?schuh.
> >
> > 5. selftests/nolibc: use -nostdinc for nolibc-test, courtesy of
> > Thomas Wei?schuh.
> >
> > 6. tools/nolibc: x86-64: Use `rep movsb` for `memcpy()` and
> > `memmove()`, courtesy of Ammar Faizi.
> >
> > 7. tools/nolibc: x86-64: Use `rep stosb` for `memset()`, courtesy
> > of Ammar Faizi.
> >
> > 8. tools/nolibc: string: Remove the `_nolibc_memcpy_down()` function,
> > courtesy of Ammar Faizi.
> >
> > 9. tools/nolibc: string: Remove the `_nolibc_memcpy_up()` function,
> > courtesy of Ammar Faizi.
> >
> > 10. selftests/nolibc: libc-test: avoid -Wstringop-overflow warnings,
> > courtesy of Thomas Wei?schuh.
> >
> > 11. selftests/nolibc: don't embed initramfs into kernel image,
> > courtesy of Thomas Wei?schuh.
> >
> > 12. selftests/nolibc: allow building i386 with multiarch compiler,
> > courtesy of Thomas Wei?schuh.
> >
> > 13. tools/nolibc: avoid unused parameter warnings for ENOSYS
> > fallbacks, courtesy of Thomas Wei?schuh.
> >
> > 14. tools/nolibc: don't define new syscall number, courtesy of
> > Thomas Wei?schuh.
> >
> > 15. tools/nolibc: automatically detect necessity to use pselect6,
> > courtesy of Thomas Wei?schuh.
> >
> > 16. tools/nolibc: drop test for getauxval(AT_PAGESZ), courtesy of
> > Thomas Wei?schuh.
> >
> > 17. tools/nolibc: add support for constructors and destructors,
> > courtesy of Thomas Wei?schuh.
> >
> > 18. selftests/nolibc: use qemu-system-ppc64 for ppc64le, courtesy
> > of Thomas Wei?schuh.
> >
> > 19. selftests/nolibc: add tests for multi-object linkage, courtesy
> > of Thomas Wei?schuh.
> >
> > Thanx, Paul
> >
> > ------------------------------------------------------------------------
> >
> > b/MAINTAINERS | 2
> > b/tools/include/nolibc/Makefile | 1
> > b/tools/include/nolibc/arch-aarch64.h | 3
> > b/tools/include/nolibc/arch-i386.h | 4 -
> > b/tools/include/nolibc/arch-loongarch.h | 4 -
> > b/tools/include/nolibc/arch-riscv.h | 3
> > b/tools/include/nolibc/arch-x86_64.h | 29 ++++++++
> > b/tools/include/nolibc/crt.h | 1
> > b/tools/include/nolibc/nolibc.h | 4 -
> > b/tools/include/nolibc/stdarg.h | 16 ++++
> > b/tools/include/nolibc/stdio.h | 3
> > b/tools/include/nolibc/string.h | 4 +
> > b/tools/include/nolibc/sys.h | 2
> > b/tools/testing/selftests/nolibc/.gitignore | 1
> > b/tools/testing/selftests/nolibc/Makefile | 2
> > b/tools/testing/selftests/nolibc/nolibc-test-linkage.c | 26 +++++++
> > b/tools/testing/selftests/nolibc/nolibc-test-linkage.h | 9 ++
> > b/tools/testing/selftests/nolibc/nolibc-test.c | 6 -
> > tools/include/nolibc/arch-x86_64.h | 13 +++
> > tools/include/nolibc/crt.h | 23 ++++++
> > tools/include/nolibc/string.h | 32 ++------
> > tools/include/nolibc/sys.h | 61 +++++++++--------
> > tools/testing/selftests/nolibc/Makefile | 57 +++++++++------
> > tools/testing/selftests/nolibc/nolibc-test.c | 22 +++++-
> > 24 files changed, 234 insertions(+), 94 deletions(-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH nolibc 0/19] Updates to nolibc for v6.7 (and three for v6.6)
2023-10-26 18:09 Zhangjin Wu
@ 2023-10-27 8:21 ` Willy Tarreau
0 siblings, 0 replies; 5+ messages in thread
From: Willy Tarreau @ 2023-10-27 8:21 UTC (permalink / raw)
To: Zhangjin Wu; +Cc: paulmck, gwml, thomas
[CCed Thomas]
Hi Zhangjin,
On Fri, Oct 27, 2023 at 02:09:17AM +0800, Zhangjin Wu wrote:
> [out-of-tree]
>
> [ Sorry, please ignore the last one with lwt.eu, it should be 1wt.eu, seems a typo:
> https://lore.kernel.org/lkml/b34ce3cf-3fcc-4eb0-a658-229c197455ef@paulmck-laptop/ ]
Ah, indeed!
> Hi, Paul, Thomas and Willy
>
> I just learned our nolibc tree has been moved to another git repo and
> have seen this PR series. I was waiting for a new branch in Willy's repo ;-)
Yes, we also updated the MAINTAINERS file with it, now that the nolibc
family grows :-) I'll eventually remove my repo.
> Just a question: seems some patches of mine have been queued to Willy's
> local repo, but I haven't seen in this PR, I can't remember which ones
> are queued exactly, here may be at least one of them:
>
> https://lore.kernel.org/linux-kselftest/[email protected]/
Which one do you mean ? The one I'm seeing there in the discussion
mentions patch 3 ("use HOSTCC instead of CC") and I find it merged
already (commit 418c84682).
> Or do I need to send a new series for them? some of the commit message issues
> have been changed by Willy manually, so, that series online can not be merged
> simply, If necessary, I'm ok to resend them.
It's possible that something fell through the cracks, I've had a very
difficult experience of the many parallel discussion threads in the past,
but I can't guess what you find missing, so please be more specific about
these (or possibly resend them if you want), I'd just prefer to avoid
re-reviewing something already reviewed.
Thanks!
Willy
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-10-27 8:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-26 18:05 [PATCH nolibc 0/19] Updates to nolibc for v6.7 (and three for v6.6) Zhangjin Wu
2023-10-27 2:16 ` Paul E. McKenney
-- strict thread matches above, loose matches on Subject: below --
2023-10-26 18:09 Zhangjin Wu
2023-10-27 8:21 ` Willy Tarreau
2023-10-12 19:32 Paul E. McKenney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox