mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] nolibc changes for v6.15
@ 2025-03-08 13:06 Thomas Weißschuh
  2025-03-10 17:09 ` Paul E. McKenney
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Weißschuh @ 2025-03-08 13:06 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: Willy Tarreau, Shuah Khan, linux-kernel

Hi Paul,

The following changes since commit 2014c95afecee3e76ca4a56956a936e23283f05b:

  Linux 6.14-rc1 (2025-02-02 15:39:26 -0800)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git tags/nolibc-20250308-for-6.15-1

for you to fetch changes up to bceb73904c855c78402dca94c82915f078f259dd:

  tools/nolibc: don't use asm/ UAPI headers (2025-03-08 13:18:27 +0100)

----------------------------------------------------------------
nolibc changes for 6.15

Changes
-------

* 32bit s390 support
* opendir()/readdir_r()/closedir() support
* openat() support
* sscanf() support
* various cleanups

----------------------------------------------------------------
Louis Taylor (5):
      tools/nolibc: add support for openat(2)
      tools/nolibc: always use openat(2) instead of open(2)
      tools/nolibc: process open() vararg as mode_t
      tools/nolibc: drop outdated example from overview comment
      selftests/nolibc: use O_RDONLY flag instead of 0

Thomas Weißschuh (21):
      tools/nolibc: add prototypes for non-static functions
      selftests/nolibc: ignore -Wmissing-prototypes
      selftests/nolibc: enable -Wmissing-prototypes
      tools/nolibc: make signature of ioctl() more flexible
      selftests/nolibc: drop mips32be EXTRACONFIG
      selftests/nolibc: drop call to prepare target
      selftests/nolibc: drop call to mrproper target
      selftests/nolibc: execute defconfig before other targets
      selftests/nolibc: always keep test kernel configuration up to date
      tools/nolibc: add support for sys_llseek()
      tools/nolibc: add support for directory access
      selftests/nolibc: split up architecture list in run-tests.sh
      selftests/nolibc: only run constructor tests on nolibc
      selftests/nolibc: rename s390 to s390x
      tools/nolibc: add support for 32-bit s390
      tools/nolibc: add support for [v]sscanf()
      Revert "selftests: kselftest: Fix build failure with NOLIBC"
      selftests/nolibc: explicitly enable ARM mode
      selftests/nolibc: add armthumb configuration
      selftests/nolibc: stop testing constructor order
      tools/nolibc: don't use asm/ UAPI headers

 tools/include/nolibc/Makefile                      |   1 +
 tools/include/nolibc/arch-mips.h                   |   1 +
 tools/include/nolibc/arch-s390.h                   |   9 +-
 tools/include/nolibc/arch.h                        |   2 +-
 tools/include/nolibc/crt.h                         |   2 +
 tools/include/nolibc/dirent.h                      |  98 +++++++++++++++
 tools/include/nolibc/errno.h                       |   2 +-
 tools/include/nolibc/nolibc.h                      |   4 +-
 tools/include/nolibc/signal.h                      |   1 +
 tools/include/nolibc/stackprotector.h              |   2 +
 tools/include/nolibc/stdio.h                       |  98 +++++++++++++++
 tools/include/nolibc/stdlib.h                      |   1 +
 tools/include/nolibc/string.h                      |   4 +
 tools/include/nolibc/sys.h                         |  83 +++++++++----
 tools/testing/selftests/kselftest.h                |   5 -
 tools/testing/selftests/nolibc/Makefile            |  30 +++--
 .../testing/selftests/nolibc/nolibc-test-linkage.c |   6 +-
 tools/testing/selftests/nolibc/nolibc-test.c       | 138 ++++++++++++++++++++-
 tools/testing/selftests/nolibc/run-tests.sh        |  26 +++-
 19 files changed, 457 insertions(+), 56 deletions(-)
 create mode 100644 tools/include/nolibc/dirent.h

Test results:

$ ./run-tests.sh           
i386:          198 test(s): 198 passed,   0 skipped,   0 failed => status: success
x86_64:        198 test(s): 198 passed,   0 skipped,   0 failed => status: success
arm64:         198 test(s): 198 passed,   0 skipped,   0 failed => status: success
arm:           198 test(s): 198 passed,   0 skipped,   0 failed => status: success
armthumb:      198 test(s): 198 passed,   0 skipped,   0 failed => status: success
mips32le:      198 test(s): 197 passed,   1 skipped,   0 failed => status: warning
mips32be:      198 test(s): 197 passed,   1 skipped,   0 failed => status: warning
ppc:           198 test(s): 198 passed,   0 skipped,   0 failed => status: success
ppc64:         198 test(s): 198 passed,   0 skipped,   0 failed => status: success
ppc64le:       198 test(s): 198 passed,   0 skipped,   0 failed => status: success
riscv32:       198 test(s): 183 passed,  15 skipped,   0 failed => status: warning
riscv64:       198 test(s): 198 passed,   0 skipped,   0 failed => status: success
s390x:         198 test(s): 197 passed,   1 skipped,   0 failed => status: warning
s390:          198 test(s): 197 passed,   1 skipped,   0 failed => status: warning
loongarch:     198 test(s): 197 passed,   1 skipped,   0 failed => status: warning

$ ./run-tests.sh -m user -l                
i386:          198 test(s): 196 passed,   2 skipped,   0 failed => status: warning
x86_64:        198 test(s): 196 passed,   2 skipped,   0 failed => status: warning
arm64:         198 test(s): 196 passed,   2 skipped,   0 failed => status: warning
arm:           198 test(s): 196 passed,   2 skipped,   0 failed => status: warning
armthumb:      198 test(s): 196 passed,   2 skipped,   0 failed => status: warning
mips32le:      198 test(s): 195 passed,   3 skipped,   0 failed => status: warning
mips32be:      198 test(s): 195 passed,   3 skipped,   0 failed => status: warning
ppc:           198 test(s): 195 passed,   3 skipped,   0 failed => status: warning
ppc64:         198 test(s): 195 passed,   3 skipped,   0 failed => status: warning
ppc64le:       198 test(s): 195 passed,   3 skipped,   0 failed => status: warning
riscv32:       198 test(s): 180 passed,  18 skipped,   0 failed => status: warning
riscv64:       198 test(s): 195 passed,   3 skipped,   0 failed => status: warning
s390x:         198 test(s): 195 passed,   3 skipped,   0 failed => status: warning
s390:          Unsupported configuration
loongarch:     198 test(s): 195 passed,   3 skipped,   0 failed => status: warning

Thanks,
Thomas

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

* Re: [GIT PULL] nolibc changes for v6.15
  2025-03-08 13:06 [GIT PULL] nolibc changes for v6.15 Thomas Weißschuh
@ 2025-03-10 17:09 ` Paul E. McKenney
  2025-03-10 18:22   ` Thomas Weißschuh
  0 siblings, 1 reply; 6+ messages in thread
From: Paul E. McKenney @ 2025-03-10 17:09 UTC (permalink / raw)
  To: Thomas Weißschuh; +Cc: Willy Tarreau, Shuah Khan, linux-kernel

On Sat, Mar 08, 2025 at 02:06:21PM +0100, Thomas Weißschuh wrote:
> Hi Paul,
> 
> The following changes since commit 2014c95afecee3e76ca4a56956a936e23283f05b:
> 
>   Linux 6.14-rc1 (2025-02-02 15:39:26 -0800)
> 
> are available in the Git repository at:
> 
>   https://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git tags/nolibc-20250308-for-6.15-1
> 
> for you to fetch changes up to bceb73904c855c78402dca94c82915f078f259dd:
> 
>   tools/nolibc: don't use asm/ UAPI headers (2025-03-08 13:18:27 +0100)

Thank you, I have pulled this in and will expose it to -next testing.

Results from "make run":

198 test(s): 198 passed,   0 skipped,   0 failed => status: success

Results from "make user":

198 test(s): 196 passed,   2 skipped,   0 failed => status: warning

I don't understand the "warning" given that the "run.out" file has all
"OK" aside from the two "SKIPPED" tests.  Or maybe I am just forgetting
how this works.  ;-)

							Thanx, Paul

> ----------------------------------------------------------------
> nolibc changes for 6.15
> 
> Changes
> -------
> 
> * 32bit s390 support
> * opendir()/readdir_r()/closedir() support
> * openat() support
> * sscanf() support
> * various cleanups
> 
> ----------------------------------------------------------------
> Louis Taylor (5):
>       tools/nolibc: add support for openat(2)
>       tools/nolibc: always use openat(2) instead of open(2)
>       tools/nolibc: process open() vararg as mode_t
>       tools/nolibc: drop outdated example from overview comment
>       selftests/nolibc: use O_RDONLY flag instead of 0
> 
> Thomas Weißschuh (21):
>       tools/nolibc: add prototypes for non-static functions
>       selftests/nolibc: ignore -Wmissing-prototypes
>       selftests/nolibc: enable -Wmissing-prototypes
>       tools/nolibc: make signature of ioctl() more flexible
>       selftests/nolibc: drop mips32be EXTRACONFIG
>       selftests/nolibc: drop call to prepare target
>       selftests/nolibc: drop call to mrproper target
>       selftests/nolibc: execute defconfig before other targets
>       selftests/nolibc: always keep test kernel configuration up to date
>       tools/nolibc: add support for sys_llseek()
>       tools/nolibc: add support for directory access
>       selftests/nolibc: split up architecture list in run-tests.sh
>       selftests/nolibc: only run constructor tests on nolibc
>       selftests/nolibc: rename s390 to s390x
>       tools/nolibc: add support for 32-bit s390
>       tools/nolibc: add support for [v]sscanf()
>       Revert "selftests: kselftest: Fix build failure with NOLIBC"
>       selftests/nolibc: explicitly enable ARM mode
>       selftests/nolibc: add armthumb configuration
>       selftests/nolibc: stop testing constructor order
>       tools/nolibc: don't use asm/ UAPI headers
> 
>  tools/include/nolibc/Makefile                      |   1 +
>  tools/include/nolibc/arch-mips.h                   |   1 +
>  tools/include/nolibc/arch-s390.h                   |   9 +-
>  tools/include/nolibc/arch.h                        |   2 +-
>  tools/include/nolibc/crt.h                         |   2 +
>  tools/include/nolibc/dirent.h                      |  98 +++++++++++++++
>  tools/include/nolibc/errno.h                       |   2 +-
>  tools/include/nolibc/nolibc.h                      |   4 +-
>  tools/include/nolibc/signal.h                      |   1 +
>  tools/include/nolibc/stackprotector.h              |   2 +
>  tools/include/nolibc/stdio.h                       |  98 +++++++++++++++
>  tools/include/nolibc/stdlib.h                      |   1 +
>  tools/include/nolibc/string.h                      |   4 +
>  tools/include/nolibc/sys.h                         |  83 +++++++++----
>  tools/testing/selftests/kselftest.h                |   5 -
>  tools/testing/selftests/nolibc/Makefile            |  30 +++--
>  .../testing/selftests/nolibc/nolibc-test-linkage.c |   6 +-
>  tools/testing/selftests/nolibc/nolibc-test.c       | 138 ++++++++++++++++++++-
>  tools/testing/selftests/nolibc/run-tests.sh        |  26 +++-
>  19 files changed, 457 insertions(+), 56 deletions(-)
>  create mode 100644 tools/include/nolibc/dirent.h
> 
> Test results:
> 
> $ ./run-tests.sh           
> i386:          198 test(s): 198 passed,   0 skipped,   0 failed => status: success
> x86_64:        198 test(s): 198 passed,   0 skipped,   0 failed => status: success
> arm64:         198 test(s): 198 passed,   0 skipped,   0 failed => status: success
> arm:           198 test(s): 198 passed,   0 skipped,   0 failed => status: success
> armthumb:      198 test(s): 198 passed,   0 skipped,   0 failed => status: success
> mips32le:      198 test(s): 197 passed,   1 skipped,   0 failed => status: warning
> mips32be:      198 test(s): 197 passed,   1 skipped,   0 failed => status: warning
> ppc:           198 test(s): 198 passed,   0 skipped,   0 failed => status: success
> ppc64:         198 test(s): 198 passed,   0 skipped,   0 failed => status: success
> ppc64le:       198 test(s): 198 passed,   0 skipped,   0 failed => status: success
> riscv32:       198 test(s): 183 passed,  15 skipped,   0 failed => status: warning
> riscv64:       198 test(s): 198 passed,   0 skipped,   0 failed => status: success
> s390x:         198 test(s): 197 passed,   1 skipped,   0 failed => status: warning
> s390:          198 test(s): 197 passed,   1 skipped,   0 failed => status: warning
> loongarch:     198 test(s): 197 passed,   1 skipped,   0 failed => status: warning
> 
> $ ./run-tests.sh -m user -l                
> i386:          198 test(s): 196 passed,   2 skipped,   0 failed => status: warning
> x86_64:        198 test(s): 196 passed,   2 skipped,   0 failed => status: warning
> arm64:         198 test(s): 196 passed,   2 skipped,   0 failed => status: warning
> arm:           198 test(s): 196 passed,   2 skipped,   0 failed => status: warning
> armthumb:      198 test(s): 196 passed,   2 skipped,   0 failed => status: warning
> mips32le:      198 test(s): 195 passed,   3 skipped,   0 failed => status: warning
> mips32be:      198 test(s): 195 passed,   3 skipped,   0 failed => status: warning
> ppc:           198 test(s): 195 passed,   3 skipped,   0 failed => status: warning
> ppc64:         198 test(s): 195 passed,   3 skipped,   0 failed => status: warning
> ppc64le:       198 test(s): 195 passed,   3 skipped,   0 failed => status: warning
> riscv32:       198 test(s): 180 passed,  18 skipped,   0 failed => status: warning
> riscv64:       198 test(s): 195 passed,   3 skipped,   0 failed => status: warning
> s390x:         198 test(s): 195 passed,   3 skipped,   0 failed => status: warning
> s390:          Unsupported configuration
> loongarch:     198 test(s): 195 passed,   3 skipped,   0 failed => status: warning
> 
> Thanks,
> Thomas

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

* Re: [GIT PULL] nolibc changes for v6.15
  2025-03-10 17:09 ` Paul E. McKenney
