public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Tom Rini <trini@konsulko.com>
Cc: Sumit Garg <sumit.garg@linaro.org>,
	u-boot@lists.denx.de, u-boot-amlogic@groups.io,
	u-boot-custodians@lists.denx.de, sjg@chromium.org,
	robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	conor@kernel.org, neil.armstrong@linaro.org,
	caleb.connolly@linaro.org, ff@shokubai.tech,
	daniel.thompson@linaro.org, dgilmore@fedoraproject.org,
	pbrobinson@gmail.com, ilias.apalodimas@linaro.org,
	maxim.uvarov@linaro.org, b.galvani@gmail.com, xypron.glpk@gmx.de,
	michal.simek@amd.com, seanga2@gmail.com,
	rasmus.villemoes@prevas.dk, peng.fan@nxp.com,
	jh80.chung@samsung.com, rfried.dev@gmail.com, marex@denx.de,
	mibodhi@gmail.com, bb@ti.com, mark.kettenis@xs4all.nl
Subject: Re: [PATCH v4 00/11] An effort to bring DT bindings compliance within U-Boot
Date: Tue, 23 Jan 2024 00:58:34 +0000	[thread overview]
Message-ID: <20240123005834.4ab47bf5@minigeek.lan> (raw)
In-Reply-To: <20240122164959.GN3652023@bill-the-cat>

On Mon, 22 Jan 2024 11:49:59 -0500
Tom Rini <trini@konsulko.com> wrote:

Hi Tom,

> On Mon, Jan 22, 2024 at 11:45:15AM +0000, Andre Przywara wrote:
> > On Wed, 10 Jan 2024 16:05:36 +0530
> > Sumit Garg <sumit.garg@linaro.org> wrote:
> > 
> > Hi,
> > 
> > I certainly welcome this more automatic synchronisation of the DTs,
> > however have one comment about the upcoming sync process:
> >   
> > > ...
> > > However, Linux kernel DT maintainers proposed [2] for U-Boot to rather
> > > use devicetree-rebasing repo [3] which is a forked copy from Linux
> > > kernel for DT source files as well as bindings. It is tagged at every
> > > Linux kernel major release or intermideate release candidates. So here I
> > > have tried to reuse that to bring DT bingings compliance as well as a
> > > standard way to maintain a regular sync of DT source files with Linux
> > > kernel.
> > > 
> > > In order to maintain devicetree files sync, U-Boot will maintains a Git
> > > subtree for devicetee-rebasing repo as `dts/upstream` sub-directory.
> > > U-Boot will regularly sync `dts/upstream/` subtree whenever the next window
> > > opens with the next available kernel major release.  
> > 
> > I hope this doesn't need to stay that restricted? Can we either sync more
> > often, or at least on the kernel's -rc1, and not only on a "full" release?
> > 
> > The reason I ask is that we have a chicken-egg problem here: without a DT
> > merged into the kernel tree, no U-Boot board support can be merged. And
> > without U-Boot support, we cannot boot a kernel, at least not in the
> > canonical way.
> > 
> > Since the U-Boot and kernel merge windows are not in phase, for sunxi I try
> > to sync the kernel DTs either as early as possible (-rc1, sometimes even
> > before, when the maintainers have merged them into their tree), or
> > sometimes "out of season", if a board defconfig patch is coming up.
> > 
> > Otherwise new board support, which typically has a very low regression risk
> > for the rest of the code base, would need to be delayed until the next
> > release. In the worst case the U-Boot merge windows opens one week before
> > a kernel release, then new boards need to wait three months?  
> 
> Would it be to bad to bring in board X with OF_UPSTREAM=n for one U-Boot
> release, and then with the next one switch to OF_UPSTREAM=y (and delete
> the dts from arch/) for the next release, when we would have gotten back
> in sync?

Ah, I didn't look into the actual patches, but if this provision is
there, that sounds surely acceptable. It might still be good to sync
earlier than the .0 kernel release: if it appears in Linus' tree, it
had already seen a good share of review and testing. And with the
U-Boot releases being always further away than the next kernel release,
we could pull fixes still in time. So we could pick the latest -rc (or
.0 release, whichever is more recent) when the U-Boot merge window
opens?

