U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: E Shattow <e@freeshell.de>
To: Ralph Siemsen <ralph.siemsen@linaro.org>,
	u-boot@lists.u-boot-project.org
Cc: Tom Rini <trini@konsulko.com>,
	Quentin Schulz <quentin.schulz@cherry.de>,
	 Simon Glass <sjg@chromium.org>,
	Neil Armstrong <neil.armstrong@linaro.org>
Subject: Re: [PATCH] doc: develop/sending_patches: add tips for series
Date: Wed, 28 Oct 2026 15:50:04 -0700	[thread overview]
Message-ID: <bbb802bf-3569-4555-a323-fdcd30dc927c@freeshell.de> (raw)
In-Reply-To: <20261028-doc-sending-patches-v1-1-66b0f1b276de@linaro.org>

Hi Ralph,

On 10/28/26 12:13, Ralph Siemsen wrote:
> Related patches can be grouped into a "patch series". Add some tips on
> how to decide how much belongs into a "patch series".
> 
> Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
> ---
>  doc/develop/sending_patches.rst | 32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
> 
> diff --git a/doc/develop/sending_patches.rst b/doc/develop/sending_patches.rst
> index b4f82eb18e1..b6c2a865928 100644
> --- a/doc/develop/sending_patches.rst
> +++ b/doc/develop/sending_patches.rst
> @@ -184,6 +184,38 @@ General Patch Submission Rules
>    cases, you did something wrong if your patch exceeds this limit. Think again
>    if you should not split it into separate logical parts.
>  
> +Tips for creating patch series
> +------------------------------
> +
> +A series of related patches can be sent as a "patch series", as described
> +above. Individual patches should be small and self contained. Likewise,
> +this also applies to each "patch series". Keep the following in mind:
> +
> +* large series are harder to review. Maintainers are busy and may postpone
> +  large reviews, whereas smaller reviews can be "squeezed in" more easily
> +
> +* tools like ``b4`` and ``patman`` will collect reviewers for each patch,
> +  but then send the entire series to all reviewers found. This is not ideal
> +  since it floods maintainers with patches they might not care about.
> +
> +A better approach is to break up a large series into smaller sub-series,
> +for example by subsystem (clock, pinctrl, reset, etc.). This allows better
> +targeting of only the relevant reviewers for each sub-series.
> +
> +Of course there are sometimes cases where a large patch series is okay:
> +
> +* when the changes are all in a specific area: for example when fixing a bug
> +  in a driver, but also doing some refactoring or cleanup in the same code
> +
> +* when there are unavoidable dependencies between patches: keeping them
> +  together avoids having to explain how multiple series are dependent
> +
> +In a nutshell, the goal should be to break up changes into smaller pieces,
> +so the change can be more easily understood by reviewers. Combining multiple
> +patches into a series makes sense as a way of grouping related changes, but
> +if this results in a very large number of reviewers (eg. 25 or more) then
> +the series should probably be split into smaller sub pieces.
> +
>  Attributing Code, Copyrights, Signing
>  -------------------------------------
>  
> 
> ---
> base-commit: 03e45557e1f38a39a0c80fe30483130ff376cf92
> change-id: 20261028-doc-sending-patches-d3a464feff98
> 
> Best regards,
> --  
> Ralph Siemsen <ralph.siemsen@linaro.org>
> 

I would substitute "nutshell" and "squeezed in" with something less
likely to confuse non-native English language contributors; ("In
summary, the goal...") ("reviews of a focused feature or concepts
supporting one idea is less demanding of a busy maintainer than a
collection of many smaller unrelated changes with no common idea").

with that, however you want to proceed it is already an improvement to
have the question illustrated of "what should I think about when
organizing a patch set?"

Reviewed-by: E Shattow <e@freeshell.de>

  reply	other threads:[~2026-10-28 22:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-28 19:13 [PATCH] doc: develop/sending_patches: add tips for series Ralph Siemsen
2026-10-28 22:50 ` E Shattow [this message]
2026-10-29 16:32   ` Ralph Siemsen

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=bbb802bf-3569-4555-a323-fdcd30dc927c@freeshell.de \
    --to=e@freeshell.de \
    --cc=neil.armstrong@linaro.org \
    --cc=quentin.schulz@cherry.de \
    --cc=ralph.siemsen@linaro.org \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.u-boot-project.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