@ 2025-03-10 18:22   ` Thomas Weißschuh
  2025-03-10 18:55     ` Paul E. McKenney
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Weißschuh @ 2025-03-10 18:22 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: Willy Tarreau, Shuah Khan, linux-kernel

On 2025-03-10 10:09:49-0700, Paul E. McKenney wrote:
> On Sat, Mar 08, 2025 at 02:06:21PM +0100, Thomas Weißschuh wrote:
> > The following changes since commit 2014c95afecee3e76ca4a56956a936e23283f05b:
> > 
> >   Linux 6.14-rc1 (2025-02-02 15:39:26 -0800)
> > 
> > are available in the Git repository at:
> > 
> >   https://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git tags/nolibc-20250308-for-6.15-1
> > 
> > for you to fetch changes up to bceb73904c855c78402dca94c82915f078f259dd:
> > 
> >   tools/nolibc: don't use asm/ UAPI headers (2025-03-08 13:18:27 +0100)
> 
> Thank you, I have pulled this in and will expose it to -next testing.

Thanks!

> Results from "make run":
> 
> 198 test(s): 198 passed,   0 skipped,   0 failed => status: success
> 
> Results from "make user":
> 
> 198 test(s): 196 passed,   2 skipped,   0 failed => status: warning
> 
> I don't understand the "warning" given that the "run.out" file has all
> "OK" aside from the two "SKIPPED" tests.  Or maybe I am just forgetting
> how this works.  ;-)

