linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Stable kernel release update
@ 2022-03-14 11:33 Bagas Sanjaya
  2022-03-14 11:33 ` [PATCH v2 1/5] Documentation: add note block surrounding security patch note Bagas Sanjaya
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Bagas Sanjaya @ 2022-03-14 11:33 UTC (permalink / raw)
  To: linux-doc; +Cc: Bagas Sanjaya

The stable release process documented in stable-kernel-rules.rst needs
to be updated to reflect current procedure.

Patch 1 and 2 reorganize section on submission procedure.

Patch 3 contains the actual process documentation update.

Patch 4 and 5 deals with various stable tree links.

Changes since v1 [1]:
  - Following the submission: remove the case when manual backport is
    requested from the maintainer
  - Review cycle: remove mention to [PATCH AUTOSEL/MANUALSEL]
  - Review cycle: just spell "developers and testers" when testing -rc
    releases
  - Review cycle: respond to -rc releases with Tested-by: message
  - Submission procedure: split security patch note commit into its own
    patch
  - Trees: add warning for stable-rc tree

[1]:
https://lore.kernel.org/linux-doc/20220312080043.37581-1-bagasdotme@gmail.com/T/#t

Bagas Sanjaya (5):
  Documentation: add note block surrounding security patch note
  Documentation: remove "For all other submissions..." section
  Documentation: update stable review cycle documentation
  Documentation: add link to stable release candidate tree
  Documentation: update stable tree link

 Documentation/process/stable-kernel-rules.rst | 35 ++++++++++++++-----
 1 file changed, 27 insertions(+), 8 deletions(-)


base-commit: ffb217a13a2eaf6d5bd974fc83036a53ca69f1e2
-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2 1/5] Documentation: add note block surrounding security patch note
  2022-03-14 11:33 [PATCH v2 0/5] Stable kernel release update Bagas Sanjaya
@ 2022-03-14 11:33 ` Bagas Sanjaya
  2022-03-14 11:33 ` [PATCH v2 2/5] Documentation: remove "For all other submissions..." section Bagas Sanjaya
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Bagas Sanjaya @ 2022-03-14 11:33 UTC (permalink / raw)
  To: linux-doc
  Cc: Bagas Sanjaya, Greg Kroah-Hartman, Sasha Levin, Jonathan Corbet,
	stable, linux-kernel

Security patches have different handling than rest of patches for
review.

Enclose note paragraph about such patches in `.. note::` block.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Sasha Levin <sashal@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: stable@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/process/stable-kernel-rules.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/process/stable-kernel-rules.rst b/Documentation/process/stable-kernel-rules.rst
index 003c865e9c2..691d7052546 100644
--- a/Documentation/process/stable-kernel-rules.rst
+++ b/Documentation/process/stable-kernel-rules.rst
@@ -35,7 +35,9 @@ Rules on what kind of patches are accepted, and which ones are not, into the
 Procedure for submitting patches to the -stable tree
 ----------------------------------------------------
 
- - Security patches should not be handled (solely) by the -stable review
+.. note::
+
+   Security patches should not be handled (solely) by the -stable review
    process but should follow the procedures in
    :ref:`Documentation/admin-guide/security-bugs.rst <securitybugs>`.
 
-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 2/5] Documentation: remove "For all other submissions..." section
  2022-03-14 11:33 [PATCH v2 0/5] Stable kernel release update Bagas Sanjaya
  2022-03-14 11:33 ` [PATCH v2 1/5] Documentation: add note block surrounding security patch note Bagas Sanjaya
@ 2022-03-14 11:33 ` Bagas Sanjaya
  2022-03-14 11:33 ` [PATCH v2 3/5] Documentation: update stable review cycle documentation Bagas Sanjaya
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Bagas Sanjaya @ 2022-03-14 11:33 UTC (permalink / raw)
  To: linux-doc; +Cc: Bagas Sanjaya

