Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp956115rdf; Wed, 22 Nov 2023 01:16:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IGs6QPihBYKsmESgTnnBS6vOXVraDCcsUZ7cRU+q/sH1EgobskzcE685EhcXTS85msBLLiH X-Received: by 2002:a17:90a:ee85:b0:283:967c:4e6 with SMTP id i5-20020a17090aee8500b00283967c04e6mr7815024pjz.12.1700644580592; Wed, 22 Nov 2023 01:16:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700644580; cv=none; d=google.com; s=arc-20160816; b=Uxs5GHAOi1AGcHklM/n23LAdzJe6hOVRcPVcU6mOFfgC9q/Yz89PnJOQ88wFeONZ7Q zLMhSKvoBf0ncgePtrjtkG0SCl/t1TBkmqzakgX0E4SBFFiTvDDuLJVg/6AioviNQaVv BlW+97Zl5VKY1cmgLXm6I5vFW15MJ1xRth4dPMN7Y7qet0eEKfvjXjO7jPgPJFEiuMdK zjX2l2RrO7OiPETq7tyOJuco3B9znz4RjeG19CT5YOhQtFFU/MobR/I677iIcKO11yq2 V3aKixQDdUb4KcZpmqOV3hxPgVgUx4a2oYxwXN4g/zxURrVakiEqX9MEOluC4CnuyTbu ZuBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:reply-to:subject:from:user-agent :mime-version:date:message-id; bh=nx5xwPVKq49ljk94se/Nahb2V9bm/3S8IpqAluoh/Is=; fh=RtIXQOeNUByutJayuqo0J2XYD97zAEmU6S7Frh2RfYI=; b=F1kjmStGbaAlGlIBrTMRA5EnD0Nlo+GrlO8JdYv5rV2pg8Nx8OKs01NZni6MsxSNjZ I2KYJINgAiorqa/akymLm9ma+AmOIuHIJxTQSly8sYIeW+2CB/SbPVcEjPvUFMb7tyLP NliavHdEyL4whKV47Ep837EDPWxu5vqK5USm71UUTsI8tB97jZbV5EkDU2ZGdicFKKSn dbGAJM5bDWi/A+Sb6mEdnnOO81Hj2j9+txQbwwCFAOWQ1kLz99oAhJQxo6kWWw1GD35d b1KTz3tgoSsNzxCt6Rpc09bdo4OEknVXi5kXQqNOUA7HmnF+7HfcEOOuwW7m+dj2epyu 3yDQ== ARC-Authentication-Results: i=1; mx.google.com; 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 s24-20020a17090aad9800b002851090ab76si1047112pjq.17.2023.11.22.01.16.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 01:16:20 -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; 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 279CB80D756C; Wed, 22 Nov 2023 01:16:06 -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 S230184AbjKVJPz (ORCPT + 99 others); Wed, 22 Nov 2023 04:15:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229631AbjKVJPy (ORCPT ); Wed, 22 Nov 2023 04:15:54 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FCE683; Wed, 22 Nov 2023 01:15:50 -0800 (PST) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1r5jKg-0000kn-Ox; Wed, 22 Nov 2023 10:15:42 +0100 Message-ID: <0e9cbe6f-ac6c-47f2-b663-a22568799eca@leemhuis.info> Date: Wed, 22 Nov 2023 10:15:42 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: "Linux regression tracking (Thorsten Leemhuis)" Subject: Re: [regression] microcode files missing in initramfs imgages from dracut (was Re: [PATCH] x86: Clean up remaining references to CONFIG_MICROCODE_AMD) Reply-To: Linux regressions mailing list To: Borislav Petkov , Linux regressions mailing list Cc: 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 References: <20230825141226.13566-1-lukas.bulwahn@gmail.com> <20231112181036.GBZVEVHIIj/Oos1cx4@fat_crate.local> Content-Language: en-US, de-DE In-Reply-To: <20231112181036.GBZVEVHIIj/Oos1cx4@fat_crate.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1700644550;2614c532; X-HE-SMSGID: 1r5jKg-0000kn-Ox X-Spam-Status: No, score=-0.8 required=5.0 tests=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 01:16:06 -0800 (PST) On 12.11.23 19:10, Borislav Petkov wrote: > On Sun, Nov 12, 2023 at 04:03:32PM +0100, Linux regression tracking (Thorsten Leemhuis) wrote: >> That's because dracut until the recent commit >> https://github.com/dracutdevs/dracut/commit/6c80408c8644a0add1907b0593eb83f90d6247b1 >> looked for CONFIG_MICROCODE_AMD and CONFIG_MICROCODE_INTEL in the config >> file to decide what to include or not. > > They've been told a bunch of times already that grepping .config for > specific symbols is not how one should check whether one should add > microcode blobs to the initrd or not because Kconfig symbols are not an > ABI. Maybe, but you know how Linus sees things like this: what's considered an ABI/API or not is nearly[1] irrelevant - if a change breaks something that used to work then it needs to be fixed. [1] unless you fiddle with things obviously internal; not sure if this case would qualify for him, but somehow I doubt it -- but I might be wrong there. > And looking at that commit, now they're grepping for CONFIG_MICROCODE. > And that'll break again if one day we decide to make the microcode > loader built in unconditionally. > > How to fix this reliably and properly? > > Honestly, I don't have a good idea. If we do something like this: > grep microcode_init System.map > > then that makes "microode_init" ABI and we won't be able to change it > eva. I'd need to do some digging here... Any progress on this? BTW: I see that this could help preventing problems like the current one to happen in the far future. But how would that help the current situation (e.g. users that have an old dracut and updated the kernel without updating dracut)? Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page. #regzbot poke