* [PATCH] Documentation: stable: Add rule on what kind of patches are accepted
@ 2022-12-22 9:16 Tudor Ambarus
2022-12-22 12:56 ` Bagas Sanjaya
2022-12-22 13:32 ` Greg KH
0 siblings, 2 replies; 7+ messages in thread
From: Tudor Ambarus @ 2022-12-22 9:16 UTC (permalink / raw)
To: gregkh, sashal, corbet
Cc: stable, linux-doc, linux-kernel, joneslee, Tudor Ambarus
The list of rules on what kind of patches are accepted, and which ones
are not into the “-stable” tree, did not mention anything about new
features and let the reader use its own judgement. One may be under the
impression that new features are not accepted at all, but that's not true:
new features are not accepted unless they fix a reported problem.
Update documentation with missing rule.
Link: https://lore.kernel.org/lkml/fc60e8da-1187-ca2b-1aa8-28e01ea2769a@linaro.org/T/#mff820d23793baf637a1b39f5dfbcd9d4d0f0c3a6
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
---
Documentation/process/stable-kernel-rules.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/process/stable-kernel-rules.rst b/Documentation/process/stable-kernel-rules.rst
index 2fd8aa593a28..266290fab1d9 100644
--- a/Documentation/process/stable-kernel-rules.rst
+++ b/Documentation/process/stable-kernel-rules.rst
@@ -22,6 +22,7 @@ Rules on what kind of patches are accepted, and which ones are not, into the
maintainer and include an addendum linking to a bugzilla entry if it
exists and additional information on the user-visible impact.
- New device IDs and quirks are also accepted.
+ - New features are not accepted unless they fix a reported problem.
- No "theoretical race condition" issues, unless an explanation of how the
race can be exploited is also provided.
- It cannot contain any "trivial" fixes in it (spelling changes,
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH] Documentation: stable: Add rule on what kind of patches are accepted
2022-12-22 9:16 [PATCH] Documentation: stable: Add rule on what kind of patches are accepted Tudor Ambarus
@ 2022-12-22 12:56 ` Bagas Sanjaya
2022-12-22 13:01 ` Tudor Ambarus
2022-12-22 13:32 ` Greg KH
1 sibling, 1 reply; 7+ messages in thread
From: Bagas Sanjaya @ 2022-12-22 12:56 UTC (permalink / raw)
To: Tudor Ambarus, gregkh, sashal, corbet
Cc: stable, linux-doc, linux-kernel, joneslee
On 12/22/22 16:16, Tudor Ambarus wrote:
> The list of rules on what kind of patches are accepted, and which ones
> are not into the “-stable” tree, did not mention anything about new
> features and let the reader use its own judgement. One may be under the
> impression that new features are not accepted at all, but that's not true:
> new features are not accepted unless they fix a reported problem.
> Update documentation with missing rule.
>
Are there any other examples of problems that can "only" be solved by
introducing new features? Or new huge features that are virtually
harder to backport?
--
An old man doll... just what I always wanted! - Clara
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Documentation: stable: Add rule on what kind of patches are accepted
2022-12-22 12:56 ` Bagas Sanjaya
@ 2022-12-22 13:01 ` Tudor Ambarus
2022-12-23 1:55 ` Bagas Sanjaya
0 siblings, 1 reply; 7+ messages in thread
From: Tudor Ambarus @ 2022-12-22 13:01 UTC (permalink / raw)
To: Bagas Sanjaya, gregkh, sashal, corbet
Cc: stable, linux-doc, linux-kernel, joneslee
Hi,
On 22.12.2022 14:56, Bagas Sanjaya wrote:
> On 12/22/22 16:16, Tudor Ambarus wrote:
>> The list of rules on what kind of patches are accepted, and which ones
>> are not into the “-stable” tree, did not mention anything about new
>> features and let the reader use its own judgement. One may be under the
>> impression that new features are not accepted at all, but that's not true:
>> new features are not accepted unless they fix a reported problem.
>> Update documentation with missing rule.
>>
>
> Are there any other examples of problems that can "only" be solved by
> introducing new features? Or new huge features that are virtually
> harder to backport?
>
Here's an example:
https://lore.kernel.org/linux-kernel/20221222083545.1972489-1-tudor.ambarus@linaro.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Documentation: stable: Add rule on what kind of patches are accepted
2022-12-22 9:16 [PATCH] Documentation: stable: Add rule on what kind of patches are accepted Tudor Ambarus
2022-12-22 12:56 ` Bagas Sanjaya
@ 2022-12-22 13:32 ` Greg KH
2022-12-22 14:20 ` Tudor Ambarus
1 sibling, 1 reply; 7+ messages in thread
From: Greg KH @ 2022-12-22 13:32 UTC (permalink / raw)
To: Tudor Ambarus; +Cc: sashal, corbet, stable, linux-doc, linux-kernel, joneslee
On Thu, Dec 22, 2022 at 11:16:58AM +0200, Tudor Ambarus wrote:
> The list of rules on what kind of patches are accepted, and which ones
> are not into the “-stable” tree, did not mention anything about new
> features and let the reader use its own judgement. One may be under the
> impression that new features are not accepted at all, but that's not true:
> new features are not accepted unless they fix a reported problem.
> Update documentation with missing rule.
>
> Link: https://lore.kernel.org/lkml/fc60e8da-1187-ca2b-1aa8-28e01ea2769a@linaro.org/T/#mff820d23793baf637a1b39f5dfbcd9d4d0f0c3a6
> Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
> ---
> Documentation/process/stable-kernel-rules.rst | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/process/stable-kernel-rules.rst b/Documentation/process/stable-kernel-rules.rst
> index 2fd8aa593a28..266290fab1d9 100644
> --- a/Documentation/process/stable-kernel-rules.rst
> +++ b/Documentation/process/stable-kernel-rules.rst
> @@ -22,6 +22,7 @@ Rules on what kind of patches are accepted, and which ones are not, into the
> maintainer and include an addendum linking to a bugzilla entry if it
> exists and additional information on the user-visible impact.
> - New device IDs and quirks are also accepted.
> + - New features are not accepted unless they fix a reported problem.
No need to call this out, it falls under the "fixes a problem" option,
right?
The goal is not to iterate every single option here, that would be
crazy. Let's keep it short and simple, our biggest problem is that
people do NOT read this document, not that it does not list these types
of corner cases.
So thanks for the patch, but I will not accept it.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Documentation: stable: Add rule on what kind of patches are accepted
2022-12-22 13:32 ` Greg KH
@ 2022-12-22 14:20 ` Tudor Ambarus
2022-12-22 16:24 ` Greg KH
0 siblings, 1 reply; 7+ messages in thread
From: Tudor Ambarus @ 2022-12-22 14:20 UTC (permalink / raw)
To: Greg KH; +Cc: sashal, corbet, stable, linux-doc, linux-kernel, joneslee
On 22.12.2022 15:32, Greg KH wrote:
> On Thu, Dec 22, 2022 at 11:16:58AM +0200, Tudor Ambarus wrote:
>> The list of rules on what kind of patches are accepted, and which ones
>> are not into the “-stable” tree, did not mention anything about new
>> features and let the reader use its own judgement. One may be under the
>> impression that new features are not accepted at all, but that's not true:
>> new features are not accepted unless they fix a reported problem.
>> Update documentation with missing rule.
>>
>> Link: https://lore.kernel.org/lkml/fc60e8da-1187-ca2b-1aa8-28e01ea2769a@linaro.org/T/#mff820d23793baf637a1b39f5dfbcd9d4d0f0c3a6
>> Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
>> ---
>> Documentation/process/stable-kernel-rules.rst | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/Documentation/process/stable-kernel-rules.rst b/Documentation/process/stable-kernel-rules.rst
>> index 2fd8aa593a28..266290fab1d9 100644
>> --- a/Documentation/process/stable-kernel-rules.rst
>> +++ b/Documentation/process/stable-kernel-rules.rst
>> @@ -22,6 +22,7 @@ Rules on what kind of patches are accepted, and which ones are not, into the
>> maintainer and include an addendum linking to a bugzilla entry if it
>> exists and additional information on the user-visible impact.
>> - New device IDs and quirks are also accepted.
>> + - New features are not accepted unless they fix a reported problem.
>
> No need to call this out, it falls under the "fixes a problem" option,
> right?
>
> The goal is not to iterate every single option here, that would be
> crazy. Let's keep it short and simple, our biggest problem is that
> people do NOT read this document, not that it does not list these types
> of corner cases.
>
When I read the document I thought that new features are not accepted
at all, so I took into consideration making a custom fix for stable.
But that would have been worse, as it implied forking the stable and
would have made backporting additional fixes harder. An explicit rule
like this would have saved me few emails changed and few hours spent on
looking for an alternative fix. But maybe others find this a
common sense implied rule and you won't have to be summoned for it
anymore.
> So thanks for the patch, but I will not accept it.
>
Okay, as you prefer.
Cheers,
ta
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Documentation: stable: Add rule on what kind of patches are accepted
2022-12-22 14:20 ` Tudor Ambarus
@ 2022-12-22 16:24 ` Greg KH
0 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2022-12-22 16:24 UTC (permalink / raw)
To: Tudor Ambarus; +Cc: sashal, corbet, stable, linux-doc, linux-kernel, joneslee
On Thu, Dec 22, 2022 at 04:20:42PM +0200, Tudor Ambarus wrote:
>
>
> On 22.12.2022 15:32, Greg KH wrote:
> > On Thu, Dec 22, 2022 at 11:16:58AM +0200, Tudor Ambarus wrote:
> > > The list of rules on what kind of patches are accepted, and which ones
> > > are not into the “-stable” tree, did not mention anything about new
> > > features and let the reader use its own judgement. One may be under the
> > > impression that new features are not accepted at all, but that's not true:
> > > new features are not accepted unless they fix a reported problem.
> > > Update documentation with missing rule.
> > >
> > > Link: https://lore.kernel.org/lkml/fc60e8da-1187-ca2b-1aa8-28e01ea2769a@linaro.org/T/#mff820d23793baf637a1b39f5dfbcd9d4d0f0c3a6
> > > Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
> > > ---
> > > Documentation/process/stable-kernel-rules.rst | 1 +
> > > 1 file changed, 1 insertion(+)
> > >
> > > diff --git a/Documentation/process/stable-kernel-rules.rst b/Documentation/process/stable-kernel-rules.rst
> > > index 2fd8aa593a28..266290fab1d9 100644
> > > --- a/Documentation/process/stable-kernel-rules.rst
> > > +++ b/Documentation/process/stable-kernel-rules.rst
> > > @@ -22,6 +22,7 @@ Rules on what kind of patches are accepted, and which ones are not, into the
> > > maintainer and include an addendum linking to a bugzilla entry if it
> > > exists and additional information on the user-visible impact.
> > > - New device IDs and quirks are also accepted.
> > > + - New features are not accepted unless they fix a reported problem.
> >
> > No need to call this out, it falls under the "fixes a problem" option,
> > right?
> >
> > The goal is not to iterate every single option here, that would be
> > crazy. Let's keep it short and simple, our biggest problem is that
> > people do NOT read this document, not that it does not list these types
> > of corner cases.
> >
>
> When I read the document I thought that new features are not accepted
> at all, so I took into consideration making a custom fix for stable.
> But that would have been worse, as it implied forking the stable and
> would have made backporting additional fixes harder. An explicit rule
> like this would have saved me few emails changed and few hours spent on
> looking for an alternative fix. But maybe others find this a
> common sense implied rule and you won't have to be summoned for it
> anymore.
Let's just say that this is the first time in the 18+ years of stable
kernel development that it has come up as a question like this :)
thanks,
greg k-h
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-12-23 1:55 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-22 9:16 [PATCH] Documentation: stable: Add rule on what kind of patches are accepted Tudor Ambarus
2022-12-22 12:56 ` Bagas Sanjaya
2022-12-22 13:01 ` Tudor Ambarus
2022-12-23 1:55 ` Bagas Sanjaya
2022-12-22 13:32 ` Greg KH
2022-12-22 14:20 ` Tudor Ambarus
2022-12-22 16:24 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).