Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp1755045rdb; Thu, 17 Aug 2023 00:38:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGm0zdNWc+tlw0H/DcutH4d/K5HesyeAus2qez4lA1ycvqV64UAnptM/CKDVwLfbNqj7Sb6 X-Received: by 2002:a05:6808:18a3:b0:3a7:208c:4406 with SMTP id bi35-20020a05680818a300b003a7208c4406mr5882493oib.1.1692257922590; Thu, 17 Aug 2023 00:38:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692257922; cv=none; d=google.com; s=arc-20160816; b=cbZo1c1pM9OBVEQVqUqMo9OkIkCLMeLKrNqzScHtTxxuflgJLmYLF4xCKjGQ/fHRDh GYLLsgTHAF0DCrrSksMJyl/IgCN9aSheTC6949j73HtTsptgCoEHzSCpsiAocdX84LhH Ks1zEC4kh23oCd4WTyE8PUhBeKvRRWmsBh4Zgsh9rDvQ3s2KIYk578TN5/E1jTMU5lFk R+s/YLHIr3w/vo+/odehwCq4MkkgI+4HLvFjPm/x4Q/WiTwLxWAlbGIGlrejghv2Oz4l fVgThpO9qZuloSAgAs6DQGZvqeE2duYR13/QHcZFfjJSl3zvOeh4Sbf588O4W02Vh5Xg puhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ifjz6XnkFNNraDndN7MDw6xWkz3GiYP1YemVDQXZ57k=; fh=uajpX1jj2Iu4HLbH68pxexF6gJWsKrG9dPsTGU9Ta3A=; b=Mr+PSnq0o6MN4FamQW2SShO0ZUrAGXcetwnOYAbx5JZpqe0XzEm7LbvV0aw1fDp/LH FNIlNr+CkHUv9Maqc/h077ld5WP0aV4HM/5ChUnvIub7FZnmT/Jmcwn3GD5IuzODBQ7C /cGPIHfqZAMfQ1WidkrzNKDoWjSMRxQwgYZE0//uVrYT7JtDSOxhACD89f9ZPnSp00y8 xNWj5WBRxOH59d7m0l7MeTe5M5dOiML88lLx4ji3gGO5AAQTM4Ynq2Z0Uw1tZ4l27kdN azm5U2+Z8n7wvV2bIGn7LlQa3pQ2TTj2wCj9OFs8WwWfLyRyjr6MH8iNYEIW9MkBNnP7 z/IA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m4-20020a633f04000000b005658c233578si2584152pga.646.2023.08.17.00.38.30; Thu, 17 Aug 2023 00:38:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243052AbjHPIiE (ORCPT + 99 others); Wed, 16 Aug 2023 04:38:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243063AbjHPIhG (ORCPT ); Wed, 16 Aug 2023 04:37:06 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BB01935B6; Wed, 16 Aug 2023 01:36:03 -0700 (PDT) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 37G8ZWHQ016519; Wed, 16 Aug 2023 10:35:32 +0200 Date: Wed, 16 Aug 2023 10:35:32 +0200 From: Willy Tarreau To: Shuah Khan Cc: "Paul E. McKenney" , Thomas =?iso-8859-1?Q?Wei=DFschuh?= , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, shuah Subject: Re: [GIT PULL] nolibc changes for 6.6-rc1 Message-ID: References: <20230806172245.GA26239@1wt.eu> <3efa3710-4e8b-d187-a24d-ff85858e37fe@linuxfoundation.org> <20230815143540.GA15075@1wt.eu> <29590d7b-40fd-0426-75c6-36667e344f6c@linuxfoundation.org> <9950607c-cafe-c011-7d5f-76a8a971beb0@linuxfoundation.org> <85a03aa3-3d6e-3b16-d113-7d7f5a84bfb4@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <85a03aa3-3d6e-3b16-d113-7d7f5a84bfb4@linuxfoundation.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Shuah, On Tue, Aug 15, 2023 at 03:06:39PM -0600, Shuah Khan wrote: > > I've pushed a tag named 20230815-for-6.6-2 in the repo below: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/wtarreau/nolibc.git > > > > Please let me know if you want me to resend a PR. > > > > Pull worked fine and my verify_fixes script failed on the following patches. > > Commit: 6c931bf0c732 ("selftests/nolibc: avoid buffer underrun in space printing") > Fixes tag: Fixes: 8a27526f49f9 ("selftests/nolibc: add EXPECT_PTREQ, EXPECT_PTRNE and EXPECT_PTRER") > Has these problem(s): > - Target SHA1 does not exist Sadly this one was within the same branch and got rebased, now fixed. Another one had the same issue after the fix, I've dropped the fixes tag. > Commit: 40f12898b479 ("tools/nolibc/stdio: add setvbuf() to set buffering mode") > Fixes tag: Fixes: ecb7fe2cd610 ("selftests: line buffer test program's stdout") > Has these problem(s): > - Target SHA1 does not exist This one mentioned a commit that's only in linux-next, I simply dropped the fixes tag. > Will you be able to add the right commit IDs and resend the pull, so there > are no mistakes if I guess it wrong. Please use the new following one instead. Thanks! Willy The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5: Linux 6.5-rc1 (2023-07-09 13:53:13 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/wtarreau/nolibc.git/ tags/20230816-for-6.6-3 for you to fetch changes up to 938315d721db3b08c958e92b8237fb4986c66b7e: tools/nolibc: avoid undesired casts in the __sysret() macro (2023-08-16 10:31:17 +0200) ---------------------------------------------------------------- Ryan Roberts (1): tools/nolibc/stdio: add setvbuf() to set buffering mode Thomas Wei?schuh (22): selftests/nolibc: drop test chmod_net selftests/nolibc: simplify call to ioperm tools/nolibc: completely remove optional environ support selftests/nolibc: make evaluation of test conditions selftests/nolibc: simplify status printing selftests/nolibc: avoid gaps in test numbers selftests/nolibc: avoid buffer underrun in space printing tools/nolibc: drop unused variables tools/nolibc: fix return type of getpagesize() tools/nolibc: setvbuf: avoid unused parameter warnings tools/nolibc: sys: avoid implicit sign cast tools/nolibc: stdint: use __SIZE_TYPE__ for size_t selftests/nolibc: drop unused variables selftests/nolibc: mark test helpers as potentially unused selftests/nolibc: make functions static if possible selftests/nolibc: avoid unused parameter warnings selftests/nolibc: avoid sign-compare warnings selftests/nolibc: use correct return type for read() and write() selftests/nolibc: prevent out of bounds access in expect_vfprintf selftests/nolibc: don't strip nolibc-test selftests/nolibc: enable compiler warnings MAINTAINERS: nolibc: add myself as co-maintainer Willy Tarreau (3): selftests/nolibc: avoid warnings during intptr tests tools/nolibc: keep brk(), sbrk(), mmap() away from __sysret() tools/nolibc: avoid undesired casts in the __sysret() macro Yuan Tan (2): tools/nolibc: add pipe() and pipe2() support selftests/nolibc: add testcase for pipe Zhangjin Wu (76): selftests/nolibc: add a standalone test report macro selftests/nolibc: always print the path to test log file selftests/nolibc: restore the failed tests print tools/nolibc: fix up #error compile failures with -ENOSYS tools/nolibc: fix up undeclared syscall macros with #ifdef and -ENOSYS tools/nolibc: sys.h: add a syscall return helper tools/nolibc: unistd.h: apply __sysret() helper tools/nolibc: sys.h: apply __sysret() helper tools/nolibc: unistd.h: reorder the syscall macros tools/nolibc: arch-*.h: fix up code indent errors toolc/nolibc: arch-*.h: clean up whitespaces after __asm__ tools/nolibc: arch-loongarch.h: shrink with _NOLIBC_SYSCALL_CLOBBERLIST tools/nolibc: arch-mips.h: shrink with _NOLIBC_SYSCALL_CLOBBERLIST tools/nolibc: add missing my_syscall6() for mips tools/nolibc: __sysret: support syscalls who return a pointer tools/nolibc: clean up mmap() routine tools/nolibc: clean up sbrk() routine selftests/nolibc: export argv0 for some tests selftests/nolibc: prepare: create /dev/zero selftests/nolibc: add EXPECT_PTREQ, EXPECT_PTRNE and EXPECT_PTRER selftests/nolibc: add sbrk_0 to test current brk getting selftests/nolibc: add mmap_bad test case selftests/nolibc: add munmap_bad test case selftests/nolibc: add mmap_munmap_good test case selftests/nolibc: add run-libc-test target selftests/nolibc: stat_fault: silence NULL argument warning with glibc selftests/nolibc: gettid: restore for glibc and musl selftests/nolibc: add _LARGEFILE64_SOURCE for musl selftests/nolibc: fix up int_fast16/32_t test cases for musl tools/nolibc: types.h: add RB_ flags for reboot() selftests/nolibc: prefer to selftests/nolibc: fix up kernel parameters support selftests/nolibc: link_cross: use /proc/self/cmdline tools/nolibc: add rmdir() support selftests/nolibc: add a new rmdir() test case selftests/nolibc: fix up failures when CONFIG_PROC_FS=n selftests/nolibc: prepare /tmp for tests that need to write selftests/nolibc: vfprintf: remove MEMFD_CREATE dependency selftests/nolibc: chdir_root: restore current path after test selftests/nolibc: stat_timestamps: remove procfs dependency selftests/nolibc: chroot_exe: remove procfs dependency selftests/nolibc: add chmod_argv0 test selftests/nolibc: report: print a summarized test status selftests/nolibc: report: print total tests selftests/nolibc: report: align passed, skipped and failed selftests/nolibc: report: extrude the test status line selftests/nolibc: report: add newline before test failures tools/nolibc: arch-*.h: add missing space after ',' tools/nolibc: fix up startup failures for -O0 under gcc < 11.1.0 tools/nolibc: remove the old sys_stat support tools/nolibc: add new crt.h with _start_c tools/nolibc: stackprotector.h: add empty __stack_chk_init for !_NOLIBC_STACKPROTECTOR tools/nolibc: crt.h: initialize stack protector 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 selftests/nolibc: add EXPECT_PTRGE, EXPECT_PTRGT, EXPECT_PTRLE, EXPECT_PTRLT selftests/nolibc: add testcases for startup code selftests/nolibc: allow run nolibc-test locally selftests/nolibc: allow test -include /path/to/nolibc.h selftests/nolibc: mmap_munmap_good: fix up return value tools/nolibc: add support for powerpc tools/nolibc: add support for powerpc64 selftests/nolibc: add XARCH and ARCH mapping support selftests/nolibc: add test support for ppc selftests/nolibc: add test support for ppc64le selftests/nolibc: add test support for ppc64 selftests/nolibc: allow report with existing test log tools/nolibc: stackprotector.h: make __stack_chk_init static selftests/nolibc: libc-test: use HOSTCC instead of CC tools/nolibc: silence ppc64 compile warnings MAINTAINERS | 1 + tools/include/nolibc/Makefile | 1 + tools/include/nolibc/arch-aarch64.h | 85 +--- tools/include/nolibc/arch-arm.h | 111 +---- tools/include/nolibc/arch-i386.h | 86 +--- tools/include/nolibc/arch-loongarch.h | 83 +--- tools/include/nolibc/arch-mips.h | 147 +++---- tools/include/nolibc/arch-powerpc.h | 221 ++++++++++ tools/include/nolibc/arch-riscv.h | 83 +--- tools/include/nolibc/arch-s390.h | 77 +--- tools/include/nolibc/arch-x86_64.h | 86 +--- tools/include/nolibc/arch.h | 2 + tools/include/nolibc/crt.h | 61 +++ tools/include/nolibc/nolibc.h | 9 +- tools/include/nolibc/stackprotector.h | 5 +- tools/include/nolibc/stdint.h | 2 +- tools/include/nolibc/stdio.h | 27 ++ tools/include/nolibc/stdlib.h | 12 +- tools/include/nolibc/sys.h | 534 +++++++---------------- tools/include/nolibc/types.h | 22 +- tools/include/nolibc/unistd.h | 13 +- tools/testing/selftests/nolibc/Makefile | 111 +++-- tools/testing/selftests/nolibc/nolibc-test.c | 609 ++++++++++++++++++++------- 23 files changed, 1221 insertions(+), 1167 deletions(-) create mode 100644 tools/include/nolibc/arch-powerpc.h create mode 100644 tools/include/nolibc/crt.h