Remove the redundant section, making option lists subsection of
"Procedure for submitting patches..." section. As a replacement, begin
the section by counting the options number, which is 3 options.

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/process/stable-kernel-rules.rst | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Documentation/process/stable-kernel-rules.rst b/Documentation/process/stable-kernel-rules.rst
index 691d7052546..d8ce4c0c775 100644
--- a/Documentation/process/stable-kernel-rules.rst
+++ b/Documentation/process/stable-kernel-rules.rst
@@ -41,8 +41,7 @@ Procedure for submitting patches to the -stable tree
    process but should follow the procedures in
    :ref:`Documentation/admin-guide/security-bugs.rst <securitybugs>`.
 
-For all other submissions, choose one of the following procedures
------------------------------------------------------------------
+There are three options:
 
 .. _option_1:
 
-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 3/5] Documentation: update stable review cycle documentation
  2022-03-14 11:33 [PATCH v2 0/5] Stable kernel release update Bagas Sanjaya
  2022-03-14 11:33 ` [PATCH v2 1/5] Documentation: add note block surrounding security patch note Bagas Sanjaya
  2022-03-14 11:33 ` [PATCH v2 2/5] Documentation: remove "For all other submissions..." section Bagas Sanjaya
@ 2022-03-14 11:33 ` Bagas Sanjaya
  2022-03-14 11:33 ` [PATCH v2 4/5] Documentation: add link to stable release candidate tree Bagas Sanjaya
  2022-03-14 11:33 ` [PATCH v2 5/5] Documentation: update stable tree link Bagas Sanjaya
  4 siblings, 0 replies; 6+ messages in thread
From: Bagas Sanjaya @ 2022-03-14 11:33 UTC (permalink / raw)
  To: linux-doc
  Cc: Bagas Sanjaya, Greg Kroah-Hartman, Sasha Levin, Jonathan Corbet,
	stable, linux-kernel

In recent times, the review cycle for stable releases have been changed.
In particular, there is release candidate phase between ACKing patches
and new stable release. Also, in case of failed submissions (fail to
apply to stable tree), manual backport (Option 3) have to be submitted
instead.

Update the release cycle documentation on stable-kernel-rules.rst to
reflect the above.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Sasha Levin <sashal@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: stable@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/process/stable-kernel-rules.rst | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/Documentation/process/stable-kernel-rules.rst b/Documentation/process/stable-kernel-rules.rst
index d8ce4c0c775..c207e476c11 100644
--- a/Documentation/process/stable-kernel-rules.rst
+++ b/Documentation/process/stable-kernel-rules.rst
@@ -82,8 +82,8 @@ it to be applied to.
 :ref:`option_2` and :ref:`option_3` are more useful if the patch isn't deemed
 worthy at the time it is applied to a public git tree (for instance, because
 it deserves more regression testing first).  :ref:`option_3` is especially
-useful if the patch needs some special handling to apply to an older kernel
-(e.g., if API's have changed in the meantime).
+useful if the original upstream patch needs to be backported (for example
+the backport needs some special handling due to e.g. API changes).
 
 Note that for :ref:`option_3`, if the patch deviates from the original
 upstream patch (for example because it had to be backported) this must be very
@@ -152,8 +152,17 @@ Review cycle
  - If the patch is rejected by a member of the committee, or linux-kernel
    members object to the patch, bringing up issues that the maintainers and
    members did not realize, the patch will be dropped from the queue.
- - At the end of the review cycle, the ACKed patches will be added to the
-   latest -stable release, and a new -stable release will happen.
+ - The ACKed patches will be posted again as part of release candidate (-rc)
+   to be tested by developers and testers.
+ - Usually only one -rc release is made, however if there are any outstanding
+   issues, some patches may be modified or dropped or additional patches may
+   be queued. Additional -rc releases are then released and tested until no
+   issues are found.
+ - Responding to the -rc releases can be done on the mailing list by sending
+   a "Tested-by:" email with any testing information desired. The "Tested-by:"
+   tags will be collected and added to the release commit.
+ - At the end of the review cycle, the new -stable release will be released
+   containing all the queued and tested patches.
  - Security patches will be accepted into the -stable tree directly from the
    security kernel team, and not go through the normal review cycle.
    Contact the kernel security team for more details on this procedure.
-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 4/5] Documentation: add link to stable release candidate tree
  2022-03-14 11:33 [PATCH v2 0/5] Stable kernel release update Bagas Sanjaya
                   ` (2 preceding siblings ...)
  2022-03-14 11:33 ` [PATCH v2 3/5] Documentation: update stable review cycle documentation Bagas Sanjaya
@ 2022-03-14 11:33 ` Bagas Sanjaya
  2022-03-14 11:33 ` [PATCH v2 5/5] Documentation: update stable tree link Bagas Sanjaya
  4 siblings, 0 replies; 6+ messages in thread
From: Bagas Sanjaya @ 2022-03-14 11:33 UTC (permalink / raw)
  To: linux-doc
  Cc: Bagas Sanjaya, Greg Kroah-Hartman, Sasha Levin, Jonathan Corbet,
	stable, linux-kernel

There is also stable release candidate tree. Mention it, however with a
warning that the tree is for testing purposes.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Sasha Levin <sashal@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: stable@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/process/stable-kernel-rules.rst | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/process/stable-kernel-rules.rst b/Documentation/process/stable-kernel-rules.rst
index c207e476c11..c494914622e 100644
--- a/Documentation/process/stable-kernel-rules.rst
+++ b/Documentation/process/stable-kernel-rules.rst
@@ -180,6 +180,15 @@ Trees
 
 	https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
 
+ - The release candidate of all stable kernel versions can be found at:
+
+        https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/
+
+   .. warning::
+      The -stable-rc tree is a snapshot in time of the stable-queue tree and
+      will change frequently, hence will be rebased often. It should only be
+      used for testing purposes (e.g. to be consumed by CI systems).
+
 
 Review committee
 ----------------
-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 5/5] Documentation: update stable tree link
  2022-03-14 11:33 [PATCH v2 0/5] Stable kernel release update Bagas Sanjaya
                   ` (3 preceding siblings ...)
  2022-03-14 11:33 ` [PATCH v2 4/5] Documentation: add link to stable release candidate tree Bagas Sanjaya
@ 2022-03-14 11:33 ` Bagas Sanjaya
  4 siblings, 0 replies; 6+ messages in thread