Cheers,
Andre

  reply	other threads:[~2024-01-23  0:59 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-10 10:35 [PATCH v4 00/11] An effort to bring DT bindings compliance within U-Boot Sumit Garg
2024-01-10 10:35 ` [PATCH v4 01/11] CI: Exclude devicetree-rebasing subtree for CONFIG checks Sumit Garg
2024-01-10 10:35 ` [PATCH v4 02/11] Makefile: Add support for DT bindings schema checks Sumit Garg
2024-01-10 10:35 ` [PATCH v4 03/11] scripts/Makefile.lib: Statically define *-u-boot.dtsi files location Sumit Garg
2024-01-10 10:35 ` [PATCH v4 04/11] Makefile: Allow upstream DT subtree to provide DT includes Sumit Garg
2024-01-10 10:35 ` [PATCH v4 05/11] dts: Add alternative location for upstream DTB builds Sumit Garg
2024-01-10 10:35 ` [PATCH v4 06/11] dts: Add script to uprev dts/upstream subtree Sumit Garg
2024-01-10 10:35 ` [PATCH v4 07/11] doc: devicetree: Align documentation to use Kconfig options Sumit Garg
2024-01-10 12:31   ` Fabio Estevam
2024-01-10 12:40     ` Sumit Garg
2024-01-10 10:35 ` [PATCH v4 08/11] doc: devicetree: Updates for devicetree-rebasing subtree Sumit Garg
2024-01-10 10:35 ` [PATCH v4 09/11] MAINTAINERS: Add myself as devicetree-rebasing maintainer Sumit Garg
2024-01-10 10:35 ` [PATCH v4 10/11] dts: meson-gxbb: Switch to using upstream DT Sumit Garg
2024-01-10 10:35 ` [PATCH v4 11/11] dts: meson-gxbb: Drop redundant devicetree files Sumit Garg
2024-01-19 15:56 ` [PATCH v4 00/11] An effort to bring DT bindings compliance within U-Boot Nishanth Menon
2024-01-24  7:15   ` Sumit Garg
2024-01-21 14:33 ` Marek Vasut
2024-01-21 22:41   ` Caleb Connolly
2024-01-22  0:01     ` Tom Rini
2024-01-24  7:36       ` Sumit Garg
2024-01-22  0:14     ` Marek Vasut
2024-01-24  8:16       ` Sumit Garg
2024-01-25  2:03         ` Marek Vasut
2024-01-25  7:24           ` Sumit Garg
2024-01-25 15:04             ` Tom Rini
2024-01-25 16:38               ` Marek Vasut
2024-01-25 23:19                 ` Tom Rini
2024-01-26  2:10                   ` Marek Vasut
2024-01-26  7:04                     ` Michal Simek
2024-01-31 12:56                       ` Sumit Garg
2024-01-31 14:13                         ` Tom Rini
2024-01-22 11:45 ` Andre Przywara
2024-01-22 16:49   ` Tom Rini
2024-01-23  0:58     ` Andre Przywara [this message]
2024-01-23 16:42       ` Rob Herring
2024-01-24  9:03         ` Sumit Garg

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=20240123005834.4ab47bf5@minigeek.lan \
    --to=andre.przywara@arm.com \
    --cc=b.galvani@gmail.com \
    --cc=bb@ti.com \
    --cc=caleb.connolly@linaro.org \
    --cc=conor@kernel.org \
    --cc=daniel.thompson@linaro.org \
    --cc=dgilmore@fedoraproject.org \
    --cc=ff@shokubai.tech \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jh80.chung@samsung.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=marex@denx.de \
    --cc=mark.kettenis@xs4all.nl \
    --cc=maxim.uvarov@linaro.org \
    --cc=mibodhi@gmail.com \
    --cc=michal.simek@amd.com \
    --cc=neil.armstrong@linaro.org \
    --cc=pbrobinson@gmail.com \
    --cc=peng.fan@nxp.com \
    --cc=rasmus.villemoes@prevas.dk \
    --cc=rfried.dev@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=seanga2@gmail.com \
    --cc=sjg@chromium.org \
    --cc=sumit.garg@linaro.org \
    --cc=trini@konsulko.com \
    --cc=u-boot-amlogic@groups.io \
    --cc=u-boot-custodians@lists.denx.de \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    /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