Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7053684rwp; Tue, 18 Jul 2023 09:20:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlFpHMgpSXVYxAv6zq4k7XEfde6O95dHcPxojrJdpsSbU3k5Lly77yXPRQ8NiBFQVt1PVjCm X-Received: by 2002:a17:903:2281:b0:1a6:6bdb:b548 with SMTP id b1-20020a170903228100b001a66bdbb548mr297617plh.1.1689697217271; Tue, 18 Jul 2023 09:20:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689697217; cv=none; d=google.com; s=arc-20160816; b=wgjeJNQ5+2kFp7Hofxd70zyID7oNOIdfCG8rx5S+ygT+uh6nds7aVu/dacDBZM3135 ILPjBVTV9mDhqHYsS0yLEfqMmetY8QwqOmXK81+Zttcr7zWs0XOQyUhzXviAjBtUPAZc Ookg/rjDTV9jMbjXZysLwOrfvuL1DMcimEyKwkcXqNzY3X69/LmMbug/DN6oRoyKn5t8 KkAwr2Jj8FRv8Vvk+gXj/+swruc3EstwmuKxQhlx12BClNy09AGRTu55SPzY4LcYoi2o NRJai7COp12GlnOAdkZ/7YyZ6CdDXI6KlZLZGg8vArzDAXC9mMCnVvgDQwCs1l5w1HfX D9nw== 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=xWElo83i+M5N7QIEVyz+XAW4b8ByC6z6T8wmzNfX4TU=; fh=oktyAfFvTnnUlva8uVXG0N5h1nuGusaZzz++FhWKS4s=; b=VjD3SEEzTLrJ83VHfLSByKSJdl9uEE6eyq0evjai6y9E9Xc9H6irPwusnLbr3BaTUT 8iZWlSmVNZLVsdjFKpoHPQcRGPmU2MGnY/UgUhMhurvnUlOV6P5XkxsJQr7wo/+S1kcF Pb20+iQ7BW04M9tlG6DEUTkQtnR2mHR3X2zP14QjzLrEbQPk82f+mcfOkealL5W38OF8 zUIX0yMpLAJTfjBH5lQbxPySpO+WI0Wv7muobtspdDBc8Zw1IX7k9x0pKdSNRNFCCxSe IgJ6MF9u9GmLxz20zfs1lH82SO7Qxc9gem4jGoTULQO0/qjrI7qAbQ+Pg2s5PnrFUxyQ 7I9g== 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 u5-20020a170903124500b001b9d2010b27si1933008plh.119.2023.07.18.09.20.03; Tue, 18 Jul 2023 09:20: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 S233709AbjGRP7V (ORCPT + 99 others); Tue, 18 Jul 2023 11:59:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231244AbjGRP7U (ORCPT ); Tue, 18 Jul 2023 11:59:20 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 903BCA9; Tue, 18 Jul 2023 08:59:18 -0700 (PDT) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 36IFx6cO013674; Tue, 18 Jul 2023 17:59:06 +0200 Date: Tue, 18 Jul 2023 17:59:06 +0200 From: Willy Tarreau To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Zhangjin Wu , arnd@arndb.de, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v1 00/22] selftests/nolibc: add minimal kernel config support Message-ID: References: <20230711193608.GD31402@1wt.eu> <20230718134323.14819-1-falcon@tinylab.org> <67eb70d4-c9ff-4afc-bac7-7f36cc2c81bc@t-8ch.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <67eb70d4-c9ff-4afc-bac7-7f36cc2c81bc@t-8ch.de> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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 Hi Zhangjin, Thomas, Just a quick response below on one point. On Tue, Jul 18, 2023 at 05:19:50PM +0200, Thomas Wei?schuh wrote: > > The first architectures plan to support are powerpc + powerpc64, powerpc does > > require extra kernel config options even with defconfig, so, it is a very good > > first example, and the extconfig target will be added together. > > Are you planning to do powerpc and tinyconfig support in one series? > Splitting it would be better in my opinion. I agree for splitting. (...) > > To only test nolibc itself, I do think tinyconfig with the above > > extconfig support is enough, even if we need more, we can update the > > EXTCONFIG_COMMON and EXTCONFIG_ in the future. > > IMO tinyconfig is enough, defconfig doesn't seem to be necessary then. This is a point where I think I disagree. In fact the important feature of defconfig, for any arch, is that it's supposed to work out of the box. If we need to add extra options on top of tiny config, someone will regularly have to maintain this set of options up to date when more are added or when they're split. It could even start to fire back to a few developers who want to make the config more modular and are forced to update these ones without knowing well how to proceed with nolibc. Thus I would suggest that defconfig remains available (as a make target) for when we want to rely on a safe config, and that tinyconfig + local tuning is available for those like us who tend to spend more time on nolibc and who don't care much about having to tweak some options once in a while. Just my two cents, Willy