Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2275223rwd; Fri, 19 May 2023 03:35:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ57JqfIukOakxVFq/gyXvFglD6mmFA8tbOBbu6fjFyblsyLhOuIKgNGR+EVxI9wHlU0Q9B0 X-Received: by 2002:a17:90b:3ecb:b0:24e:5344:9c9d with SMTP id rm11-20020a17090b3ecb00b0024e53449c9dmr1760989pjb.38.1684492514319; Fri, 19 May 2023 03:35:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684492514; cv=none; d=google.com; s=arc-20160816; b=w3TXtT7pmTQk1ALbYxa73bHb0ygwD/+z26qVAY5UBjdPpPPrz0quui8S4VbdDyXK6a 8NrCbRc3WE5cHaRJ+U1pdJHy9eiSuUWYbfX58bts3qFHfYDQELoE6Lj9DaqhIKkm7HVW jh5tT729U/Pgs5gEsRGKwn4NN+MtKHdi+O12NWBpUqQn93yXB+NLXD0CQXJ+ZXx+iQ1s eNqoOfTZNkvwB/B/yfhXRB99YnJIaXQyG/pvGm5BA59w8Gm6wX0wPXJZBHzPR1zVC2lM vYhgm6SWHpIzakJ/++ml0F/LskAxt27KToheTS0yKWAaF09QnprNt27XMsL++afszbMw G8Aw== 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=d/NOFCN2GNxV7ZLza1TlydGOtx+Dgc3ol98BMf5GLxc=; b=VXc8OQE35MuqzIxuql7KvvKOKeANm9sAmS1sbPRH2Ri3MNQ/2Hr9k31zOq8H6o4bR3 DKGjozeOaICcmfduILazuoXrtxFTmuQ2eXDyRnnWE6M8TUpWOjo6pvtLJcAeXEFylszh jejZ9EZ1mImB5umI/DZyJTybsdIZPRGEyV0dmeBdZpX3+Hc7W9D1NdMqmN97YiZSCDO0 ZlgT/JLmanEq48RBHwQp1dw2r8UlJqUI6TJxaHjtFoiC+5+L+vH2freaNnmNcesDL75A IeTXqb8ZjNNj0jyBO+24ZFJmtfBS8ScnpFE9TmO2W9RWyXG7Dj+tUb+AJ99t+ZsCleVN YevA== 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 r135-20020a632b8d000000b0051aeaf666dfsi3384361pgr.668.2023.05.19.03.34.53; Fri, 19 May 2023 03:35:14 -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 S230357AbjESKTf (ORCPT + 99 others); Fri, 19 May 2023 06:19:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231733AbjESKTa (ORCPT ); Fri, 19 May 2023 06:19:30 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 698ECE43 for ; Fri, 19 May 2023 03:19:28 -0700 (PDT) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 34JAJAlK005895; Fri, 19 May 2023 12:19:10 +0200 Date: Fri, 19 May 2023 12:19:10 +0200 From: Willy Tarreau To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Zhangjin Wu , Palmer Dabbelt , Paul Walmsley , Albert Ou , "Paul E . McKenney" , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] tools/nolibc: riscv: Fix up compile error for rv32 Message-ID: References: <20230519094030.GA24947@1wt.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 19, 2023 at 12:11:00PM +0200, Thomas Wei?schuh wrote: > Hi Willy, > > On 2023-05-19 11:40:30+0200, Willy Tarreau wrote: > > Hi Zhangjin, > > > > On Fri, May 19, 2023 at 01:00:18AM +0800, Zhangjin Wu wrote: > > > Hi, Willy > > > > > > nolibc for riscv is only tested for rv64 currently (see > > > tools/testing/selftests/nolibc/Makefile), this patchset tries to let it > > > compile for rv32, but still not pass the nolibc selftest: > > > > > > * The first patch uses lw/sw instead of ld/sd for rv32 and verse-vice for rv64 > > > * This patch may conflict with the stackprotector patch [1], because > > > both of them changed the _start assembly in arch-riscv.h > > > > That's quite embarrassing, I'm having to trace of that series here. Now > > I can find it in my LKML archives, but I don't have the direct message and > > didn't spot the other ones. I'll have to investigate, thanks for notifying > > me! I'm CCing Thomas, I will check with him how to best merge the two. > > I think the conflict should be trivial to fix. > > I can also resend my series or just the single riscv patch. OK then I'll pick Zhangjin's series and will apply yours on top of it. Do not bother resending the whole series, only the riscv patch will be sufficient, I have the rest of your series in my lkml mbox. Thanks! Willy