Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp342764rdb; Wed, 17 Jan 2024 03:58:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8Uu8sZCddpjdKgsWXbYRrob8IS32ddfuXAxKG9v9QVkYhqPAY3+QsWVjGCWvIJDBbr1Kz X-Received: by 2002:a05:6a20:9718:b0:19a:360c:75d8 with SMTP id hr24-20020a056a20971800b0019a360c75d8mr7257249pzc.14.1705492686108; Wed, 17 Jan 2024 03:58:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705492686; cv=pass; d=google.com; s=arc-20160816; b=d24uo1GCNBaCaoFZTtWF8gA9/n5T/0tcOweZrBh0NDPQpgg4E065JFJTMzrsaL5iMI /U57UGRPHxed1n3jUKJQMbT2yQMOCKiCn0+jkoty+zU7FzNZQF/zcYhUoDo5GOj5SrFD /zoTr1eD47JGOs/qB2odOjplLNu0UuQ+Mu097N2SjOKYeR3nQ3FRwkD+5GI0+6Fj1iZX gSArDIRp5qdTf6JRSsuVAmWajN3obZ/MNucxj3PGKfrcfOsLmz4OrAN6XRwM8tKfsslh ct6X5GAMirg975H1v/zzlOxXVU1j9jW7TJufXZlqgd0NsFfqYrLWhE8YSRlZkb5FNiNi fZOQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=rB12CkX8/Du4z+dsIJN6wEA4B/FKFwSZAxKwOo9HT/4=; fh=2qhKgA7V5bzHfgsLxjByRV3szxo9gpYyL0ruKs5JkWE=; b=kAmTFegCJTMBT60Ag2JyNkArxBls3iNJ3Pvc6eABJ00UBI6kv/jXNn3qIuVvZ1cG2R a/VeI6uBznJTw1Wl0IADk8dCjUAX1fjMxKb4HIycbNXL32Qm13hZKHD+AYsYCg9SAY7q c4tETj5YRrZ31yh5EY4njxWyImsF5sMxSg9wfFPZUi1UpSYuNZxNp77DZTGbVpVoRfcl Uq3TXG6AeGRf7Boa+X9HLdz93sn08JZMNiPHUbU9Uvbnp66O+ReT5L8UOdswmluAS3LE dr+BBXfQ/DdToEBbWtABNAcnB5bwAw0dAWprTZRgaeNtd7LjDrIkURq2AAQVEMeXYFOY J+OA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XgK3j6CM; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-28933-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28933-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c5-20020a633505000000b005cec86b7a50si613555pga.570.2024.01.17.03.58.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 03:58:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-28933-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XgK3j6CM; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-28933-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28933-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 B61DC2836AC for ; Wed, 17 Jan 2024 11:58:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D69B1DFDB; Wed, 17 Jan 2024 11:57:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XgK3j6CM" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 20AC3C8DE for ; Wed, 17 Jan 2024 11:57:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705492677; cv=none; b=cLw8ChSYsIjj6YGs9wZe4kB6jQz0KVCZpe4VYtR1P9EKFjNdBZ2kqcmNjCjGXaX+VEGOGyUk44Rd2mS7n3IHVR6kjcEJRfwAlqKbLu2QqRyfgO6J1KCEx4CGa2NahnwsKXIgTK+5r3vgv1o3BWAq31q+f7IWe2D0+e+Bmm0UN4k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705492677; c=relaxed/simple; bh=Wsoe+ZP17Ji6SIMMmNbK8iP9QaFv6vlqq9FHgkDDjQI=; h=DKIM-Signature:Received:X-MC-Unique:Received: X-Google-DKIM-Signature:X-Gm-Message-State:X-Received: X-Google-Smtp-Source:X-Received:MIME-Version:References: In-Reply-To:From:Date:Message-ID:Subject:To:Cc:Content-Type: Content-Transfer-Encoding; b=ReCMsbmtgaUoZq1dlVXfebK7RoqN+QZda8H+RwhYQVI6J+LyaoXgn4y0vu/miwdgi5PsbVRKHD1U+d7En3okSRNw09UCKBhaw8O6deKLkn9L9iCgLUUHtrfPQQ1ke7HbDEWfn6JHJc8hVGv4io0dta7bI1S5QCMOfNegcKpoLTc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=XgK3j6CM; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705492674; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rB12CkX8/Du4z+dsIJN6wEA4B/FKFwSZAxKwOo9HT/4=; b=XgK3j6CMUjqDK7sjJIou320im+Gr+4xN6zUTIj4LHXSRq2JrFTnfZvIMY1357N6e9TrnYg n3KByNa6qvT/49v18CDwUT/M9KQy+IvjWw0jmzOY5IYLh/1XxnXH+MgHHo3oFk9iHoHSFA spdjuL3semSCMMrPkwRGASq3qcHOWRc= Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-354-yenW8rHpNeuIXZV7TRV7Ag-1; Wed, 17 Jan 2024 06:57:53 -0500 X-MC-Unique: yenW8rHpNeuIXZV7TRV7Ag-1 Received: by mail-ua1-f70.google.com with SMTP id a1e0cc1a2514c-7d22d1e96f2so549636241.2 for ; Wed, 17 Jan 2024 03:57:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705492672; x=1706097472; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rB12CkX8/Du4z+dsIJN6wEA4B/FKFwSZAxKwOo9HT/4=; b=rGOzkpmZXWf9GZ5xHsMxOhLuwTms7D62mhfJoJTM/ERb8tt/SG7t7BCTVthcbgNX71 4ruwGqF7ucBFWWliVb153echbkVFZX42kqs5PVV87MTZipM56zpcPbXLfVFUKbVAlh2/ 1ENUJ3KNB7bBAv0lqmXTMOHAeKN4YDrq45l8mKJDhYxnbEr9y/9MYJ9gJ/wfQX7ygstd SDtMuaPM3vSCv27e3wxanvyR021pDD9jDJGXYiSZ45EuM6Qt6PpMVRbB+6RfiKKULpjt rzSHqoLiExAdu7JiXojqM211aWSiSoawxXEkg0RL+/QYUzZxp8cR3nZkA0vPd1RAiW+F Gvsw== X-Gm-Message-State: AOJu0YwsKwv78nkWQM7Zxy+6VaSrX9Fg2Gh+Jx/bUYNtduzpBDdCw9Tf qGi6dPO7/bLE12bIQRHFpGv7BUGlSt3OfRVbfWUCWNnc2LmJTZykYFhV7/3xx4h8X5a0axTVofA 3hcy8Fswl+XbLiLOuXZyHS5nD+CQpyUX9L4qW5SRvqbVp5M1wlQpmOlnBnO0= X-Received: by 2002:a05:6102:5492:b0:469:83e8:f54c with SMTP id bk18-20020a056102549200b0046983e8f54cmr380544vsb.28.1705492672561; Wed, 17 Jan 2024 03:57:52 -0800 (PST) X-Received: by 2002:a05:6102:5492:b0:469:83e8:f54c with SMTP id bk18-20020a056102549200b0046983e8f54cmr380540vsb.28.1705492672264; Wed, 17 Jan 2024 03:57:52 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240115102202.1321115-1-pbonzini@redhat.com> <2024011502-shoptalk-gurgling-61f5@gregkh> <2024011543-dropout-alienable-a9e9@gregkh> <2024011756-dosage-deviator-6e03@gregkh> In-Reply-To: <2024011756-dosage-deviator-6e03@gregkh> From: Paolo Bonzini Date: Wed, 17 Jan 2024 12:57:40 +0100 Message-ID: Subject: Re: [PATCH stable] x86/microcode: do not cache microcode if it will not be used To: Greg KH Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, x86@kernel.org, Borislav Petkov , Dave Hansen Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 17, 2024 at 12:00=E2=80=AFPM 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=E2=80=AFPM 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 changelo= g > > 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. Paolo