Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp178448rdd; Wed, 22 Nov 2023 12:36:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZ4sDYKiyx2bDcMwMFGedPSXfVYt0K3OKAuxbsdr9oWI5kYRlCiQ9sU/PiPQDhi9sfqrg6 X-Received: by 2002:a17:902:d4c4:b0:1cf:5cb6:226b with SMTP id o4-20020a170902d4c400b001cf5cb6226bmr3939479plg.28.1700685397110; Wed, 22 Nov 2023 12:36:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700685397; cv=none; d=google.com; s=arc-20160816; b=hDgXQPF69pUTcJHlrM0vF/6t2CJkttOWRsNCziR0bXpfSf0FwWrdJDU6gbrS07E/I0 1SPrckT3yjLdpfWaWyV9eIbtA2ReDGpo38T1h9DYXkAgHSk+bE3t0KvmLkM5+Ji+fudk d3T/20JmYLo3WrE3/WKbGRhIzola4ucgy/bFCSBKsi4vRZ/Soz6lefKQvMseEhXW+Rmw qs68RGZuhCvLd1TySqwOraT1tqpkhAt8Eu787xtpD9SFhuoPhfgb38R5DYavN4wjLq3J FJA89ZlBT7pM9BjJCqLyHX4I/t7huEbwBMvvw6qLf13KJF4ouj6+gs+haoAm46Cdm8ur L8AQ== 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=MTFW+4h4lZJz6rbXAaizRdJw1t8O20ELX/WfD27HXjM=; fh=12Wq/izWxEE5f+Qns7Qmx1QScXnA9rQYnSzjMl4QgS4=; b=ZuzZC5G/VkUswH6zlLGCbEp9TpxNTH4cObBqYYcpGyhZLfOlh74K5OPmovfbkc3fAn 2e7rFPh+iNBzm3BJHb3C2AWco3NFhVP3ZLI5vzs+7Ic0oRolFZCMxKlkqeQLi/OtDa6i /guQbu6CiSEBtp38xD9OSizhvSrJNkv2uBvZxNcgy7YcAIiCKK6nxl3my13Vm0ZM1/yk YDAl05E4TEYzP6886kosWKTQm1d4oe6ie81/Svtt99yqZCfoYX9t1+cSXG9V8e3DcpCU Z3UNSNwNMkAP25yBDM6QjU7qRQi9l4BfFEqZyOkwpw9K+CReCZEZHDEiu5g1cbM2672j N6WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="iL7k/MxK"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id ja10-20020a170902efca00b001c6182d9fdasi166278plb.326.2023.11.22.12.36.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 12:36:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="iL7k/MxK"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 78C2381EA708; Wed, 22 Nov 2023 12:36:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232415AbjKVUgW (ORCPT + 99 others); Wed, 22 Nov 2023 15:36:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231429AbjKVUgV (ORCPT ); Wed, 22 Nov 2023 15:36:21 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28396112 for ; Wed, 22 Nov 2023 12:36:16 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a02cc476581so17880466b.2 for ; Wed, 22 Nov 2023 12:36:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1700685374; x=1701290174; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=MTFW+4h4lZJz6rbXAaizRdJw1t8O20ELX/WfD27HXjM=; b=iL7k/MxKz93XWTxiuAXIXhZe6aGQGrmJ1K9ihaq2M2Jwsj85MoNk1Ctw6X7/Lcd4eg 9WSw61PsrjB33WlFl6eOEP2jf3NfkLcO3Hdq6LjrLV68cAdjThJpxlcIV7iHaaqE8nXI SCXKXqxjF+Isd0/ypOeHHZI+sq6IZe9yF9oPc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700685374; x=1701290174; h=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=MTFW+4h4lZJz6rbXAaizRdJw1t8O20ELX/WfD27HXjM=; b=K+I4PnmPFkZzsrSJRFa3hgbPhdTQv7tK++8O8+MEJC7ugUkv3qW5dn+M0tztdsOuPO lc78smP3TASNCd5lAsKDHnLXunOHRpvlbLJvwZgxPum+VQUYcOJ4OTx+pN0PCpJabYIo aJ1TQ2A+h5SpG0LHvcbe6P5r7p/cIh6vM2y3jMktZDqYuiqqBRluLZnlrxwkA5myO/bB AAmHMfGbU6Xg/GgtLU0UVlbDsD68pLBxrlMjeqHnEVk5pAG6S8ZmgEZUWoK3BQ6YKyUF f9NytY5zzweU7YclQdCMEKXhT1iBvThDzMnmnW6VyGf6KR/n75HE6BswGUMcNe2y3dqP ymwg== X-Gm-Message-State: AOJu0Yx3opxyj+Al/lDrTii5mtRLEak9CplG6EY6STZn+o4k5jNM8avk 1NhGANqtesEZ6+jMuscEutR4sffHv+sf8+CqGjM0vHSJ X-Received: by 2002:a17:906:292:b0:9e6:bcd2:14b5 with SMTP id 18-20020a170906029200b009e6bcd214b5mr959842ejf.46.1700685374308; Wed, 22 Nov 2023 12:36:14 -0800 (PST) Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com. [209.85.208.51]) by smtp.gmail.com with ESMTPSA id v3-20020a1709067d8300b00977cad140a8sm180580ejo.218.2023.11.22.12.36.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Nov 2023 12:36:13 -0800 (PST) Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-548f0b7ab11so290669a12.1 for ; Wed, 22 Nov 2023 12:36:12 -0800 (PST) X-Received: by 2002:a05:6402:34c5:b0:548:615c:33aa with SMTP id w5-20020a05640234c500b00548615c33aamr2977402edc.20.1700685372660; Wed, 22 Nov 2023 12:36:12 -0800 (PST) MIME-Version: 1.0 References: <20230825141226.13566-1-lukas.bulwahn@gmail.com> <20231112181036.GBZVEVHIIj/Oos1cx4@fat_crate.local> <0e9cbe6f-ac6c-47f2-b663-a22568799eca@leemhuis.info> <20231122115826.GAZV3s4krKXI002KQ0@fat_crate.local> <20231122155758.GEZV4lBgtZyzsP5Z4V@fat_crate.local> In-Reply-To: <20231122155758.GEZV4lBgtZyzsP5Z4V@fat_crate.local> From: Linus Torvalds Date: Wed, 22 Nov 2023 12:35:54 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [regression] microcode files missing in initramfs imgages from dracut (was Re: [PATCH] x86: Clean up remaining references to CONFIG_MICROCODE_AMD) To: Borislav Petkov Cc: Linux regressions mailing list , lukas.bulwahn@gmail.com, dave.hansen@linux.intel.com, hpa@zytor.com, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, mingo@redhat.com, tglx@linutronix.de, x86@kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 22 Nov 2023 12:36:33 -0800 (PST) On Wed, 22 Nov 2023 at 07:58, Borislav Petkov wrote: > > IMO, yes, we should not break userspace but dracut is special. And it > parses willy nilly kernel internals which are not ABI to begin with. I don't think the "dracut is special" is the thing that matters. The real issue is that hey, if dracut in its incompetence doesn't include the microcode on the initrd, that doesn't really matter much. It's fairly easily fixable, and at worst it will mean that we end up having CPU mitigations that aren't optimal. Since most of those are BS anyway, it really doesn't seem critical. Sure, it's a "regression" in that you don't get the microcode update included, but from a user perspective things should still continue to work. End result: this seems to be pretty solidly a distro issue. IOW, the whole "users are the only thing that matters" pretty much means that it's a non-issue. Things continued to work, to the point that I'm actually surprised anybody even noticed. That said, I don't think some ELF note is the fix either. I think we might as well leave it at CONFIG_MICROCODE. Maybe add a note in the kernel Kconfig that this thing matters for dracut. Dracut also checks for CONFIG_ACPI_INITRD_TABLE_OVERRIDE. It's a similar "normal users don't care". Linus