Message ID | 4208adae-d185-44a6-a564-ec9bc4c6eb2a@t-8ch.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5593667vqy; Fri, 8 Dec 2023 09:11:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IHlXaN5gVwhMqjrQ3D56TZDqFqNmwk9hheHTZcQnH70aztSQ+SEuBG8mPqaX9k8/8rkp9jc X-Received: by 2002:a05:6a21:3398:b0:18f:d2a9:da50 with SMTP id yy24-20020a056a21339800b0018fd2a9da50mr370570pzb.30.1702055461770; Fri, 08 Dec 2023 09:11:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702055461; cv=none; d=google.com; s=arc-20160816; b=zgO8m22ELGfG6UHIsvB87rSIx+Sa0Aj4f202DGI3TpU4F9BwLzWIZvdtKaKTFQ/N+G Z6voj2Mc0BgAzAERXh8VsN9GoR7fZhAPv4cNf2y+XIPrVcDyLNWN2VeyGlW2hPcQOfSM CyS4MKYBjroMrqpijY4d9lgAxxBIijfjaMUy2QgTtNA0WjQhOTUaXT179cNa5+KTiqMB wzbzF4yceqdj1A8qJEjjVRsvhh2yxjgSrTJqfh+e7UySUypXwWDZge31V95CSQBC6A11 5sxkSH/aSO28KmBeDS2Ejin+7SFGRX+t5NkTKkUFfgW/1/uBAXyeE+keeD+ifxYBlGZZ azdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=ajBHDvYZgj4HJWZA1oeAZFLJ6iKUenMFHfb3uUtZMJY=; fh=Q2GZgT1or1OFh+NCGa9/0ZXf38A3HoOamfNu5ViM4Bk=; b=mMXY0YwfY2e+TsbwkVmJfQAGBI9eXz0NslbVSADY2NqK6hzshrX1lbjMzc7nV+aZvm ungcp5feuG4zCTiNLha6+4TYbRRIrF/VWU3I4d5REmNH43XMAWNtCSS+oBD6JG1wYP+o TMsn3TFNO3sgAaQIPu0NNo8Y1ekJ2QwGIZRK5CALfqNzXzPSTf1yOxR8OX1NEiPPGj9J K7v/2DLonZbqO3g50JFiPCU5XYB/5788cM3BJbDlLBohnJY8uEw7k8W4bf/UNN2r0Mg4 VD9M1dwxu4AY+pehIzt5fthi/A2M5ShoUHUYVeYUGlwQocWTOF6wF4CPPVcFHeedd0PU oh9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=dkUFLNsq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id z25-20020a656659000000b005ab7b51ab5bsi1757909pgv.110.2023.12.08.09.11.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 09:11:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=dkUFLNsq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 881A1807C85B; Fri, 8 Dec 2023 09:10:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1574218AbjLHRKF (ORCPT <rfc822;ezelljr.billy@gmail.com> + 99 others); Fri, 8 Dec 2023 12:10:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233537AbjLHRKD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 8 Dec 2023 12:10:03 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAADF19A7 for <linux-kernel@vger.kernel.org>; Fri, 8 Dec 2023 09:10:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1702055399; bh=xBWo+VpmEkoOfW1CY3VNVI0J6iDIDAJWCe6gVJx783I=; h=Date:From:To:Cc:Subject:From; b=dkUFLNsqpZOvIGHfCS+RhPNem0hPP3BVvOEOgezW8gaYNuiZH3b+5sDB/wVq14isO lo6lDgKTVCIFcVJLwIo7JJVSehpOQquw6sny6e1l8ma1cFKA2Mddsqx8ytlzUxZT1x H2oBE0ONqcwQ62sT9uoM2L4rr/7YaI8E172GXLuM= Date: Fri, 8 Dec 2023 18:09:59 +0100 From: Thomas =?utf-8?q?Wei=C3=9Fschuh?= <linux@weissschuh.net> To: "Paul E. McKenney" <paulmck@kernel.org> Cc: linux-kernel@vger.kernel.org, WillyTarreauw@lwt.eu, Shuah Khan <skhan@linuxfoundation.org> Subject: nolibc changes for 6.8 Message-ID: <4208adae-d185-44a6-a564-ec9bc4c6eb2a@t-8ch.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 08 Dec 2023 09:10:15 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784734507569075811 X-GMAIL-MSGID: 1784734507569075811 |
Series |
nolibc changes for 6.8
|
|
Pull-request
https://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git/ nextMessage
Thomas Weißschuh
Dec. 8, 2023, 5:09 p.m. UTC
Hi Paul, The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86: Linux 6.7-rc1 (2023-11-12 16:19:07 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git/ next for you to fetch changes up to b99c3b15310e7c7cd5f2d843289fe115ab3f8043: selftests/nolibc: disable coredump via setrlimit (2023-11-26 11:39:52 +0100) ---------------------------------------------------------------- Summary: * Support for PIC mode on MIPS. * Support for getrlimit()/setrlimit(). * Replace some custom declarations with UAPI includes. * A new script "run-tests.sh" to run the testsuite over different architectures and configurations. * A few non-functional code cleanups. * Minor improvements to nolibc-test, primarily to support the test script. There are no urgent fixes available at this time. ---------------------------------------------------------------- Mark Brown (1): tools/nolibc: Use linux/wait.h rather than duplicating it Thomas Weißschuh (21): selftests/nolibc: don't hang on config input selftests/nolibc: use EFI -bios for LoongArch qemu selftests/nolibc: anchor paths in $(srcdir) if possible selftests/nolibc: support out-of-tree builds selftests/nolibc: add script to run testsuite tools/nolibc: error out on unsupported architecture tools/nolibc: move MIPS ABI validation into arch-mips.h selftests/nolibc: use XARCH for MIPS selftests/nolibc: explicitly specify ABI for MIPS selftests/nolibc: extraconfig support selftests/nolibc: add configuration for mipso32be selftests/nolibc: fix testcase status alignment selftests/nolibc: introduce QEMU_ARCH_USER selftests/nolibc: run-tests.sh: enable testing via qemu-user tools/nolibc: mips: add support for PIC selftests/nolibc: make result alignment more robust tools/nolibc: annotate va_list printf formats tools/nolibc: drop duplicated testcase ioctl_tiocinq tools/nolibc: drop custom definition of struct rusage tools/nolibc: add support for getrlimit/setrlimit selftests/nolibc: disable coredump via setrlimit tools/include/nolibc/arch-mips.h | 11 +- tools/include/nolibc/arch.h | 4 +- tools/include/nolibc/stdio.h | 4 +- tools/include/nolibc/sys.h | 38 ++++++ tools/include/nolibc/types.h | 25 +--- tools/testing/selftests/nolibc/.gitignore | 1 + tools/testing/selftests/nolibc/Makefile | 65 ++++++++--- tools/testing/selftests/nolibc/nolibc-test.c | 51 ++++++-- tools/testing/selftests/nolibc/run-tests.sh | 169 +++++++++++++++++++++++++++ 9 files changed, 318 insertions(+), 50 deletions(-) create mode 100755 tools/testing/selftests/nolibc/run-tests.sh Thanks, Thomas
Comments
On Fri, Dec 08, 2023 at 06:09:59PM +0100, Thomas Weißschuh wrote: > Hi Paul, > > The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86: > > Linux 6.7-rc1 (2023-11-12 16:19:07 -0800) > > are available in the Git repository at: > > https://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git/ next > > for you to fetch changes up to b99c3b15310e7c7cd5f2d843289fe115ab3f8043: > > selftests/nolibc: disable coredump via setrlimit (2023-11-26 11:39:52 +0100) Thank you! I pulled this in and got the following: make run: 162 test(s): 162 passed, 0 skipped, 0 failed => status: success make run-user: 162 test(s): 160 passed, 2 skipped, 0 failed => status: warning This looks like complete success to me, but please let me know if this is not expected behavior on an x86-64 laptop. Thanx, Paul > ---------------------------------------------------------------- > Summary: > > * Support for PIC mode on MIPS. > * Support for getrlimit()/setrlimit(). > * Replace some custom declarations with UAPI includes. > * A new script "run-tests.sh" to run the testsuite over different architectures > and configurations. > * A few non-functional code cleanups. > * Minor improvements to nolibc-test, primarily to support the test script. > > There are no urgent fixes available at this time. > > ---------------------------------------------------------------- > Mark Brown (1): > tools/nolibc: Use linux/wait.h rather than duplicating it > > Thomas Weißschuh (21): > selftests/nolibc: don't hang on config input > selftests/nolibc: use EFI -bios for LoongArch qemu > selftests/nolibc: anchor paths in $(srcdir) if possible > selftests/nolibc: support out-of-tree builds > selftests/nolibc: add script to run testsuite > tools/nolibc: error out on unsupported architecture > tools/nolibc: move MIPS ABI validation into arch-mips.h > selftests/nolibc: use XARCH for MIPS > selftests/nolibc: explicitly specify ABI for MIPS > selftests/nolibc: extraconfig support > selftests/nolibc: add configuration for mipso32be > selftests/nolibc: fix testcase status alignment > selftests/nolibc: introduce QEMU_ARCH_USER > selftests/nolibc: run-tests.sh: enable testing via qemu-user > tools/nolibc: mips: add support for PIC > selftests/nolibc: make result alignment more robust > tools/nolibc: annotate va_list printf formats > tools/nolibc: drop duplicated testcase ioctl_tiocinq > tools/nolibc: drop custom definition of struct rusage > tools/nolibc: add support for getrlimit/setrlimit > selftests/nolibc: disable coredump via setrlimit > > tools/include/nolibc/arch-mips.h | 11 +- > tools/include/nolibc/arch.h | 4 +- > tools/include/nolibc/stdio.h | 4 +- > tools/include/nolibc/sys.h | 38 ++++++ > tools/include/nolibc/types.h | 25 +--- > tools/testing/selftests/nolibc/.gitignore | 1 + > tools/testing/selftests/nolibc/Makefile | 65 ++++++++--- > tools/testing/selftests/nolibc/nolibc-test.c | 51 ++++++-- > tools/testing/selftests/nolibc/run-tests.sh | 169 +++++++++++++++++++++++++++ > 9 files changed, 318 insertions(+), 50 deletions(-) > create mode 100755 tools/testing/selftests/nolibc/run-tests.sh > > > Thanks, > Thomas
On 2023-12-08 16:02:27-0800, Paul E. McKenney wrote: > On Fri, Dec 08, 2023 at 06:09:59PM +0100, Thomas Weißschuh wrote: > > Hi Paul, > > > > The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86: > > > > Linux 6.7-rc1 (2023-11-12 16:19:07 -0800) > > > > are available in the Git repository at: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git/ next > > > > for you to fetch changes up to b99c3b15310e7c7cd5f2d843289fe115ab3f8043: > > > > selftests/nolibc: disable coredump via setrlimit (2023-11-26 11:39:52 +0100) > > Thank you! > > I pulled this in and got the following: > > make run: > 162 test(s): 162 passed, 0 skipped, 0 failed => status: success > > make run-user: > 162 test(s): 160 passed, 2 skipped, 0 failed => status: warning > > This looks like complete success to me, but please let me know if this > is not expected behavior on an x86-64 laptop. This looks good. FYI you could also use the new run-tests.sh script. Prerequisites: * qemu-user and qemu-system binaries for all supported architectures * /usr/share/edk2/loongarch64/OVMF_CODE.fd for the loongarch system tests * Pass "-p" the first time to download the toolchains. $ ./run-tests.sh -m system i386: 162 test(s): 162 passed, 0 skipped, 0 failed => status: success x86_64: 162 test(s): 162 passed, 0 skipped, 0 failed => status: success arm64: 162 test(s): 162 passed, 0 skipped, 0 failed => status: success arm: 162 test(s): 162 passed, 0 skipped, 0 failed => status: success mips32le: 162 test(s): 161 passed, 1 skipped, 0 failed => status: warning mips32be: 162 test(s): 161 passed, 1 skipped, 0 failed => status: warning ppc: 162 test(s): 162 passed, 0 skipped, 0 failed => status: success ppc64: 162 test(s): 162 passed, 0 skipped, 0 failed => status: success ppc64le: 162 test(s): 162 passed, 0 skipped, 0 failed => status: success riscv: 162 test(s): 162 passed, 0 skipped, 0 failed => status: success s390: 162 test(s): 161 passed, 1 skipped, 0 failed => status: warning loongarch: 162 test(s): 161 passed, 1 skipped, 0 failed => status: warning $ ./run-tests.sh -m user i386: 162 test(s): 160 passed, 2 skipped, 0 failed => status: warning x86_64: 162 test(s): 160 passed, 2 skipped, 0 failed => status: warning arm64: 162 test(s): 160 passed, 2 skipped, 0 failed => status: warning arm: 162 test(s): 160 passed, 2 skipped, 0 failed => status: warning mips32le: 162 test(s): 159 passed, 3 skipped, 0 failed => status: warning mips32be: 162 test(s): 159 passed, 3 skipped, 0 failed => status: warning ppc: 162 test(s): 160 passed, 2 skipped, 0 failed => status: warning ppc64: 162 test(s): 160 passed, 2 skipped, 0 failed => status: warning ppc64le: 162 test(s): 160 passed, 2 skipped, 0 failed => status: warning riscv: 162 test(s): 160 passed, 2 skipped, 0 failed => status: warning s390: 162 test(s): 159 passed, 3 skipped, 0 failed => status: warning loongarch: 162 test(s): 158 passed, 3 skipped, 1 failed => status: failure [ Note: loongarch user is currently broken due to a QEMU bug ] Thomas
On 12/8/23 17:02, Paul E. McKenney wrote: > On Fri, Dec 08, 2023 at 06:09:59PM +0100, Thomas Weißschuh wrote: >> Hi Paul, >> >> The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86: >> >> Linux 6.7-rc1 (2023-11-12 16:19:07 -0800) >> >> are available in the Git repository at: >> >> https://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git/ next >> >> for you to fetch changes up to b99c3b15310e7c7cd5f2d843289fe115ab3f8043: >> >> selftests/nolibc: disable coredump via setrlimit (2023-11-26 11:39:52 +0100) > > Thank you! > > I pulled this in and got the following: > > make run: > 162 test(s): 162 passed, 0 skipped, 0 failed => status: success > > make run-user: > 162 test(s): 160 passed, 2 skipped, 0 failed => status: warning > > This looks like complete success to me, but please let me know if this > is not expected behavior on an x86-64 laptop. > Paul, This is my turn to send the pull request. Would you like me to take care of it? thanks, -- Shuah
On Mon, Dec 11, 2023 at 08:26:00AM -0700, Shuah Khan wrote: > On 12/8/23 17:02, Paul E. McKenney wrote: > > On Fri, Dec 08, 2023 at 06:09:59PM +0100, Thomas Weißschuh wrote: > > > Hi Paul, > > > > > > The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86: > > > > > > Linux 6.7-rc1 (2023-11-12 16:19:07 -0800) > > > > > > are available in the Git repository at: > > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git/ next > > > > > > for you to fetch changes up to b99c3b15310e7c7cd5f2d843289fe115ab3f8043: > > > > > > selftests/nolibc: disable coredump via setrlimit (2023-11-26 11:39:52 +0100) > > > > Thank you! > > > > I pulled this in and got the following: > > > > make run: > > 162 test(s): 162 passed, 0 skipped, 0 failed => status: success > > > > make run-user: > > 162 test(s): 160 passed, 2 skipped, 0 failed => status: warning > > > > This looks like complete success to me, but please let me know if this > > is not expected behavior on an x86-64 laptop. > > > > Paul, > > This is my turn to send the pull request. Would you like > me to take care of it? It is indeed, apologies!!! Please do take this round. Thanx, Paul
On 12/8/23 10:09, Thomas Weißschuh wrote: > Hi Paul, > > The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86: > > Linux 6.7-rc1 (2023-11-12 16:19:07 -0800) > > are available in the Git repository at: > > https://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git/ next > > for you to fetch changes up to b99c3b15310e7c7cd5f2d843289fe115ab3f8043: > > selftests/nolibc: disable coredump via setrlimit (2023-11-26 11:39:52 +0100) > > ---------------------------------------------------------------- > Summary: > > * Support for PIC mode on MIPS. > * Support for getrlimit()/setrlimit(). > * Replace some custom declarations with UAPI includes. > * A new script "run-tests.sh" to run the testsuite over different architectures > and configurations. > * A few non-functional code cleanups. > * Minor improvements to nolibc-test, primarily to support the test script. > > There are no urgent fixes available at this time. > > ---------------------------------------------------------------- > Mark Brown (1): > tools/nolibc: Use linux/wait.h rather than duplicating it I am seeing the following problem when I run my verify_signedoff.sh verify_signedoff.sh HEAD~22...HEAD /linux/linux_kselftest/ Commit a0fa60e42bbe ("tools/nolibc: Use linux/wait.h rather than duplicating it") committer Signed-off-by missing author email: broonie@kernel.org committer email: linux@weissschuh.net Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Willy Tarreau <w@1wt.eu> Errors in with Signed-off-by, please fix! Is it possible to fix this? It appears commiter signed-off is missing. thanks, -- Shuah
Hi Shuah, On 2023-12-11 12:52:10-0700, Shuah Khan wrote: > On 12/8/23 10:09, Thomas Weißschuh wrote: > > The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86: > > > > Linux 6.7-rc1 (2023-11-12 16:19:07 -0800) > > > > are available in the Git repository at: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git/ next > > > > for you to fetch changes up to b99c3b15310e7c7cd5f2d843289fe115ab3f8043: > > > > selftests/nolibc: disable coredump via setrlimit (2023-11-26 11:39:52 +0100) > [..] > > ---------------------------------------------------------------- > > Mark Brown (1): > > tools/nolibc: Use linux/wait.h rather than duplicating it > > > I am seeing the following problem when I run my verify_signedoff.sh > > verify_signedoff.sh HEAD~22...HEAD /linux/linux_kselftest/ > Commit a0fa60e42bbe ("tools/nolibc: Use linux/wait.h rather than duplicating it") > committer Signed-off-by missing > author email: broonie@kernel.org > committer email: linux@weissschuh.net > Signed-off-by: Mark Brown <broonie@kernel.org> > Signed-off-by: Willy Tarreau <w@1wt.eu> > > Errors in with Signed-off-by, please fix! > > Is it possible to fix this? It appears commiter signed-off is missing. Thanks for spotting this! The fixed commits are published on the same "next" branch as before with final commit d543d9ddf593b1f4cb1d57d9ac0ad279fe18adaf. Thomas
Hi Thomas, On 12/11/23 14:40, Thomas Weißschuh wrote: > Hi Shuah, > > > Thanks for spotting this! > > The fixed commits are published on the same "next" branch as before with > final commit d543d9ddf593b1f4cb1d57d9ac0ad279fe18adaf. > Thank you. Pulled and pushed to linux-kselftest nolibc branch. thanks, -- Shuah
On 12/11/23 16:49, Shuah Khan wrote: > Hi Thomas, > > On 12/11/23 14:40, Thomas Weißschuh wrote: >> Hi Shuah, >> > >> >> Thanks for spotting this! >> >> The fixed commits are published on the same "next" branch as before with >> final commit d543d9ddf593b1f4cb1d57d9ac0ad279fe18adaf. >> > > Thank you. > > Pulled and pushed to linux-kselftest nolibc branch. > Forgot to mention that I ran "make run" and "make run-user" and saw the same results Paul saw. All good. thanks, -- Shuah