Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2275029rwd; Fri, 19 May 2023 03:35:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7q7UXEPgofRWKOPO+0pjMv3tgBMIOHH0FwOwNIvL7me3T5gc6Fn5KtjCSXDOrn6aGgv2Yq X-Received: by 2002:a05:6a21:3386:b0:102:4597:de69 with SMTP id yy6-20020a056a21338600b001024597de69mr1830233pzb.30.1684492501423; Fri, 19 May 2023 03:35:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684492501; cv=none; d=google.com; s=arc-20160816; b=C7MQ0ob0KnukREExorDQbvvWUyAeldm6lNLuu84DKokMUaQ8GZ9i8oRrFEEtujM/zf a/wTAo657IfWG4RPevc5uGgA/JAxmFsl0xkghla7xs62W95LJOG/nkDYIqVOI6nGiuIC pViN3yReHMy7N7m7mBKyi4tpTIX/GsSAUYWMrJ53aHzuwxdHEiufgGQheggkaV+dEjFF ETHCP/wrOvzLIoTfYxit6PTIcIn683W+tlXJT9kjGo0Rsu8ckaqcnCLL3pQcK1BcFwUh ievLEYgudApC9a7RQpYcQMMk+rmeOTPvNsjL0uVx1vLiS/dt/YmIEi8c04FF37Co5j7y G3Mg== 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-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=XaOwGb8dDF48wMsz8xuemC+nYNfxp0WpwXS1iFiog9Y=; b=xswRuu+yF637N9+NqEH0yslkAPdmFlIV4lAM6XLX0S7RMnPblauEhJfAc2uYdfljDK Bu91iHAT+a1QEaro9dgwqN2FfaOZj8wXeLXafBSd7LfZByXHhMfcASgxAe450oUQL+CG EACTqvfXxIg399h3zla9JdPRX1jq5qR+xdfGMcY272oO71LJYoCmPgcutvIl5z3uJ5oF DVlVApp8wtntNewBLKN9LwP+fEKh+A9Lswze7vntU1ChRHryVhUmjfeQQwO7lF1ON0Ei G92Tl3NbjQQ/kLVPkzpYGKqESTMeQF/D98WDt/NBk0HEZQPSMHAn1y088YAtohzgMPND IXuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=Hm2Q61hy; 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 bu22-20020a632956000000b0052cc25bd286si1010300pgb.756.2023.05.19.03.34.39; Fri, 19 May 2023 03:35:01 -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; dkim=pass header.i=@t-8ch.de header.s=mail header.b=Hm2Q61hy; 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 S230473AbjESKLI (ORCPT + 99 others); Fri, 19 May 2023 06:11:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230331AbjESKLH (ORCPT ); Fri, 19 May 2023 06:11:07 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9800B114 for ; Fri, 19 May 2023 03:11:04 -0700 (PDT) Date: Fri, 19 May 2023 12:11:00 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1684491062; bh=BnKI1wFlnT7b9jk8O+5vwIz927UI6o6heQwO+A058hM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Hm2Q61hygij7TXQsb0WOKAyTvP/4g8aTkuHcvdRlVmlanj28CwhY2264Zi1sZtA5f 2oVsfGRhuWLt7xdgA6TU0hAecM5iwndcUQEUgGEJZg+T/pkMWfgJi9VHIYIwGULR3k 7KIJk5DbjaIsz7UGp8jHFcFL3BUWGOM3WsJFutJo= From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Willy Tarreau 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=us-ascii Content-Disposition: inline In-Reply-To: <20230519094030.GA24947@1wt.eu> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 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. Thomas