All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Sui Jingfeng <15330273260@189.cn>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>,
	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>,
	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>,
	linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v11 2/7] MIPS: Loongson64: dts: introduce ls3A4000 evaluation board
Date: Wed, 23 Mar 2022 07:53:07 -0500	[thread overview]
Message-ID: <YjsYM0M24VhkCHwG@robh.at.kernel.org> (raw)
In-Reply-To: <abe784ce-eb9e-0143-dbc3-d415bbedbb81@189.cn>

On Wed, Mar 23, 2022 at 09:53:14AM +0800, Sui Jingfeng wrote:
> 
> On 2022/3/23 00:06, Jiaxun Yang wrote:
> > 
> > 
> > 在 2022/3/22 13:38, Sui Jingfeng 写道:
> > > 
> > > On 2022/3/22 21:05, Jiaxun Yang wrote:
> > > > 
> > > > 
> > > > 在 2022/3/21 16:29, Sui Jingfeng 写道:
> > > > > From: suijingfeng <suijingfeng@loongson.cn>
> > > > > 
> > > > > The board name is LS3A4000_7A1000_EVB_BOARD_V1.4, it consist of 1.8Ghz
> > > > > mips64r5 4-core CPU and LS7A1000 bridge chip. It has PCIe
> > > > > GEN2 x8 slot,
> > > > > therefore can play with discrete graphics card.
> > > > 
> > > > Hi Jingfeng,
> > > > 
> > > > As we've discussed before if you are going to introduce new dts
> > > > then you *MUST*
> > > > include it in makefile and wire it up in code.
> > > > 
> > > > A dts file doing nothing lying in the tree is just suspicious.
> > > > 
> > > > Thanks.
> > > > - Jiaxun
> > > > 
> > > Hi, Jiaxun,
> > > 
> > > I know what you means, but it is the kernel side developer's job.
> > > I am just a naive graphic driver developer,I can not care so much.
> > > Below is my private patch which can be used to built specific dts
> > > into the linux kernel, therefore make the verification easier.
> > Hi Jingfeng,
> > 
> > In kernel world we take care all the stuff we touched ourself :-)
> > 
> > If you are not confident with them please drop those DTS from the
> > patchset
> > besides the generic one. I can do the rest for you after getting this
> > set merged.
> > 
> > Thanks.
> > - Jiaxun
> > 
> 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.

Built-in DTBs are for legacy bootloaders that don't understand DT. I 
would not expect a new platform to need this.

> 
> 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?

The point was to add the .dts to Makefile so it builds, not so it is 
built-in. How are you testing those build with dtc and dtschema if not 
added to kbuild?

Rob

WARNING: multiple messages have this Message-ID (diff)
From: Rob Herring <robh@kernel.org>
To: Sui Jingfeng <15330273260@189.cn>
Cc: Qing Zhang <zhangqing@loongson.cn>,
	David Airlie <airlied@linux.ie>,
	Jiaxun Yang <jiaxun.yang@flygoat.com>,
	linux-kernel@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	devicetree@vger.kernel.org, suijingfeng <suijingfeng@loongson.cn>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Roland Scheidegger <sroland@vmware.com>,
	Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>,
	dri-devel@lists.freedesktop.org,
	Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
	linux-mips@vger.kernel.org,
	Dan Carpenter <dan.carpenter@oracle.com>,
	"David S . Miller" <davem@davemloft.net>
Subject: Re: [PATCH v11 2/7] MIPS: Loongson64: dts: introduce ls3A4000 evaluation board
Date: Wed, 23 Mar 2022 07:53:07 -0500	[thread overview]
Message-ID: <YjsYM0M24VhkCHwG@robh.at.kernel.org> (raw)
In-Reply-To: <abe784ce-eb9e-0143-dbc3-d415bbedbb81@189.cn>

On Wed, Mar 23, 2022 at 09:53:14AM +0800, Sui Jingfeng wrote:
> 
> On 2022/3/23 00:06, Jiaxun Yang wrote:
> > 
> > 
> > 在 2022/3/22 13:38, Sui Jingfeng 写道:
> > > 
> > > On 2022/3/22 21:05, Jiaxun Yang wrote:
> > > > 
> > > > 
> > > > 在 2022/3/21 16:29, Sui Jingfeng 写道:
> > > > > From: suijingfeng <suijingfeng@loongson.cn>
> > > > > 
> > > > > The board name is LS3A4000_7A1000_EVB_BOARD_V1.4, it consist of 1.8Ghz
> > > > > mips64r5 4-core CPU and LS7A1000 bridge chip. It has PCIe
> > > > > GEN2 x8 slot,
> > > > > therefore can play with discrete graphics card.
> > > > 
> > > > Hi Jingfeng,
> > > > 
> > > > As we've discussed before if you are going to introduce new dts
> > > > then you *MUST*
> > > > include it in makefile and wire it up in code.
> > > > 
> > > > A dts file doing nothing lying in the tree is just suspicious.
> > > > 
> > > > Thanks.
> > > > - Jiaxun
> > > > 
> > > Hi, Jiaxun,
> > > 
> > > I know what you means, but it is the kernel side developer's job.
> > > I am just a naive graphic driver developer,I can not care so much.
> > > Below is my private patch which can be used to built specific dts
> > > into the linux kernel, therefore make the verification easier.
> > Hi Jingfeng,
> > 
> > In kernel world we take care all the stuff we touched ourself :-)
> > 
> > If you are not confident with them please drop those DTS from the
> > patchset
> > besides the generic one. I can do the rest for you after getting this
> > set merged.
> > 
> > Thanks.
> > - Jiaxun
> > 
> 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.

Built-in DTBs are for legacy bootloaders that don't understand DT. I 
would not expect a new platform to need this.

