stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/5] Documentation: add note block surrounding security patch note
       [not found] <20220314113329.485372-1-bagasdotme@gmail.com>
@ 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)
  3 siblings, 0 replies; 4+ 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] 4+ messages in thread

* [PATCH v2 3/5] Documentation: update stable review cycle documentation
       [not found] <20220314113329.485372-1-bagasdotme@gmail.com>
  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 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
  3 siblings, 0 replies; 4+ 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] 4+ messages in thread

* [PATCH v2 4/5] Documentation: add link to stable release candidate tree
       [not found] <20220314113329.485372-1-bagasdotme@gmail.com>
  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 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
  3 siblings, 0 replies; 4+ 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] 4+ messages in thread

* [PATCH v2 5/5] Documentation: update stable tree link
       [not found] <20220314113329.485372-1-bagasdotme@gmail.com>
                   ` (2 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
  3 siblings, 0 replies; 4+ 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] 4+ messages in thread

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220314113329.485372-1-bagasdotme@gmail.com>
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 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).