Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4405712ioo; Tue, 31 May 2022 03:53:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUda7NxK7CzybGkjbunFQnTDMvw0+NrPTlz2P67R3gpwarl59VPQhPdYGQbJuhXQzV4s5Q X-Received: by 2002:a63:e049:0:b0:3fa:bab7:e9b4 with SMTP id n9-20020a63e049000000b003fabab7e9b4mr29376646pgj.111.1653994380973; Tue, 31 May 2022 03:53:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653994380; cv=none; d=google.com; s=arc-20160816; b=BueqRAg8sxkoaL4FozEC1XywMXstao3hAz64RMToJZG1DD5BXOMvbaP2c7FOXe/z+0 lO3yyZbLyvwB9JMgMiWBr7jrL0+DukGFwiihTNwIjQpUvE6BIsaCT+x3Y2cg0oDrO1ik 3JsXHErTOtfo6Vz/jXCxcszdoKFPKXaXHqsgWN146GqgE3FO0Q1P3cCran6AEhWH1bRm CFcBRy0T5MdNz875VVa9fRAzYwtGoEXKk1soOykptwd3TiandN+1dnKVAtXFwLcogjWi fR87x9GSQqACllNwjsxkFOSjj4hJ2fwygkENbi5MROliEHuympmi/ZHsAKbeNMKOROWU PeDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=oY2To6Dq8E4ZlSNzE9OvSOJ4Ec6SlQMPkQKRYIbD1j4=; b=OVINbAYXatoaOfQkYutBFz0w9MRYUoHYj9ynzkw9ZIs3J4kcQY/vF8fJWj3eG9QpE6 IwLlLhGxsEeGLnHl0mgf3KboX4KhSUA1u5T+XAQNKlBO4J+pqaarYJPfrdbuJUCmQVLz f2Rm6rD8XUDTOeCiU0HzwYA1T7/R0MFhoM0O2SwoWoHlazcpLrG1laaHT++Mx1Tzbs3T MtDs9yKbyF6zFVMM74fCcUfHOMBGxTaFARwq9W2zZ9Y0ncAWCa5f2r8/HZrpMOQqA5g8 vi9/btAEDpwTjIJTOAY73ULpzC18hB6dh7RsQ4lt0OsbNWhYsaP8cNEzeZ4Ryoo5fDNe qvCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LAYG1a7r; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ke20-20020a17090b339400b001e2ed6f8691si2191280pjb.185.2022.05.31.03.52.49; Tue, 31 May 2022 03:53:00 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LAYG1a7r; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238802AbiE3QBH (ORCPT + 99 others); Mon, 30 May 2022 12:01:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243122AbiE3QAl (ORCPT ); Mon, 30 May 2022 12:00:41 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9959748E59; Mon, 30 May 2022 08:56:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4DDFCB80E2E; Mon, 30 May 2022 15:56:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19569C36AE7; Mon, 30 May 2022 15:56:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653926182; bh=oY2To6Dq8E4ZlSNzE9OvSOJ4Ec6SlQMPkQKRYIbD1j4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=LAYG1a7rWuqBm9UiZAAn/vKEnZDJg/f4xBpHZZKdElqCHN070n/QJ3w70BKDdGFdZ 7szxQd3rnBJmIkjXnkTXxNchF3dQ1Nw+4Kyz2poAZrfu/OKNjCwqzNFU9xcie1Un57 PVnF99w8tArh1pbxOxGwtr1pkrlwAZ/VZ04ZLoeAlHejvJrwPp1leTzDt5TsRVOw8T /uj8NtafELR0Sn/4EYy8GGZ6V9h+ahcR5JpRKeal1l1xLYXCahBr1wenBnx7Rx+nA1 VuIaJqM03bUvtOMIR7hUcGf5NSpvPLsIwkpbmKj/rD/LvTGGZgVCbol6f/mOEJRo3V 1IwW85crae4fw== Received: by mail-oi1-f178.google.com with SMTP id y131so6972376oia.6; Mon, 30 May 2022 08:56:22 -0700 (PDT) X-Gm-Message-State: AOAM530cJFhvS+f2WprL+8x3daK6PiB6sFZp4Q8o+J7AhrU/dzp4qJKf u8DiE7hoWUF5EPznEDjufxHMadPtwPR+HzLnwFo= X-Received: by 2002:a05:6808:f88:b0:32b:d10f:cc6b with SMTP id o8-20020a0568080f8800b0032bd10fcc6bmr8351264oiw.228.1653926181276; Mon, 30 May 2022 08:56:21 -0700 (PDT) MIME-Version: 1.0 References: <20220530132425.1929512-1-sashal@kernel.org> <20220530132425.1929512-147-sashal@kernel.org> In-Reply-To: From: Ard Biesheuvel Date: Mon, 30 May 2022 17:56:09 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH AUTOSEL 5.18 147/159] ARM: 9201/1: spectre-bhb: rely on linker to emit cross-section literal loads To: Greg KH , Russell King Cc: Sasha Levin , Linux Kernel Mailing List , "# 3.4.x" , Russell King , Linus Walleij , Nicolas Pitre , Keith Packard , Arnd Bergmann , Linux ARM Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Mon, 30 May 2022 at 17:25, Greg KH wrote: > > On Mon, May 30, 2022 at 03:32:47PM +0200, Ard Biesheuvel wrote: > > AUTONAK > > > > As discussed before, please disregard all patches authored by me when > > running the bot. > > Ok, but why wasn't this spectre-bhb commit asked to be backported to > stable in the first place? Because it doesn't belong in -stable. Hence the lack of cc:stable or fixes: tags. > Do older kernels not need these types of > fixes? > This commit was part of a series of six, two of which were bug fixes and had fixes: tags. They do not have cc:stable tags because the 'fixed' patches had not been backported yet when they were sent out. So those are clear candidates for -stable, and as far as I can tell, they have already been backported. This patch does not fix a bug. It makes the asm code more resilient to potential bugs introduced inadvertently by future changes, which will be harder to detect now that we have three different versions of the exception vector table. (Any given system will only exercise one of the three, depending on whether and which Spectre-BHB workaround it requires) I build and boot test my patches carefully, and so I consciously decided that the regression risk of backporting this patch outweighs the benefits. This is why I did not add a cc:stable or fixes: tag. If a tag existed that said 'do not backport this unless explicitly requested', I would have added it. I would expect anyone that proposes this patch for -stable to be as diligent in ensuring that the patch is safe for backporting, which includes building the code with older GCC versions that those stable kernels still support, and boot testing the result on actual hardware. If this is part of the AUTOSEL workflow, then I stand corrected. But even then, this does not mean that the patch *belongs* in -stable. As you know, I enjoy throwing stable-kernel-rules.rst in your face, and I am pretty sure that using a bot to find patches that apply cleanly and happen not to cause build breakage is not covered by the criteria defined by that document by any stretch of the imagination. On top of that, I feel that 'saving' precious stable maintainer's time by using a bot to offload this burden to the community uninvited is really not ok. We work very hard to keep highly heterogeneous architectures such as ARM working across all supported platforms, and this is work enough as it is without all the bogus patches that AUTOSEL digs up without *any* justification beyond 'hey, it applies!'