Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6705627rwd; Tue, 6 Jun 2023 00:17:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Vtu98cjF0z7GNTof9wkprM1/VENORGVtoU3k+B2TZy+gDoGbT0Iy482l/ehPQv4QBzV4f X-Received: by 2002:ad4:5cc3:0:b0:62b:25:9bde with SMTP id iu3-20020ad45cc3000000b0062b00259bdemr1502678qvb.48.1686035854781; Tue, 06 Jun 2023 00:17:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686035854; cv=none; d=google.com; s=arc-20160816; b=TgpfQD4DfZmGWYtVOekFAEG+CZE8YJSG8RTndDlD+HLmxd46WKP2o83OqpbCZYx+jy UQCEg9vgyYspW+lOdoSLA7KrZVFx2T+pU9sh29cHXGp8RiQhVH5ZaOVxJQuF12Xdavfi cmwfZiGlhmg2BFPphi+h8pYlh0E6DzODQnp3KpgvBhpHXvv+R5Z3uFGpfGd6Ns8Ah5bS azKlqi98xcUaxiatVd1plxufJLQot33Z1TDRH+FzGoiv1trqNW236/ISII/YNja6Zqur Ibkp5lyaEGlpEFPvsduIZmN2DrEFKQmcSWLZGzb+YV2pkpK3lo9i7RTuKp8Vtmk6aHSC 6zkw== 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:date; bh=0H964qQg75ZoAbrdxTUJqeDhp3sV4YtNR7vMxaSlT+Q=; b=YshnA7rnKiaN2S8JaS4s65C0rpcpAm5XgWu6sbJDfhJ/Pe8i70w/udo6HIKaWoLkA+ gtHlmO1ldlZBvGgSEdQeH4up9lx30adZ/EZLEAYuaxRFTK6y6aI+4o1ZvC3X9omEQu91 lWSq2UqXhcRbfQappujrfm4orPQ4f5Ko5drMRNWBce5cuiushTDmSOG2tHfjB/g1zZrY vNmMOCXk3AMGf3oArBFPep8k8wg4jotB2d7SZ2CfcL9ZhLVkuip6m8Pork9Xj+kk81aN oGS3cgwcQh1ZWjps1+w6MIjGcyhDcpkKuIzUReKP15GALHKbwwC/dhGaKwe/L4kXtb7c SLsg== 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 a2-20020a056214062200b00623821414cesi5747413qvx.284.2023.06.06.00.17.20; Tue, 06 Jun 2023 00:17:34 -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 S235105AbjFFGpv (ORCPT + 99 others); Tue, 6 Jun 2023 02:45:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234634AbjFFGps (ORCPT ); Tue, 6 Jun 2023 02:45:48 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7CE6DE40; Mon, 5 Jun 2023 23:45:46 -0700 (PDT) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 3566jWuo018103; Tue, 6 Jun 2023 08:45:32 +0200 Date: Tue, 6 Jun 2023 08:45:32 +0200 From: Willy Tarreau To: Zhangjin Wu Cc: arnd@arndb.de, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org, thomas@t-8ch.de Subject: Re: [PATCH v3 0/3] nolibc: add part2 of support for rv32 Message-ID: References: <20230606063421.355411-1-falcon@tinylab.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230606063421.355411-1-falcon@tinylab.org> 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 Tue, Jun 06, 2023 at 02:34:21PM +0800, Zhangjin Wu wrote: > Willy, Thomas, Arnd > > > Hi Zhangjin, > > > > On Tue, Jun 06, 2023 at 12:25:35PM +0800, Zhangjin Wu wrote: > > > The first two convert all compile failures to a return of -ENOSYS, if you do > > > like it, welcome your Reviewed-by. These two are required by the coming new > > > time64 syscalls for rv32, because they depends on how we cope with the > > > unsupported syscalls, returning -ENOSYS is really better than simply fail the > > > compiling. > > > > I had a look now and I can sya that I like this. Initially the supported > > syscalls were so restricted that it was not even imaginable to accept to > > build without any of them, but now that we're completing the list, some > > of them are less critical and I don't see why we'd fail to build just > > because one is missing. So yeah, a big +1 for -ENOSYS. > > > > Cool, I will prepare the new patchsets on them, welcome your new branch > with both of them, of course, still weclome Reviewed-by from Arnd and Thomas. I don't even think a new branch is needed, I can take them as-is it seems. > > > The third one is not that urgent, because some important syscalls are > > > still missing for rv32. It is added here only for compile test. > > > > I personally have no opinion on this one. I can't judge whether it will > > make things easier or more complicated at this point. It seems to me > > that for now it's just avoiding one extra line at the expense of some > > $(if) on several lines. Maybe it could help add more such archs, or > > maybe it can make them more complicated to debug, I don't know. I'm > > interested in others' opinions as well. > > As I explained why we did it in current way in this reply [1], Thomas had no > more questions on it, so I think Thomas was happy with it now and I got his > only left suggestion is that may be this patch should be applied after the > missing 64bit syscalls being added for there are several important test > failures currently, for me, it is ok before or after. > > Thomas, welcome your Reviewed-by on the makefile patch itself If you are really > happy with it now, thanks very much ;-) > > Willy, I will send the v2 syscalls helpers (also required by the coming 64bit > syscalls) and some other patches (mainly for test with faster kernel build) > about selftests/nolibc later, because we have not enough time for v6.5 test, > so, I suggest we can create new branch for v6.6 and my new patchsets will be > for v6.6. Agreed, thank you! Willy