Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7447865rwl; Tue, 10 Jan 2023 00:33:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXsuQpss3JsODIRbyDiKrLaLMnrmzCtZD8p24Ildy8lw9AcMJah4y1sFgivvDDG+q+SgMKLo X-Received: by 2002:a05:6402:e81:b0:48c:afae:9331 with SMTP id h1-20020a0564020e8100b0048cafae9331mr31139359eda.10.1673339608199; Tue, 10 Jan 2023 00:33:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673339608; cv=none; d=google.com; s=arc-20160816; b=hQhE2MjSwkQYpcZzIRKluxemp59DtX2pD5bb4KQTvq/k1yQP4uFF6btMK5W7m5YdTT 9jwjoR8xhrnTN8nMImxx9O1GM/RHoTznUeMUFRKSZyPYOIciN4Grx7pweH1BAn/elABu XrjE/5yIcJq1cF1cDDUpaty4+n0x4FXVlKr5fC+/bqvk/4u9c2Jua8sje5VCMGbHKPi8 6NkYHLupVNnf85XiT8TmtT6+72O+uQBw5RIb7ggKn+CAPW/io0VbPWfjVa8qhzWJuEdT igqNnSRG7JEFIN3yG4cbqLAmXG2Ep7GHVU3tUXZzJEyMBvutQcskGSUQTLHMzkDWQGIC KYAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=bnJ8g/je0V/ZIUUtl88JIERNKYDRYfdl/B/J0CgC+OY=; b=Ae5ZDcd/ZYms0B3VjKAEUKZUjZ7sqq+mhxQ5T+BCw9yKM1TjuKJsRyXjpiR7lgOFp5 UDBCsoOsxqBO3CK3b7P3o1AckWHt+/VQbQc+7OG3ebi5urEX22dy0vXB/TFmoSk89DTP aBFOAiU0ahs62tZV7YhYAT6ya4jYNhlfb1AJ9JbL6UC6NnrEYwCOmNnB7wCWtYTmW2t1 0oYppqk/f6hZBo3J3yHeRH5oN1qBbxryim7vKHUxvkPN8Os75ebmBaWCueX5KdgNCPY+ H8EPS5DEYSQePoTkg869S32gPL/yzUm9mYPqumME0qOgSfqeXq9ucD/Bzmh9eAhh9xZE 5c9Q== 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 y17-20020a056402271100b0048a05656127si13217203edd.505.2023.01.10.00.33.15; Tue, 10 Jan 2023 00:33:28 -0800 (PST) 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 S230044AbjAJHbl (ORCPT + 53 others); Tue, 10 Jan 2023 02:31:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237958AbjAJHbT (ORCPT ); Tue, 10 Jan 2023 02:31:19 -0500 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 120CE17438 for ; Mon, 9 Jan 2023 23:28:36 -0800 (PST) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 30A7SS3v003972; Tue, 10 Jan 2023 08:28:28 +0100 Date: Tue, 10 Jan 2023 08:28:28 +0100 From: Willy Tarreau To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, Warner Losh , Sven Schnelle Subject: Re: [PATCH 0/6] pending bug fixes for nolibc Message-ID: <20230110072828.GA3229@1wt.eu> References: <20230109075442.25963-1-w@1wt.eu> <20230109191141.GT4028633@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230109191141.GT4028633@paulmck-ThinkPad-P17-Gen-1> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 Paul, On Mon, Jan 09, 2023 at 11:11:41AM -0800, Paul E. McKenney wrote: > On Mon, Jan 09, 2023 at 08:54:36AM +0100, Willy Tarreau wrote: > > Hello Paul, > > > > please consider the current patch series for merging into your fixes queue. > > The intent is to get them before 6.2, then backported where relevant. > > > > It addresses the following bugs: > > - fd_set was incorrectly defined as arrays of u32 instead of long, > > which breaks BE64. Fix courtesy of Sven Schnelle. > > > > - S_ISxxx macros were incorrectly testing the bits after applying them > > instead of applying S_ISFMT to the value. Fix from Warner Losh. > > > > - the mips code was randomly broken due to an unprotected "noreorder" > > directive in the _start code that would prevent the assembler from > > filling delayed slots, and randomly leaving other instructions there > > > > - since the split of the single include file into multiple files, we're > > implicitly refraining from including some which are not explicitly > > added in the code. It causes build failures when such files contain > > definitions for functions that may be used e.g. by libgcc, such as > > raise() or memset(), which are often called only by a few archs at > > certain optimization levels only. > > > > - gcc 11.3 in ARM thumb2 mode at -O2 was able to recognize a memset() > > construction inside the memset() definition, and it replaced it with > > a call to... memset(). We cannot impose to userland to build with > > -ffreestanding so the introduction of an empty asm() statement in > > the loop was enough to stop this. > > > > - most of the O_* macros were wrong on RISCV because their octal value > > was used as a hexadecimal one when the platform was introduced. This > > was revealed by the selftest breaking in getdents64(). > > > > The series was tested on x86_64, i386, armv5, armv7, thumb1, thumb2, > > mips and riscv, all at -O0, -Os and -O3. This is based on the "nolibc" > > branch of your linux-rcu tree. Do not hesitate to let me know if you > > prefer that I rebase it on a different one. > > "81 test(s) passed", so queued at urgent-nolibc.2023.01.09a, thank you! > > Also, thank you for the detailed cover letter, which I co-opted into the > signed tag. You're welcome! > But please check to make sure that my wordsmithing didn't > break anything. It all looks perfect to me. > If all goes well, I will send the pull request to Linus before the end > of this week. Great, thank you! Willy