A skipped test will mark the whole run as "warning".

Maybe we'll adopt the kselftest harness at some point and align with the
rest of the selftests.

<snip>


Thomas

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

* Re: [GIT PULL] nolibc changes for v6.15
  2025-03-10 18:22   ` Thomas Weißschuh
@ 2025-03-10 18:55     ` Paul E. McKenney
  0 siblings, 0 replies; 6+ messages in thread
From: Paul E. McKenney @ 2025-03-10 18:55 UTC (permalink / raw)
  To: Thomas Weißschuh; +Cc: Willy Tarreau, Shuah Khan, linux-kernel

On Mon, Mar 10, 2025 at 07:22:35PM +0100, Thomas Weißschuh wrote:
> On 2025-03-10 10:09:49-0700, Paul E. McKenney wrote:
> > On Sat, Mar 08, 2025 at 02:06:21PM +0100, Thomas Weißschuh wrote:
> > > The following changes since commit 2014c95afecee3e76ca4a56956a936e23283f05b:
> > > 
> > >   Linux 6.14-rc1 (2025-02-02 15:39:26 -0800)
> > > 
> > > are available in the Git repository at:
> > > 
> > >   https://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git tags/nolibc-20250308-for-6.15-1
> > > 
> > > for you to fetch changes up to bceb73904c855c78402dca94c82915f078f259dd:
> > > 
> > >   tools/nolibc: don't use asm/ UAPI headers (2025-03-08 13:18:27 +0100)
> > 
> > Thank you, I have pulled this in and will expose it to -next testing.
> 
> Thanks!
> 
> > Results from "make run":
> > 
> > 198 test(s): 198 passed,   0 skipped,   0 failed => status: success
> > 
> > Results from "make user":
> > 
> > 198 test(s): 196 passed,   2 skipped,   0 failed => status: warning
> > 
> > I don't understand the "warning" given that the "run.out" file has all
> > "OK" aside from the two "SKIPPED" tests.  Or maybe I am just forgetting
> > how this works.  ;-)
> 
> A skipped test will mark the whole run as "warning".

