Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp268605pxb; Wed, 23 Mar 2022 18:00:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBTgTJr8KRF/pfYtJq75t9D8r183iuXoYHAmFok6D+/5Jc3Vb52j2yRhordSrBv5MvCZO5 X-Received: by 2002:a17:90a:c08d:b0:1bf:315d:c291 with SMTP id o13-20020a17090ac08d00b001bf315dc291mr2903368pjs.121.1648083637356; Wed, 23 Mar 2022 18:00:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648083637; cv=none; d=google.com; s=arc-20160816; b=hga42Ty5sIQuw4XFS+VE4v8ojNwpiKXYlKhx9HIMFNcaqTSzCQeNQNo6BH1u8TKh6g i23eljfnJ0JslcAXU2o2b3sAimvyGHy8K+rWiXvf6C34BHVYIFsx+wIhwyDMIPPnnAg3 umoOoHdTvRIcceiYNWd4EQkihwitEKLQ7pt8FZ6Ok92VkjfoShvvdl9zEvdu39+Mk+CL W22XjZjJUUW21TO8ZSCRGKH9/09HNj2tJhmYKFet5gzI+7HhuntRt6/9r0bkLfmwJtOB f9bgUS7Vnpx25AIPnaQRzI8tAzFo6hkRDcGtKljPw71yHuWEQKMDBnFnCusmvH89QyA6 NG4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:hmm_source_type:hmm_attache_num :hmm_source_ip; bh=5WKtajSsEqyBl0CrmmH9SGUq5HLUYuNDMH9TtqeJeco=; b=Swes1UC9YOXdRxPgMDeS3O/Qnk9PrxAMIsR2mMzELITakN78/SE1eRFGzXekXFV0Fb 9LD5F07jEaiqZcO8tNFoGTOdlUjUIVw39n5HRRgXTkYfQZIIRmQmyneyXsj7BSsbH9qN DtS2NCN+RvdQe4mkmYcKnsQ2/1vGO11Fw9EAVQXzNRL/AzUg6AjNY8Mw3XNHYtw8q/dm hUckl7Zp+JQY7txHuc+0tf690EZ+SbNV+gS2NVBk4RV1+G7fYgAJy5AUKzD1oNcSW9R8 LM1R4FLXbcY//On7P/EX1Sy7jCnsDriQDYo/PfPbjgtc3aHi34XfpCTQ67506pbmeV1y NMuA== 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 pt5-20020a17090b3d0500b001c6c499d30csi6947510pjb.162.2022.03.23.18.00.14; Wed, 23 Mar 2022 18:00:37 -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 S241432AbiCWDJn (ORCPT + 99 others); Tue, 22 Mar 2022 23:09:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241416AbiCWDJf (ORCPT ); Tue, 22 Mar 2022 23:09:35 -0400 Received: from 189.cn (ptr.189.cn [183.61.185.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8730B2459C; Tue, 22 Mar 2022 20:08:02 -0700 (PDT) HMM_SOURCE_IP: 10.64.8.31:51852.492916150 HMM_ATTACHE_NUM: 0000 HMM_SOURCE_TYPE: SMTP Received: from clientip-114.242.206.180 (unknown [10.64.8.31]) by 189.cn (HERMES) with SMTP id CB0F11002BB; Wed, 23 Mar 2022 11:07:58 +0800 (CST) Received: from ([114.242.206.180]) by gateway-151646-dep-b7fbf7d79-bwdqx with ESMTP id 73c6cd2c2177406cb813e64aa6784a6a for jiaxun.yang@flygoat.com; Wed, 23 Mar 2022 11:08:01 CST X-Transaction-ID: 73c6cd2c2177406cb813e64aa6784a6a X-Real-From: 15330273260@189.cn X-Receive-IP: 114.242.206.180 X-MEDUSA-Status: 0 Sender: 15330273260@189.cn Message-ID: Date: Wed, 23 Mar 2022 11:07:57 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v11 2/7] MIPS: Loongson64: dts: introduce ls3A4000 evaluation board Content-Language: en-US To: Jiaxun Yang , Maxime Ripard , Thomas Zimmermann , Roland Scheidegger , Zack Rusin , Christian Gmeiner , David Airlie , Daniel Vetter , Rob Herring , Thomas Bogendoerfer , Dan Carpenter , Krzysztof Kozlowski , Andrey Zhizhikin , Sam Ravnborg , "David S . Miller" , Lucas Stach , Maarten Lankhorst , Ilia Mirkin , Qing Zhang , suijingfeng Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, chenhuacai@kernel.org, Tiezhu Yang , liyi@loongson.cn References: <20220321162916.1116541-1-15330273260@189.cn> <20220321162916.1116541-3-15330273260@189.cn> <2644866a-8db2-923e-4227-2aa6d8e375fe@flygoat.com> <2c671752-6684-f87b-7b2d-90568d36adde@189.cn> <005099b5-33ed-4cb7-f8e4-10e1de780311@flygoat.com> <87d4f869-2ae8-f8d3-a55f-1a563cb21115@flygoat.com> From: Sui Jingfeng <15330273260@189.cn> In-Reply-To: <87d4f869-2ae8-f8d3-a55f-1a563cb21115@flygoat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FROM_LOCAL_DIGITS, FROM_LOCAL_HEX,NICE_REPLY_A,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 2022/3/23 10:29, Jiaxun Yang wrote: > > > 在 2022/3/23 1:53, Sui Jingfeng 写道: >> Hi, Jiaxun >> >> Build all dts into vmlinuz will make the vmlinuz bigger and bigger. >> How does the kernel get the dtb is another big issue, either from >> built-in >> dtb or pass from the firmware(pmon and uefi etc). This should be >> solved with another patch carefully. Providing board specific dts >> helps to code review, it helps reviewers understand that there are >> variant boards and have to be express with different OF graph. > Hi, > > I insist my taste on those code. If the only intention is to demonstrate > the usage of the driver then please just leave them in dt document > or commit message. > >> >> Now, there are about 6 dts under arch/mips/boot/dts/loongson/, >> Suppose loongson have 1000+ different board, do you want built all >> of them into vmlinuz? > Note that we are supporting all those boards on "platform" bias. Which > means if they share similar design then they will use the same DTS. > If we have a new design then unfortunately our kernel binary must grow. > > For those who intended to build a size-optimized kernel they will be > able to disable unused DTS in Kconfig. > > If you want to blame somebody for the problem then please don't > blame us. We tried very hard to fit all those stuff into kernel's model > of devices. You should blame those who did the initial design of > Loongson's boot interface that failed to introduce a proper way > to describe the platform. > >> >> Besides, ls7a1000 and ls2k1000 lack a i2c driver, gpio driver, >> pwm driver, clk driver, can you pay more attention to salve those >> problems, please ? > Are you trying to make a TODO list for your colleague :-) > > We , community developers, don't owe you anything. So please > don't expect anything from us. I lost access to most Loongson > devices since I'm currently study abroad, but I'm determined to > keep platform code in a good shape. That's my duty as a maintainer. > > Thanks. > - Jiaxun Providing a few board specific dts doesn't hurt anybody. Can we leave the problem(passing correct dts to the kernel) untouched and solve it in the feature with a another patch, ok?