> 
> 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?

The point was to add the .dts to Makefile so it builds, not so it is 
built-in. How are you testing those build with dtc and dtschema if not 
added to kbuild?

Rob

  parent reply	other threads:[~2022-03-23 12:53 UTC|newest]

Thread overview: 94+ 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 ` 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   ` Sui Jingfeng
2022-03-21 16:29 ` [PATCH v11 2/7] MIPS: Loongson64: dts: introduce ls3A4000 evaluation board Sui Jingfeng
2022-03-21 16:29   ` Sui Jingfeng
2022-03-22 13:05   ` Jiaxun Yang
2022-03-22 13:05     ` Jiaxun Yang
2022-03-22 13:38     ` Sui Jingfeng
2022-03-22 13:38       ` Sui Jingfeng
2022-03-22 16:06       ` Jiaxun Yang
2022-03-22 16:06         ` Jiaxun Yang
2022-03-23  1:53         ` Sui Jingfeng
2022-03-23  1:53           ` Sui Jingfeng
2022-03-23  2:29           ` Jiaxun Yang
2022-03-23  2:29             ` Jiaxun Yang
2022-03-23  3:07             ` Sui Jingfeng
2022-03-23  3:07               ` Sui Jingfeng
2022-03-23  3:14               ` Jiaxun Yang
2022-03-23  3:14                 ` Jiaxun Yang
2022-03-23  7:07             ` Sui Jingfeng
2022-03-23  7:07               ` Sui Jingfeng
2022-03-23 12:29               ` Jiaxun Yang
2022-03-23 12:29                 ` Jiaxun Yang
2022-03-23 12:53           ` Rob Herring [this message]
2022-03-23 12:53             ` Rob Herring
2022-03-24  1:51             ` Sui Jingfeng
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   ` 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   ` Sui Jingfeng
2022-03-21 16:29 ` [PATCH v11 5/7] dt-bindings: display: Add Loongson display controller Sui Jingfeng
2022-03-21 16:29   ` Sui Jingfeng
2022-03-21 23:20   ` Rob Herring
2022-03-21 23:20     ` Rob Herring
2022-03-22  2:33     ` Sui Jingfeng
2022-03-22  2:33       ` Sui Jingfeng
2022-03-22 13:08       ` Jiaxun Yang
2022-03-22 13:08         ` Jiaxun Yang
2022-03-22 13:54         ` Sui Jingfeng
2022-03-22 13:54           ` Sui Jingfeng
2022-03-22 16:08           ` Jiaxun Yang
2022-03-22 16:08             ` Jiaxun Yang
2022-03-22 20:03           ` Rob Herring
2022-03-22 20:03             ` Rob Herring
2022-03-22 20:55       ` Rob Herring
2022-03-22 20:55         ` Rob Herring
2022-03-23  3:38         ` Sui Jingfeng
2022-03-23  3:38           ` Sui Jingfeng
2022-03-23 13:03           ` Rob Herring
2022-03-23 13:03             ` Rob Herring
2022-03-24  1:48             ` Sui Jingfeng
2022-03-24  1:48               ` Sui Jingfeng
2022-03-24 13:26               ` Rob Herring
2022-03-24 13:26                 ` Rob Herring
2022-03-26 10:04                 ` Sui Jingfeng
2022-03-26 10:04                   ` Sui Jingfeng
2022-03-28 14:04                   ` Rob Herring
2022-03-28 14:04                     ` Rob Herring
2022-03-29  2:02                     ` Sui Jingfeng
2022-03-29  2:02                       ` Sui Jingfeng
2022-03-29 13:24                       ` Rob Herring
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   ` Sui Jingfeng
2022-03-21 16:29 ` [PATCH v11 7/7] drm/lsdc: add drm driver for loongson display controller Sui Jingfeng
2022-03-21 16:29   ` Sui Jingfeng
2022-03-22 20:49   ` Rob Herring
2022-03-22 20:49     ` Rob Herring
2022-03-23  4:12     ` Sui Jingfeng
2022-03-23  4:12       ` Sui Jingfeng
2022-03-23 13:11       ` Rob Herring
2022-03-23 13:11         ` Rob Herring
2022-03-24  4:05         ` Sui Jingfeng
2022-03-24  4:05           ` Sui Jingfeng
2022-04-08  2:09         ` Sui Jingfeng
2022-04-08  2:09           ` Sui Jingfeng
2022-03-23  4:19     ` Sui Jingfeng
2022-03-23  4:19       ` Sui Jingfeng
2022-03-23  8:49     ` Sui Jingfeng
2022-03-23  8:49       ` Sui Jingfeng
2022-03-23  9:31     ` Sui Jingfeng
2022-03-23  9:31       ` Sui Jingfeng
2022-03-24  1:39     ` Sui Jingfeng
2022-03-24  1:39       ` Sui Jingfeng
2022-03-24 13:42       ` Rob Herring
2022-03-24 13:42         ` Rob Herring
2022-03-24  7:32     ` Sui Jingfeng
2022-03-24  7:32       ` Sui Jingfeng
2022-03-24 13:56       ` Rob Herring
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=YjsYM0M24VhkCHwG@robh.at.kernel.org \
    --to=robh@kernel.org \
    --cc=15330273260@189.cn \
    --cc=airlied@linux.ie \
    --cc=andrey.zhizhikin@leica-geosystems.com \
    --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=jiaxun.yang@flygoat.com \
    --cc=krzk@kernel.org \
    --cc=l.stach@pengutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=sam@ravnborg.org \
    --cc=sroland@vmware.com \
    --cc=suijingfeng@loongson.cn \
    --cc=tsbogend@alpha.franken.de \
    --cc=tzimmermann@suse.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.