Ah, never mind, me being forgetful!

							Thanx, Paul

> Maybe we'll adopt the kselftest harness at some point and align with the
> rest of the selftests.
> 
> <snip>
> 
> 
> Thomas

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

* Re: [GIT PULL] nolibc changes for v6.15
  2025-03-21 23:19 Paul E. McKenney
@ 2025-03-25  1:58 ` pr-tracker-bot
  0 siblings, 0 replies; 6+ messages in thread
From: pr-tracker-bot @ 2025-03-25  1:58 UTC (permalink / raw)
  To: Paul E. McKenney
  Cc: torvalds, linux-kernel, kernel-team, w, linux, skhan, louis

The pull request you sent on Fri, 21 Mar 2025 16:19:06 -0700:

> git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu tags/nolibc-20250308-for-6.15-1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/418becac37efeae6e3e422abff09e79addaef66b

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

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

* [GIT PULL] nolibc changes for v6.15
@ 2025-03-21 23:19 Paul E. McKenney
  2025-03-25  1:58 ` pr-tracker-bot
  0 siblings, 1 reply; 6+ messages in thread
From: Paul E. McKenney @ 2025-03-21 23:19 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel, kernel-team, w, linux, skhan, louis

Hello, Linus,

Once the v6.15 merge window opens, please pull the latest nolibc
changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu tags/nolibc-20250308-for-6.15-1
  # HEAD: bceb73904c855c78402dca94c82915f078f259dd: tools/nolibc: don't use asm/ UAPI headers (2025-03-08 13:18:27 +0100)

