Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp566543rwd; Sat, 20 May 2023 02:49:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6V9kk9ZdglJU9itRkdE7G55C093rXY04greYbNSa2hZZ2CsMuSBTjuiBzHoXBpc7w3bMgy X-Received: by 2002:a05:6a00:1a93:b0:645:ac97:52a4 with SMTP id e19-20020a056a001a9300b00645ac9752a4mr6514892pfv.8.1684576157641; Sat, 20 May 2023 02:49:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684576157; cv=none; d=google.com; s=arc-20160816; b=Ie74bg4AC1TWqAzYhFCb7LXiTOOdKXtFAEd1B5M9A+hFHvo1zBqZZlzL+b08U4v4B/ oaTiopG2PaySEz1pxSYRK3/Wohkcyo2TQ0S8OlZXx7rYBarynEPYNIrZgE6vXN6JTEE+ FXX9QWSwA1oPoN+JzcwWdaXu8Rus7lhAAcTTtK1IkPvjJTeJEjd9bEZixnPvwYaJ5BWq 1p48Wb9ivo6ihBLM9qTuFWa1scvCeJu/9eMooIv6bxYZfIoOxqS4XTMeWWiXvzBs9HYW hmuOvR1aaPEtNWkbSUaV40V0qvqsSEK4qCFN6sC3tU8Fe5FyjdCTMWmA3VWBrYlelY7O QpkA== 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=KbbPGu1FpA0SsTkHR4lKbcrBUP0nXf4k8FqF2XF1Okg=; b=KLyVBlLmBALB5RNJ31ssTE1vfjuuzl2dwSMFQGlxpY+EFz4c3Jxnm3vT8S9vTqA6wo dvyQSWpepm5Nw07SHkXpR7OOWWCokZ/om8tlvic4Q5FmIoLdi5CsjIQCAjjXG+u+a3+V PjUgSSfuevBXnvyrIZROOH3BvQOuo5i2Bj0gXmCWCkKZD4PkvjbunDxp9TwRPV+q+/mJ RE7TF5lxshlnE+41HVb+F9dBERLXjQCJwjl2crOJLIvT2N/7eCozr2HVod5FFULrgNLQ DlrkzToXQGzpyOBaQ3IcwWbrLu3z8j/EYmYGTikv06vLKmk74Y4ItdNfDmd28g4NuAJc KXYw== 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 w2-20020a626202000000b0063b7acc199bsi1281611pfb.65.2023.05.20.02.49.05; Sat, 20 May 2023 02:49:17 -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 S231177AbjETJd3 (ORCPT + 99 others); Sat, 20 May 2023 05:33:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229548AbjETJd2 (ORCPT ); Sat, 20 May 2023 05:33:28 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 61B8E1B4 for ; Sat, 20 May 2023 02:33:25 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 34K9X7q5027290; Sat, 20 May 2023 11:33:07 +0200 Date: Sat, 20 May 2023 11:33:07 +0200 From: Willy Tarreau To: Zhangjin Wu Cc: aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, palmer@rivosinc.com, paul.walmsley@sifive.com, paulmck@kernel.org Subject: Re: Re: [PATCH 1/2] tools/nolibc: riscv: Fix up load/store instructions for rv32 Message-ID: <20230520093307.GA27287@1wt.eu> References: <20230520085052.GC27206@1wt.eu> <20230520091144.30599-1-falcon@tinylab.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230520091144.30599-1-falcon@tinylab.org> 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,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 Sat, May 20, 2023 at 05:11:44PM +0800, Zhangjin Wu wrote: > Hi, Willy > > This is a full commit message for this patch: > > When compile for rv32, we got such error: > > --- > > nolibc/sysroot/riscv/include/arch.h:190: Error: unrecognized opcode `ld a4,0(a3)' > nolibc/sysroot/riscv/include/arch.h:194: Error: unrecognized opcode `sd a3,%lo(_auxv)(a4)' > nolibc/sysroot/riscv/include/arch.h:196: Error: unrecognized opcode `sd a2,%lo(environ)(a3)' > > Refer to arch/riscv/include/asm/asm.h and add REG_L/REG_S macros here to let > rv32 use its own lw/sw instructions. > > --- That's fine, thank you! > I will send a new version with the above full message for you, wait for a > while, very sorry ;-) Don't waste your time resending, I can perfectly take that one and put it into the series. Thanks! Willy