Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp350431rdb; Wed, 17 Jan 2024 04:08:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IHE0tyUrYvLMCbbecYJ1d76hke1hKDeWQWxfqs5BaTkKuVV6arcsRLJAEpqiBhq3mGh5htc X-Received: by 2002:a05:6359:308c:b0:175:c16b:86f4 with SMTP id rg12-20020a056359308c00b00175c16b86f4mr4466677rwb.56.1705493333354; Wed, 17 Jan 2024 04:08:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705493333; cv=pass; d=google.com; s=arc-20160816; b=ZRwGvqoht97B/KOCeUT7eVuluKJZQ9LZbdf4uU7BSxRFS1SMoWtRaKBR1wlcavQmZs vFVEQ9f0+SyKj4bfcY1EXJ7p2Rt/HBY1pWmawcNyPZorKg3Zru7qTx0qiqmohJsFC5W5 8Fc9NsBKwV/KsBBPZ/t2WDr9P988d/etPwBzoA8b3F8h83tA3l0iuvg7FC8YBVFXzFR1 D4wPDNKThlj90XSFFLAU+T8IKgnWZtt+XyiZJw9Xo8VLcSLXb3OB4EvRSHmFbNOZbbZc IBELxuxm1QefkKrFr8x0Uy6oSp1bTqG0KwDJ7a9dBCVGT84lnIXc5N2sx14hNvqvtywx oUPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=LqAyGLJmxtmKr1gTdBM89OPgFrgfVa3gToVmgHtnP/o=; fh=iIeRyOostS1BC6JcGbWItJnQfL+tsIb8F+kp+1e0+eg=; b=xZH+NfLzZJ8BPoGglUWZReuJfFu/K6jNNkMQfT22G/LT5r+pZfMaDrZjhtu1uNaZLs NJ+E6QzDplQ6TGyQC2mZsZDGilCJlfI0pJ9NoexdAIB2afy0j6HXesAncel87wLOF+Xg yipRgQfoJoawF/HZlHHgzOrsd29rv9gG6Vis5RUbY8OljpdrVakstwrQJOOQMzlK9Phj 6BYnAIFe8wr/2GoXdedkO9ZNGpEfxmx9gwt28l4f4WrscTaqNjz+9TiX0z8OXAlgG2vX LPdDS8DUN5JKPsnJdZ1dQOPKppCOgXeGthDmj/RPEZt9vCPIaorsuPe4WxOifNDgcrk3 zrRg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="jJvF/my5"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-28943-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28943-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u19-20020a17090ae01300b0028aea7a9f59si16250854pjy.3.2024.01.17.04.08.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 04:08:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-28943-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="jJvF/my5"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-28943-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28943-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id EF619286571 for ; Wed, 17 Jan 2024 12:08:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 375131DFDB; Wed, 17 Jan 2024 12:08:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="jJvF/my5" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 584321DFC7; Wed, 17 Jan 2024 12:08:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705493313; cv=none; b=K4Vju3Ae58768Fkuwe9S5KWPrK+WL89kTbBub76UUPkuX7QpeQjIVNG971nC6itRMjDTMe+xQjqnBoGXsxDChX/cP4c0mkGDDEZutxl2X3P4b3NRrsXmcUVDJFOEpcutK6rj1g+Nt+lGsSrrPMWj/Njk4NYckXxLTofSKbWjJHY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705493313; c=relaxed/simple; bh=sXaUd5luyM2wpUXY6IyzW9hYsNS5vpH7Z25LN3uqAiE=; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; b=mKDbHt/LdAzMBzE78JagoCJrNrvDNUC/eQHmeBGvsK8cUaKot8hRjZTK3CqBFw+m3vyFRYapsXd2U/PJy7/AkEtOrokiZ5F2hy1c0g7+XKKEchhtsbhPaQYgW2bQ4oie8QgZwPtqv1ngOJ9RYKUvJyXArRO2AExhrihegw8kyw8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jJvF/my5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 70EC7C433C7; Wed, 17 Jan 2024 12:08:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1705493311; bh=sXaUd5luyM2wpUXY6IyzW9hYsNS5vpH7Z25LN3uqAiE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jJvF/my5ftnX0PWZBsIVdcDY9x5vwQV47w8npJQ8V8jLQNUnT0PnJc8Pw/2SkU7hM 5sADgHolbvMefWZV1GzXpQhq3blGk4sIi2Xk0YolsCpX8yDRvWsYx/4A2TMPi61ii3 1X3kgEqvpAYE1u9Gm7p/rQN0+OOddvx5bURmFakM= Date: Wed, 17 Jan 2024 13:08:29 +0100 From: Greg KH To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, x86@kernel.org, Borislav Petkov , Dave Hansen Subject: Re: [PATCH stable] x86/microcode: do not cache microcode if it will not be used Message-ID: <2024011712-stipend-arena-aeb3@gregkh> References: <20240115102202.1321115-1-pbonzini@redhat.com> <2024011502-shoptalk-gurgling-61f5@gregkh> <2024011543-dropout-alienable-a9e9@gregkh> <2024011756-dosage-deviator-6e03@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, Jan 17, 2024 at 12:57:40PM +0100, Paolo Bonzini wrote: > On Wed, Jan 17, 2024 at 12:00 PM Greg KH wrote: > > > > On Mon, Jan 15, 2024 at 09:59:23PM +0100, Greg KH wrote: > > > On Mon, Jan 15, 2024 at 07:54:59PM +0100, Paolo Bonzini wrote: > > > > On Mon, Jan 15, 2024 at 7:35 PM Greg KH wrote: > > > > > > > > > > On Mon, Jan 15, 2024 at 11:22:02AM +0100, Paolo Bonzini wrote: > > > > > > [ Upstream commit a7939f01672034a58ad3fdbce69bb6c665ce0024 ] > > > > > > > > > > This really isn't this commit id, sorry. > > > > > > > > True, that's the point of the mainline kernel where the logic most > > > > closely resembles the patch. stable-kernel-rules.rst does not quite > > > > say what to do in this case. > > > > > > Ok, then just say, "this is not upstream" and the rest of your changelog > > > is good. I'll edit it up tomorrow and apply it, thanks. > > > > Ok, now queued up for 6.6.y, but what about older kernel versions? > > 6.6 is where I tested that it works, and I didn't want to put an old > kernel version in the "Cc" line, without even testing that a > non-upstream patch applies there. > > The benefit would be absolutely marginal. People playing with Intel > TDX are not going to use old kernels (6.1 counts as old) anyway, for > example support for lazy acceptance of memory went into 6.5. Fair enough, thanks for the explaination, I'll leave it alone then. greg k-h