From: "Jiaxun Yang" <jiaxun.yang@flygoat.com>
To: "Sui Jingfeng" <15330273260@189.cn>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"Roland Scheidegger" <sroland@vmware.com>,
"Zack Rusin" <zackr@vmware.com>,
"Christian Gmeiner" <christian.gmeiner@gmail.com>,
"David Airlie" <airlied@linux.ie>,
"Daniel Vetter" <daniel@ffwll.ch>,
"Rob Herring" <robh+dt@kernel.org>,
"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>,
"Dan Carpenter" <dan.carpenter@oracle.com>,
"Krzysztof Kozlowski" <krzk@kernel.org>,
"Andrey Zhizhikin" <andrey.zhizhikin@leica-geosystems.com>,
"Sam Ravnborg" <sam@ravnborg.org>,
"David S . Miller" <davem@davemloft.net>,
"Lucas Stach" <l.stach@pengutronix.de>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Ilia Mirkin" <imirkin@alum.mit.edu>,
"Qing Zhang" <zhangqing@loongson.cn>,
suijingfeng <suijingfeng@loongson.cn>
Cc: "linux-mips@vger.kernel.org" <linux-mips@vger.kernel.org>,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
dri-devel@lists.freedesktop.org,
"Huacai Chen" <chenhuacai@kernel.org>,
"Tiezhu Yang" <yangtiezhu@loongson.cn>,
liyi@loongson.cn
Subject: Re: [PATCH v11 2/7] MIPS: Loongson64: dts: introduce ls3A4000 evaluation board
Date: Wed, 23 Mar 2022 03:14:23 +0000 [thread overview]
Message-ID: <8d474c46-c354-4dec-920d-dbbc67377690@www.fastmail.com> (raw)
In-Reply-To: <e0d3648e-3055-9f9b-878d-0fc22a93a806@189.cn>
在2022年3月23日三月 上午3:07,Sui Jingfeng写道:
> 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.
There are a lot of things that don't hurt anybody but we shouldn't do.
The standard of reviewing the code is not "doesn't hurt anybody". It's "do the right thing".
Please reference:
https://www.kernel.org/doc/html/latest/process/6.Followthrough.html
>
> Can we leave the problem(passing correct dts to the kernel) untouched and
>
> solve it in the feature with a another patch, ok?
Then please drop platform DTS part.
I must NAK this part, sorry.
Thanks
--
- Jiaxun
next prev parent reply other threads:[~2022-03-23 3:14 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-21 16:29 [PATCH v11 0/7] drm/lsdc: add drm driver for loongson display controller Sui Jingfeng
2022-03-21 16:29 ` [PATCH v11 1/7] MIPS: Loongson64: dts: update the display controller device node Sui Jingfeng
2022-03-21 16:29 ` [PATCH v11 2/7] MIPS: Loongson64: dts: introduce ls3A4000 evaluation board Sui Jingfeng
2022-03-22 13:05 ` Jiaxun Yang
2022-03-22 13:38 ` Sui Jingfeng
2022-03-22 16:06 ` Jiaxun Yang
2022-03-23 1:53 ` Sui Jingfeng
2022-03-23 2:29 ` Jiaxun Yang
2022-03-23 3:07 ` Sui Jingfeng
2022-03-23 3:14 ` Jiaxun Yang [this message]
2022-03-23 7:07 ` Sui Jingfeng
2022-03-23 12:29 ` Jiaxun Yang
2022-03-23 12:53 ` Rob Herring
2022-03-24 1:51 ` Sui Jingfeng
2022-03-21 16:29 ` [PATCH v11 3/7] MIPS: Loongson64: dts: introduce lemote A1901 motherboard Sui Jingfeng
2022-03-21 16:29 ` [PATCH v11 4/7] MIPS: Loongson64: dts: introduce ls2k1000 pai evaluation board Sui Jingfeng
2022-03-21 16:29 ` [PATCH v11 5/7] dt-bindings: display: Add Loongson display controller Sui Jingfeng
2022-03-21 23:20 ` Rob Herring
2022-03-22 2:33 ` Sui Jingfeng
2022-03-22 13:08 ` Jiaxun Yang
2022-03-22 13:54 ` Sui Jingfeng
2022-03-22 16:08 ` Jiaxun Yang
2022-03-22 20:03 ` Rob Herring
2022-03-22 20:55 ` Rob Herring
2022-03-23 3:38 ` Sui Jingfeng
2022-03-23 13:03 ` Rob Herring
2022-03-24 1:48 ` Sui Jingfeng
2022-03-24 13:26 ` Rob Herring
2022-03-26 10:04 ` Sui Jingfeng
2022-03-28 14:04 ` Rob Herring
2022-03-29 2:02 ` Sui Jingfeng
2022-03-29 13:24 ` Rob Herring
2022-03-21 16:29 ` [PATCH v11 6/7] MIPS: Loongson64: defconfig: enable display bridge drivers on Loongson64 Sui Jingfeng
2022-03-21 16:29 ` [PATCH v11 7/7] drm/lsdc: add drm driver for loongson display controller Sui Jingfeng
2022-03-22 20:49 ` Rob Herring
2022-03-23 4:12 ` Sui Jingfeng
2022-03-23 13:11 ` Rob Herring
2022-03-24 4:05 ` Sui Jingfeng
2022-04-08 2:09 ` Sui Jingfeng
2022-03-23 4:19 ` Sui Jingfeng
2022-03-23 8:49 ` Sui Jingfeng
2022-03-23 9:31 ` Sui Jingfeng
2022-03-24 1:39 ` Sui Jingfeng
2022-03-24 13:42 ` Rob Herring
2022-03-24 7:32 ` Sui Jingfeng
2022-03-24 13:56 ` Rob Herring
2023-01-17 3:08 ` Sui jingfeng
2023-02-03 2:48 ` suijingfeng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8d474c46-c354-4dec-920d-dbbc67377690@www.fastmail.com \
--to=jiaxun.yang@flygoat.com \
--cc=15330273260@189.cn \
--cc=airlied@linux.ie \
--cc=andrey.zhizhikin@leica-geosystems.com \
--cc=chenhuacai@kernel.org \
--cc=christian.gmeiner@gmail.com \
--cc=dan.carpenter@oracle.com \
--cc=daniel@ffwll.ch \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=imirkin@alum.mit.edu \
--cc=krzk@kernel.org \
--cc=l.stach@pengutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=liyi@loongson.cn \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=robh+dt@kernel.org \
--cc=sam@ravnborg.org \
--cc=sroland@vmware.com \
--cc=suijingfeng@loongson.cn \
--cc=tsbogend@alpha.franken.de \
--cc=tzimmermann@suse.de \
--cc=yangtiezhu@loongson.cn \
--cc=zackr@vmware.com \
--cc=zhangqing@loongson.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).