From: Bagas Sanjaya @ 2022-03-14 11:33 UTC (permalink / raw)
  To: linux-doc
  Cc: Bagas Sanjaya, Greg Kroah-Hartman, Sasha Levin, Jonathan Corbet,
	stable, linux-kernel

The link to stable tree is redirected to
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git. Update
accordingly.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Sasha Levin <sashal@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: stable@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/process/stable-kernel-rules.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/process/stable-kernel-rules.rst b/Documentation/process/stable-kernel-rules.rst
index c494914622e..a9a479fba90 100644
--- a/Documentation/process/stable-kernel-rules.rst
+++ b/Documentation/process/stable-kernel-rules.rst
@@ -178,7 +178,7 @@ Trees
  - The finalized and tagged releases of all stable kernels can be found
    in separate branches per version at:
 
-	https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
+	https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
 
  - The release candidate of all stable kernel versions can be found at:
 
-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-03-14 11:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-14 11:33 [PATCH v2 0/5] Stable kernel release update Bagas Sanjaya
2022-03-14 11:33 ` [PATCH v2 1/5] Documentation: add note block surrounding security patch note Bagas Sanjaya
2022-03-14 11:33 ` [PATCH v2 2/5] Documentation: remove "For all other submissions..." section Bagas Sanjaya
2022-03-14 11:33 ` [PATCH v2 3/5] Documentation: update stable review cycle documentation Bagas Sanjaya
2022-03-14 11:33 ` [PATCH v2 4/5] Documentation: add link to stable release candidate tree Bagas Sanjaya
2022-03-14 11:33 ` [PATCH v2 5/5] Documentation: update stable tree link Bagas Sanjaya

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).