public inbox for ksummit@lists.linux.dev
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Sasha Levin <sashal@kernel.org>
Cc: James Bottomley <James.Bottomley@hansenpartnership.com>,
	ksummit@lists.linux.dev, Greg KH <gregkh@linuxfoundation.org>
Subject: Re: Proposal: Enhancing Commit Tagging for Stable Kernel Branches
Date: Mon, 15 Jul 2024 08:15:30 +0200	[thread overview]
Message-ID: <20240715081504.28c0805b@foz.lan> (raw)
In-Reply-To: <ZpQbQa-_8GkoiPhE@sashalap>

Em Sun, 14 Jul 2024 14:38:57 -0400
Sasha Levin <sashal@kernel.org> escreveu:

> On Sun, Jul 14, 2024 at 09:35:26AM -0400, James Bottomley wrote:
> >On Sun, 2024-07-14 at 08:31 -0400, Sasha Levin wrote:  
> >> Hi folks,
> >>
> >> To address these shortcomings, I propose
> >> introducing an "Improves tag" (Improves: 012345678901 ("commit
> >> subject")) and altering the meaning of the Fixes tag.  

I don't think that a "Improves tag" would solve anything.

> All our documentation explicitly says that a stable tag is a *must*,
> we've been nagging folks to add it when they haven't, and we give them
> the spiel whenever we're asked why a certain fixes-only commit didn't
> make it into the stable trees.

Agreed.

> > So the clear rules look like they should be
> >
> >   1. every patch fixing something should have a fixes tag pointing to
> >      the fixed commit
> >   2. Only patches with cc:stable should go automatically in to stable
> >      trees and as far back as the fixes tag allows
> >   3. if a patch without cc:stable is later discovered to be a required
> >      fix, people can ask for it to be backported.  
> 
> These were the rules for a while, and the issue was that there were so
> many commits without a stable tag that needed to be backported that the
> model of "later discovered" simply overwhelmed the process.
> 
> We can't go back to that again.

In my case, I use to explicitly c/c stable when I feel the need of a
backport and I'm confident enough that the patch won't cause any
regressions. 

I use fixes on all sorts of fixes, including some that might
change behavior or eventually cause regressions. So, better not
hush backporting them.

There are some border cases though. For instance, patches adding new
PCI/USB IDs to drivers aren't technically fixes[1]. They're just usual
driver maintenance to support newer models (I'm considering the case
where the chipset is the same). Sometimes, those are not too trivial 
(just add new IDs to the id tables), as they may require some extra 
logic to properly setup resources like irqs, gpios, PM lines, etc.

If we had a new "improves" tag, I would be in doubt on such patches
about tagging them or not, as technically it is not an improvement 
either, as the driver itself didn't require any changes, except for 
the model-dependent resource allocation logic.

Still, they make sense to be backported on distros, as it may solve
use case problems of devices not being properly detected, thus closing
bugs at the distros bug tracking systems. (so, they're "Fixes" from
distro standpoint).

[1] some people still consider them fixes against the initial driver
    submission, even if the device model to be added didn't exist at
    the time the driver was written.

Thanks,
Mauro

  parent reply	other threads:[~2024-07-15  6:15 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-14 12:31 Proposal: Enhancing Commit Tagging for Stable Kernel Branches Sasha Levin
2024-07-14 13:35 ` James Bottomley
2024-07-14 15:35   ` Andrew Lunn
2024-07-14 16:34     ` James Bottomley
2024-07-14 18:38   ` Sasha Levin
2024-07-14 19:20     ` James Bottomley
2024-07-14 20:18       ` Sasha Levin
2024-07-15 18:00         ` Theodore Ts'o
2024-07-15 18:07           ` Mark Brown
2024-07-15 19:06           ` Dan Carpenter
2024-07-15 19:23             ` Steven Rostedt
2024-07-15 19:24             ` James Bottomley
2024-07-15 19:28               ` Steven Rostedt
2024-07-15 19:30                 ` James Bottomley
2024-07-15 19:39               ` Dan Carpenter
2024-07-16  6:30                 ` Greg KH
2024-07-15 20:25               ` Mauro Carvalho Chehab
2024-07-15 20:47             ` Dmitry Torokhov
2024-07-16  6:28               ` Greg KH
2024-07-16 12:20                 ` Takashi Iwai
2024-07-17 22:05                   ` Dan Carpenter
2024-07-18  7:34                     ` Takashi Iwai
2024-07-18 14:48                       ` Dan Carpenter
2024-07-18 14:56                         ` James Bottomley
2024-07-18 16:36                           ` Dan Carpenter
2024-07-19  0:49                             ` NeilBrown
2024-07-19  1:35                               ` Dan Carpenter
2024-07-19 11:55                                 ` Vegard Nossum
2024-07-23 14:14                                   ` Jiri Kosina
2024-07-16 14:51       ` Jason Gunthorpe
2024-07-16 19:38         ` Dan Carpenter
2024-07-15  6:15     ` Mauro Carvalho Chehab [this message]
2024-07-14 17:07 ` Linus Torvalds
2024-07-14 18:47   ` Sasha Levin
2024-07-14 19:27     ` Linus Torvalds
2024-07-14 20:27       ` Sasha Levin
2024-07-14 23:05         ` James Bottomley
2024-07-14 23:09           ` Linus Torvalds
2024-07-15  8:02             ` Greg KH
2024-07-15  8:53               ` Mauro Carvalho Chehab
2024-07-15 12:48               ` Mimi Zohar
2024-07-15 12:52                 ` Mimi Zohar
2024-07-15 14:34                   ` Alexandre Belloni
2024-07-15 14:40                     ` Greg KH
2024-07-15 15:00                       ` Jonathan Corbet
2024-07-15 15:07                         ` James Bottomley
2024-07-15 15:19                           ` Sasha Levin
2024-07-15 15:31                             ` James Bottomley
2024-07-15 15:42                             ` Dan Carpenter
2024-07-15 15:10                         ` Greg KH
2024-07-15 17:45                           ` Mauro Carvalho Chehab
2024-07-15 18:04                       ` Mark Brown
2024-07-15 20:51                         ` Dmitry Torokhov
2024-07-16  6:25                         ` Greg KH
2024-07-16 15:00                           ` Mark Brown
2024-07-14 23:29           ` NeilBrown
2024-07-14 23:29         ` Steven Rostedt

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=20240715081504.28c0805b@foz.lan \
    --to=mchehab+huawei@kernel.org \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=ksummit@lists.linux.dev \
    --cc=sashal@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