From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796049523; b=MRMhfCNAMHZJ53v4HsvjJN7K1PMIu8W52DIZIsyUF95b1GiWH52me5Z1nz5shoKpIbJg gx5jNHB9DfrVA0CC/lMcTSci3ZHtVANQTlPDoWIBT7BcaE3VVMYBGiyh5bc990lPj8TL/ iBRbYNCstlxJu6xHGVp8REAIeGW4zxWJvyopEbVh53whrbp7RxU3LV40HcLwoFTd7FKD1 pOzr5nrJAeV7feIngTJetn9y4DccUOJx0yczxXnAM+HUs2woY6JY51mulYl22mzsCQTH5 WLCfGClS3iJtZPR5HwqrMUfVv3pDHE2aTUCRNZ8RKSIDwx/Ghb7auf+QDoKQvBIrJLA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796049523; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=x/ErWuDjSStaW71zjYT0IIHT74V6DDruSiWp9nmWVQc=; b=B7eKz1UWEL6KcHC+cPJnj6DE840ZVQlmnbw/vF4NvLSnF47BCWHih/pNmpuZVOek8K2L bmzHSsPr9TcUCCZ6cdOPyBO1ZZR1sZhsaNJbHa+ut07uzKnhHP5/TfF8756SM2jEX/gyj sfcG2A9nWqSx6iEiHGeDGfbs4iy/TZIcbfIBZsRtQCqdVQRY6jflpIv6VhYsgy8x7gYj1 WZBTRcpelpVolwrs9FTbXTGOi0LnD9/VcnKl9CY7R9Gbm/7gFaN98tAVJCO59HKkRPifd 3PEyNymGg3bjaDmcHoG7xzB566JGYjvhdesQoTFz4gxhxokD3PioIoUCDEbB7BPVmdQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=DAkJT9HL; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 528BA606A683; Mon, 30 Nov 2026 14:38:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=DAkJT9HL Received: by smtp.kernel.org (Postfix) with ESMTPSA id 726821F0092C; Mon, 30 Nov 2026 14:38:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796049522; bh=x/ErWuDjSStaW71zjYT0IIHT74V6DDruSiWp9nmWVQc=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=DAkJT9HLcjbquWgWFwidGR+TyACHWMJhitFpz2t49pWsmG1L51AV42DNgiX4hxX4D b0drMb8IGmGCogOKMf9QCr2mq8wVyWq4cUnVXojacVNGtpxMV4lxXpKQjZqWe3cFJY B+japwxqY6QQn9CjtElikSCY8P5a0LbyD17DASLBOMfy9OILQv2GhEE03pCC+ynkB3 jp8hfxzBnMHbh55+SRqOE5BB9cKflbvOhMtZlm+12OiTtkMxnuBSYlL/UC2V0haQUu a8LDyjrbgBJfM5D/HvVDhwr3+NHisfmwYvEQnUabmjagBprGErWwLW4FrY65fmBQ76 PPuC/CT8I+ejg== Date: Mon, 30 Nov 2026 09:38:39 -0500 From: Sasha Levin To: "Lorenzo Stoakes (ARM)" Cc: "David Hildenbrand (Arm)" , Willy Tarreau , Borislav Petkov , Krzysztof Kozlowski , Jonathan Corbet , Linus Torvalds , Leon Romanovsky , Mark Brown , Geert Uytterhoeven , Marc Zyngier , Eric Dumazet , Hans de Goede , Andrew Lunn , Jonathan Cameron , Andrew Morton , Shuah Khan , Randy Dunlap , Greg Kroah-Hartman , Theodore Ts'o , Security Officers , workflows@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Laurent Pinchart Subject: Re: [PATCH 1/2] docs: coding-assistants: ask for short changelogs and a cover letter Message-ID: References: <33c6cf3a-6b18-4e09-bd5c-68ed2c34de56@kernel.org> <20261127133756.455469-1-sashal@kernel.org> <20261127143124.1039470-1-sashal@kernel.org> <20261127153902.1320179-1-sashal@kernel.org> <20261127165951.1741013-1-sashal@kernel.org> X-Mailing-List: workflows@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: On Mon, Nov 30, 2026 at 12:40:31PM +0000, Lorenzo Stoakes (ARM) wrote: >(Sigh, I guess I got dragged back into this... maybe I'll regret it :) > >On Fri, Nov 27, 2026 at 11:59:51AM -0500, Sasha Levin wrote: >> On Fri, Nov 27, 2026 at 04:46:58PM +0000, Lorenzo Stoakes (ARM) wrote: >> >I haven't a clue why anybody would say they were too short, I have never seen a >> >slopped patch where that was the case? >> > >> >Why would adding more text address faking? That seems orthogonal really? >> >> Leon gave an example in the thread on the user-visible impact patch [1]. The >> patch came with a trimmed, three line KASAN report, and only the full log >> showed that the crash came from an out-of-tree module written to provoke it. >> >> >Am we in the community permitted to debate the defaults? Or are they already >> >decided upon? >> >> Of course, nothing is decided. I'm sorry if it came across as "shut up", I'm >> honestly not trying to avoid the debate here, I'm just trying to find a middle >> ground. > >There's no 'middle ground', the commit message literally cites numerous >maintainers complaining about over-long AI-generated crap, then you defend >_generating more AI crap text_ by, AFAICT, mis-citing Leon as the one >counter-example. Did you see the actual patch I've sent? 95% of it is an attempt to make the commit message shorter, more concise, and only include useful details. The other 5% is the escape hatch for Leon's usecase, which we could easily remove in the future. I think that some of the points you made further down in your reply argue a similar point, that this series makes commit messages longer somehow, but this really isn't the case: the goal here is to make the actual commit messages shorter and better. >And when I push back on that, you respond with 'subsystems can specify what they >want'. I'm not sure how else to view that? It wasn't because of some secret decision, it's because we already have per-subsystem rules around commit messages that are incompatible with eachother, so there's no way to write a subsystem-agnostic LLM guide that makes all subsystems happy. >Re a concrete suggestion, pretty sure I said, but my suggestion is to amend this >series to not tell the AI to generate _more crap_. We don't have to include the cover letter part, but as you (and others) noted earlier, just asking it to be more concise would not lead to better results. I suppose that I really want to keep the stuff that would go into the cover letter is because I feel we need to experiment here and see how different LLMs respond to our prompting, and we might need to adjust certain details based on what we see. Without all the data in the cover letter we won't have the information we need to make a good decision going forward. >Also don't tell it to add a cover letter to single patches, violating the >conventions of probably most of the kernel but certainly mm where out of the >~1000 odd recent single patches sent maybe ~20 had a cover letter, and were >likely corrected on that? So I don't like this either, but I don't have a better solution. We can skip it altogether, but I'm not sure it'll make things "better" longer term. >> I figured that for you it'd be "cheap" to automatically drop the cover letters, >> and you'd get better commit messages. > >You're adding more work by doing that, also where we want cover letters for >1 >patch, you're now making the _key_ means of getting a gist of the series >actively worse. > >So again, please, don't do that. Cool, if there's a strong objection to the cover letter approach, let's figure out some other way to make it better. -- Thanks, Sasha