----------------------------------------------------------------
nolibc changes for 6.15

Changes
-------

* 32bit s390 support
* opendir() and friends
* openat() support
* sscanf() support
* various cleanups

----------------------------------------------------------------
Louis Taylor (5):
      tools/nolibc: add support for openat(2)
      tools/nolibc: always use openat(2) instead of open(2)
      tools/nolibc: process open() vararg as mode_t
      tools/nolibc: drop outdated example from overview comment
      selftests/nolibc: use O_RDONLY flag instead of 0

Thomas Weißschuh (21):
      tools/nolibc: add prototypes for non-static functions
      selftests/nolibc: ignore -Wmissing-prototypes
      selftests/nolibc: enable -Wmissing-prototypes
      tools/nolibc: make signature of ioctl() more flexible
      selftests/nolibc: drop mips32be EXTRACONFIG
      selftests/nolibc: drop call to prepare target
      selftests/nolibc: drop call to mrproper target
      selftests/nolibc: execute defconfig before other targets
      selftests/nolibc: always keep test kernel configuration up to date
      tools/nolibc: add support for sys_llseek()
      tools/nolibc: add support for directory access
      selftests/nolibc: split up architecture list in run-tests.sh
      selftests/nolibc: only run constructor tests on nolibc
      selftests/nolibc: rename s390 to s390x
      tools/nolibc: add support for 32-bit s390
      tools/nolibc: add support for [v]sscanf()
      Revert "selftests: kselftest: Fix build failure with NOLIBC"
      selftests/nolibc: explicitly enable ARM mode
      selftests/nolibc: add armthumb configuration
      selftests/nolibc: stop testing constructor order
      tools/nolibc: don't use asm/ UAPI headers

 tools/include/nolibc/Makefile                      |   1 +
 tools/include/nolibc/arch-mips.h                   |   1 +
 tools/include/nolibc/arch-s390.h                   |   9 +-
 tools/include/nolibc/arch.h                        |   2 +-
 tools/include/nolibc/crt.h                         |   2 +
 tools/include/nolibc/dirent.h                      |  98 +++++++++++++++
 tools/include/nolibc/errno.h                       |   2 +-
 tools/include/nolibc/nolibc.h                      |   4 +-
 tools/include/nolibc/signal.h                      |   1 +
 tools/include/nolibc/stackprotector.h              |   2 +
 tools/include/nolibc/stdio.h                       |  98 +++++++++++++++
 tools/include/nolibc/stdlib.h                      |   1 +
 tools/include/nolibc/string.h                      |   4 +
 tools/include/nolibc/sys.h                         |  83 +++++++++----
 tools/testing/selftests/kselftest.h                |   5 -
 tools/testing/selftests/nolibc/Makefile            |  30 +++--
 .../testing/selftests/nolibc/nolibc-test-linkage.c |   6 +-
 tools/testing/selftests/nolibc/nolibc-test.c       | 138 ++++++++++++++++++++-
 tools/testing/selftests/nolibc/run-tests.sh        |  26 +++-
 19 files changed, 457 insertions(+), 56 deletions(-)
 create mode 100644 tools/include/nolibc/dirent.h

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

end of thread, other threads:[~2025-03-25  1:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-08 13:06 [GIT PULL] nolibc changes for v6.15 Thomas Weißschuh
2025-03-10 17:09 ` Paul E. McKenney
2025-03-10 18:22   ` Thomas Weißschuh
2025-03-10 18:55     ` Paul E. McKenney
2025-03-21 23:19 Paul E. McKenney
2025-03-25  1:58 ` pr-tracker-bot

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

all inboxes | Powered by JetHome®