From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECEECC77B75 for ; Fri, 19 May 2023 10:11:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231764AbjESKLJ (ORCPT ); Fri, 19 May 2023 06:11:09 -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> 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