mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Sasha Levin <sashal@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Willy Tarreau <w@1wt.eu>, Leon Romanovsky <leon@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Borislav Petkov <bp@alien8.de>, Marc Zyngier <maz@kernel.org>,
	Eric Dumazet <edumazet@google.com>,
	Hans de Goede <hansg@kernel.org>, Andrew Lunn <andrew@lunn.ch>,
	Jonathan Cameron <jic23@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Theodore Ts'o <tytso@mit.edu>,
	David Hildenbrand <david@kernel.org>,
	Security Officers <security@kernel.org>,
	workflows@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] docs: coding-assistants: ask for short changelogs and a cover letter
Date: Mon, 30 Nov 2026 15:01:33 +0000	[thread overview]
Message-ID: <407ae03d-a0eb-427c-97d4-35889c3b79fe@sirena.org.uk> (raw)
In-Reply-To: <20261126171926.2766137-2-sashal@kernel.org>

[-- Attachment #1: Type: text/plain, Size: 2554 bytes --]

On Thu, Nov 26, 2026 at 12:19:24PM -0500, Sasha Levin wrote:
> Commit messages written by AI coding assistants are too long.
> Maintainers keep asking for them to be cut down [1][2][3][4]: they read
> like a copy of the assistant's analysis and bury what a reader needs.

> +Cover letter
> +============
> +
> +Every patch or series prepared with an AI assistant **MUST** come with a cover
> +letter, the "[PATCH 0/N]" mail that the patches are sent as replies to. This
> +includes a single patch; tool use that
> +Documentation/process/generated-content.rst puts out of scope does not count.
> +The cover letter holds the evidence that reviewers need to check the work. It
> +is posted with the patches and stays in the list archive.

Just echoing something Lorenzo said, please don't add this - if it's
just a single patch anything that needs to be said should be either in
the actual commit log or for administrative stuff that shouldn't make it
in there after the ---.

> +The cover letter **MUST** contain the following items, in this order. Do not
> +drop an item: if there is nothing to say, write that. For a series, say which
> +patch each item is about.
> +
> +1. The commit ID the work was done on, the architecture and configuration, and
> +   everything that was added to that tree to trigger or observe the problem:
> +   other patches, out-of-tree modules, fault injection, debugging code.

This can go at the bottom of the mail like b4 does.

> +2. How the problem was found: a report (give the link), a test, a tool, or
> +   reading the code. Name the tools that were used, as
> +   Documentation/process/generated-content.rst asks.
> +3. Whether the problem was seen to happen: on the unmodified tree, only with
> +   the additions from item 1, or never (found by analysis only).
> +4. The reproducer, or the exact steps that trigger the problem. See below for a
> +   bug that is or may be a vulnerability.
> +5. How the change was tested: the commands, and the results without and with
> +   the change. Leave out the output of successful builds.
> +6. The complete output that shows the problem. For a runtime failure this is
> +   the kernel log from boot up to and including the failure; for a build
> +   failure, a failing test or a tool report it is all the output of that
> +   command.

I don't desparately want people sending me the full output of an
allmodconfig even if there is an error message somewhere in there, like
people have been saying this is going way too far to the other extreme
and will just annoy everyone.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2026-11-30 15:01 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 17:19 [PATCH 0/2] docs: ask AI-assisted patches " Sasha Levin
2026-11-26 17:19 ` [PATCH 1/2] docs: coding-assistants: ask " Sasha Levin
2026-11-27  1:34   ` Krzysztof Kozlowski
2026-11-27  1:49     ` Borislav Petkov
2026-11-27  2:19       ` Sasha Levin
2026-11-27  5:23         ` Willy Tarreau
2026-11-27  9:18         ` Lorenzo Stoakes (ARM)
2026-11-27  9:29           ` Willy Tarreau
2026-11-27  9:38             ` Lorenzo Stoakes (ARM)
2026-11-27 14:11               ` Mark Brown
2026-11-27 14:25                 ` Lorenzo Stoakes (ARM)
2026-11-27 14:31                   ` Sasha Levin
2026-11-27 18:05                   ` Mark Brown
2026-11-27  9:44             ` David Hildenbrand (Arm)
2026-11-27  9:54               ` Lorenzo Stoakes (ARM)
2026-11-27 13:37                 ` Sasha Levin
2026-11-27 13:52                   ` David Hildenbrand (Arm)
2026-11-27 14:20                   ` Lorenzo Stoakes (ARM)
2026-11-27 14:31                     ` Sasha Levin
2026-11-27 14:51                       ` Lorenzo Stoakes (ARM)
2026-11-27 15:39                         ` Sasha Levin
2026-11-27 16:27                           ` Andrew Lunn
2026-11-27 16:46                           ` Lorenzo Stoakes (ARM)
2026-11-27 16:59                             ` Sasha Levin
2026-11-30 12:40                               ` Lorenzo Stoakes (ARM)
2026-11-30 14:38                                 ` Sasha Levin
2026-11-30 14:52                                   ` Leon Romanovsky
2026-11-30 14:55                                     ` Lorenzo Stoakes (ARM)
2026-11-30 15:04                                       ` Leon Romanovsky
2026-11-30 15:32                                         ` Lorenzo Stoakes (ARM)
2026-11-30 17:15                                           ` Randy Dunlap
2026-11-30 17:52                                             ` Lorenzo Stoakes (ARM)
2026-11-30 15:30                                   ` Lorenzo Stoakes (ARM)
2026-11-30 17:05                                   ` Vlastimil Babka (SUSE)
2026-11-30 17:12                                     ` Randy Dunlap
2026-11-27 19:08                             ` Andrew Morton
2026-11-27 19:21                               ` David Woodhouse
2026-11-30 15:37                               ` Lorenzo Stoakes (ARM)
2026-11-29 14:00                             ` Leon Romanovsky
2026-11-29 13:31                           ` Leon Romanovsky
2026-11-27 17:51                       ` Vlastimil Babka (SUSE)
2026-11-27 18:03                         ` Sasha Levin
2026-11-27 18:14                           ` Vlastimil Babka (SUSE)
2026-11-27 18:26                             ` Sasha Levin
2026-11-27 19:30                               ` Liam R. Howlett
2026-11-27 23:26                                 ` Sasha Levin
2026-11-30 16:30                                   ` Lorenzo Stoakes (ARM)
2026-11-29 13:50                                 ` Leon Romanovsky
2026-11-30 11:20                               ` Geert Uytterhoeven
2026-11-29  8:05           ` Krzysztof Kozlowski
2026-11-30 15:39             ` Lorenzo Stoakes (ARM)
2026-11-29 13:13           ` Leon Romanovsky
2026-11-29 13:36             ` Sasha Levin
2026-11-29 13:39               ` Leon Romanovsky
2026-11-30 15:57                 ` Lorenzo Stoakes (ARM)
2026-11-30 15:01   ` Mark Brown [this message]
2026-11-26 17:19 ` [PATCH 2/2] docs: security-bugs: ask AI-assisted fixes for their " Sasha Levin
2026-11-27  5:29   ` Willy Tarreau

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=407ae03d-a0eb-427c-97d4-35889c3b79fe@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=andrew@lunn.ch \
    --cc=bp@alien8.de \
    --cc=corbet@lwn.net \
    --cc=david@kernel.org \
    --cc=edumazet@google.com \
    --cc=geert@linux-m68k.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hansg@kernel.org \
    --cc=jic23@kernel.org \
    --cc=krzk@kernel.org \
    --cc=leon@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maz@kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=sashal@kernel.org \
    --cc=security@kernel.org \
    --cc=skhan@linuxfoundation.org \
    --cc=torvalds@linux-foundation.org \
    --cc=tytso@mit.edu \
    --cc=w@1wt.eu \
    --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®