From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>,
Eric Biggers <ebiggers@kernel.org>,
linux-doc@vger.kernel.org, workflows@vger.kernel.org,
Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
linux-kernel@vger.kernel.org,
Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Subject: Re: [PATCH] docs: submitting-patches: Require base tree information
Date: Mon, 26 Oct 2026 16:53:43 +0200 [thread overview]
Message-ID: <20261026145343.GC1001933@killaraus.ideasonboard.com> (raw)
In-Reply-To: <CAMuHMdV7Mz0WgaNP_B8FG6OxLBqqnWwMqWJKNFBDkF2i=55fVQ@mail.gmail.com>
On Mon, Oct 26, 2026 at 03:02:27PM +0100, Geert Uytterhoeven wrote:
> On Mon, 26 Oct 2026 at 11:48, Laurent Pinchart wrote:
> > On Thu, Oct 22, 2026 at 08:57:55AM +0200, Krzysztof Kozlowski wrote:
> > > On 21/10/2026 18:32, Laurent Pinchart wrote:
> > > > On Wed, Oct 21, 2026 at 01:55:37PM +0200, Krzysztof Kozlowski wrote:
> > > >>
> > > >>> there's no base-commit? Including any historical patch (from
> > > >>> months/years ago), patches with dependencies, etc.
> > > >>
> > > >> Dependency is something else, but for every other patch:
> > > >> 1. For testing/CI: you apply on top of next
> > > >> 2. Every other case the maintainer knows where to apply it, because it
> > > >> is his HEAD of next-branch.
> > > >>
> > > >> I am repeating myself, but I really had no single problem of lack of
> > > >> knowledge where to apply a patch as a maintainer or reviewer of some
> > > >> subsystem, thus maybe I do not understand the actual problem you are
> > > >> experiencing.
> > > >
> > > > When I review patches, I often need to apply them to a tree, mainly to
> > > > see the context, but sometimes also to test them. I have encountered
> > > > many cases where the patch wouldn't apply on the current for-next branch
> > > > of the relevant subsystem. That's often because the patch had
> > > > dependencies. When I'm lucky they are listed manually in the cover
> > > > letter with a link to a branch, but that's far from being the common
> > > > case. I then have to ask the submitter to provide a branch, or enough
> > > > information to recreate a branch. Having base information (base-commit,
> > > > prerequisite-patch-id, and possibly base-tree) would save me quite some
> > > > time.
> > > >
> > > > I understand your concern about maintainers cherry-picking and sometimes
> > > > introducing issues as a result. In that case I also prefer asking the
> > > > submitter to rebase, retest, and resubmit. That's not what I want to use
> > > > base information for, in my case it helps with the review process.
> > >
> > > That's valid and for 95% (guessing the number...) of cases will be
> > > solved by having linux-next as a base, thus requiring the base
> > > information is redundant. It's just linux-next.
> > >
> > > When patchset does NOT apply on linux-next or maintainer tree is
> > > non-obvious, the base should be provided, but that is only "if ->
> > > should". I think the proposal here is a bit different.
> >
> > What's the downside though ? As git can easily provide the base
> > information once configured to do so, what's the downside of asking
> > contributors to include it ?
>
> My base is usually not in your or anyone else's tree...
Hence the prerequisite-patch-id and base tree information. Or do you
mean your base is not public at all, neither in the form of a branch
pushed to a public tree, nor as prerequisite patches sent to a public
list ?
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2026-10-26 14:53 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-20 21:22 Eric Biggers
2026-10-20 22:07 ` Konstantin Ryabitsev
2026-10-21 6:07 ` Randy Dunlap
2026-10-21 6:35 ` Krzysztof Kozlowski
2026-10-21 6:44 ` Eric Biggers
2026-10-21 6:47 ` Krzysztof Kozlowski
2026-10-21 3:17 ` Weijie Yuan
2026-10-21 6:26 ` Krzysztof Kozlowski
2026-10-21 6:39 ` Eric Biggers
2026-10-21 6:41 ` Krzysztof Kozlowski
2026-10-21 6:49 ` Eric Biggers
2026-10-21 11:55 ` Krzysztof Kozlowski
2026-10-21 15:04 ` Konstantin Ryabitsev
2026-10-21 15:49 ` Krzysztof Kozlowski
2026-10-21 16:37 ` Konstantin Ryabitsev
2026-10-21 16:32 ` Laurent Pinchart
2026-10-22 6:57 ` Krzysztof Kozlowski
2026-10-22 7:25 ` Eric Biggers
2026-10-22 8:29 ` Krzysztof Kozlowski
2026-10-22 10:03 ` Laurent Pinchart
2026-10-26 10:40 ` Laurent Pinchart
2026-10-26 10:48 ` Krzysztof Kozlowski
2026-10-26 11:27 ` Mark Brown
2026-10-26 14:02 ` Geert Uytterhoeven
2026-10-26 14:53 ` Laurent Pinchart [this message]
2026-10-26 15:37 ` Geert Uytterhoeven
2026-10-26 20:19 ` Laurent Pinchart
2026-10-26 20:51 ` Mark Brown
2026-10-26 20:12 ` Rob Herring
2026-10-21 14:19 ` Jonathan Corbet
2026-10-21 15:59 ` Krzysztof Kozlowski
2026-10-22 10:04 ` Geert Uytterhoeven
2026-10-22 10:13 ` Krzysztof Kozlowski
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=20261026145343.GC1001933@killaraus.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=corbet@lwn.net \
--cc=ebiggers@kernel.org \
--cc=geert@linux-m68k.org \
--cc=konstantin@linuxfoundation.org \
--cc=krzk@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=skhan@linuxfoundation.org \
--cc=workflows@vger.kernel.org \
/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
all inboxes | Powered by JetHome®