Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp853206rwb; Sat, 5 Aug 2023 02:20:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHwvTGGTbeakGNVQGQLWaGZ4at8NnpXKoVZEonivpbDOCaLfc3scYQg4pKTHLVQiEKzVOaQ X-Received: by 2002:a05:6870:e0d4:b0:1b4:7411:df6e with SMTP id a20-20020a056870e0d400b001b47411df6emr5269030oab.15.1691227229149; Sat, 05 Aug 2023 02:20:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691227229; cv=none; d=google.com; s=arc-20160816; b=YRvcepg16o5/o+FFN5T9NtwnTenGgB1j7uG1sKpWfKfDrHiZ7caQhjOxn99eIJwBMR BucdpoAxR3fwx/zTzyXhEhxP2WJhQiG1i4iJcJUIBeGAlgfjse7NRsNO2dAIl21sq+np jpYhISGWEr9SenibAD6rnbZJF4apeQJO5lv+C4hjZCbMYmJHk+U1Udp4QZ7dS+qpAdPh JT12abVW355BdX7fiC0Jf/cEoLwyxUOphC0FvlNLM+ozHNGXmEWYgT7+gW3yYe2zdnJW f6XOPgkqyj39/vBCDqab8rSSGPt7Q/OVkktOLI4IUQJx9oNX7xGx9fdpDZSr3uZzGN/p 9XWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=/Wze8VF6ex4IimFYgOV6xOCW/QguWneDfeQg1QPDT/I=; fh=IyOYz2aApVSZcG0zYEej1oDoCpl4LIOyTRZ6Vqq7g1o=; b=o3xOt+bFOGkmU9tKtRcMojOW2YVypRgolPAODWw3lpu7IZB5womS1Exftrpuq8eyjt U9pP45m25RQ/1HryNHw3EkmIDQoFP767kk42l4cog/sjMrJNVMre/O2MVy1VINHrmPh8 0fdvucD/YRzofWb9kLODT8Yk+Y4c/+VjHGcin6ci+NRoOEHFHwYNNPi4wUuaXqWsgVW2 tXSSw9YE2XsTorMaUFl3d9aKKPSTaRyyqyAKsX2575qpzAZ2eGk5xs/wq+km2AaEYFKw dZkxG77JoknbTVrp8xr4CIF3OR6bmB07dT414altWMW7UlT5JBk38EicaYXs7TsKbzUt lsFg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d8-20020a17090ad98800b002682498d8c0si6175541pjv.187.2023.08.05.02.20.17; Sat, 05 Aug 2023 02:20:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229877AbjHEHVx (ORCPT + 99 others); Sat, 5 Aug 2023 03:21:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229814AbjHEHVk (ORCPT ); Sat, 5 Aug 2023 03:21:40 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52DB64ECB; Sat, 5 Aug 2023 00:21:38 -0700 (PDT) Received: from ip4d148da6.dynamic.kabel-deutschland.de ([77.20.141.166] helo=truhe.fritz.box); authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1qSBbU-0002p2-0R; Sat, 05 Aug 2023 09:21:36 +0200 From: Thorsten Leemhuis To: Greg KH , stable@vger.kernel.org Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Sasha Levin , Jonathan Corbet Subject: [PATCH v1 5/5] docs: stable-kernel-rules: mention that regressions must be prevented Date: Sat, 5 Aug 2023 09:21:33 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;linux@leemhuis.info;1691220098;d8ef99a8; X-HE-SMSGID: 1qSBbU-0002p2-0R X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document that changes intended for a specific stable series have to be in all newer series still maintained, as otherwise users would run into regressions. CC: Greg KH CC: Sasha Levin CC: Jonathan Corbet Signed-off-by: Thorsten Leemhuis --- Documentation/process/stable-kernel-rules.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/process/stable-kernel-rules.rst b/Documentation/process/stable-kernel-rules.rst index 2b7f04211d9d..41f1e07abfdf 100644 --- a/Documentation/process/stable-kernel-rules.rst +++ b/Documentation/process/stable-kernel-rules.rst @@ -56,6 +56,12 @@ at the time of submission. :ref:`option_3` is an alternative to the two earlier options for cases where a mainlined patch needs adjustments to apply in older series (for example due to API changes). +When using option 2 or 3 you can ask for your change to be included in specific +stable series. When doing so, ensure the fix or an equivalent is applicable, +submitted, or already present in all newer stable trees still supported. This is +meant to prevent regressions that users might later encounter on updating, if +e.g. a fix merged for 5.19-rc1 would be backported to 5.10.y, but not to 5.15.y. + .. _option_1: Option 1 @@ -133,7 +139,7 @@ Option 2 If the patch already has been merged to mainline, send an email to stable@vger.kernel.org containing the subject of the patch, the commit ID, -why you think it should be applied, and what kernel version you wish it to +why you think it should be applied, and what kernel versions you wish it to be applied to. .. _option_3: @@ -142,7 +148,7 @@ Option 3 ******** Send the patch, after verifying that it follows the above rules, to -stable@vger.kernel.org and mention the kernel version you wish it to be applied +stable@vger.kernel.org and mention the kernel versions you wish it to be applied to. When doing so, you must note the upstream commit ID in the changelog of your submission with a separate line above the commit text, like this: -- 2.40.1