Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1046737rdh; Fri, 24 Nov 2023 04:15:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IEpgKffsG7oqCJWixdPW5d8F1vNFa8BRlIc4Qagsguuw5bNaYmwQ1KwSZ58RA7meIK8H1SP X-Received: by 2002:a05:6830:1295:b0:6ce:271a:5fd0 with SMTP id z21-20020a056830129500b006ce271a5fd0mr3092968otp.4.1700828136722; Fri, 24 Nov 2023 04:15:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700828136; cv=none; d=google.com; s=arc-20160816; b=s5eeIrs0y9HP7Z2JsHHUdnasv3arUQKjJLXRqrAHpgeil8KH1WhUtKEA5J0MhCvlZl EyGrJplmp0LN3Wm/KDVajZmMj4xN5La/RTWoQaaMB3npF6d+gy7yHBQfJODqbK4OwoOo xlmc4GnjxuOm/8zwZrpZu67yID433qXNZTwZcY92MF/nTyKsOP8cNzl0qFefT1I27EhD WpyVeIst4J/wnkTWu+i2EDLNCTV1tbJzo8btG+XoMtXEm3JazIfj0ee0oVF24jlGQE6F idU4GrSJni8JJccVpaFTvJPw97N6c3hh8O4zScuPlJjR8cUCpeM33IiPXsDoOfjELmCu Al9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=143OkiA/6ugtGo+t9Jv92D/VYmZJw5vW1hFX+labQD8=; fh=j0W6fWyFj5WG8dX3x7PMs8RqVcpzFkfiuyTh6DhC6Tg=; b=KkFCSfPd53Rg3ouprofZef1qholVG/fMym7gGFGYAY9XKE4IaQO81kV9LscfSQRBaP p2sxgLK4DwYiOg0Pmeu8ETexGHv7ds4WzApTqX5+CaKAlRT+ckl4+JDlQjL9PZA1V6Z8 ljfoxf3e2Gk0UhehxqKL+ZOrYMhybldRxmoJ6xDM0W8ZM0P/W9Zx2L4/KHbKgl515gAh pDTFIPTkgOYEWAx3DBzc1iAbz+5qS4XA7FbXASLk0itLbL5Q9X1ortBSngxBo4/gusAW tNg3SAcB0BJx9P52Kvop3xQH+Pq4Co5QA1+P94PWyOAnhCFNA8QAmGCgklDRp880KNK9 6erQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=IpobDvAZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id e6-20020a9d63c6000000b006d7ff27a468si1018888otl.161.2023.11.24.04.15.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 04:15:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=IpobDvAZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 03C12804909D; Fri, 24 Nov 2023 04:15:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345066AbjKXMPQ (ORCPT + 99 others); Fri, 24 Nov 2023 07:15:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230159AbjKXMPP (ORCPT ); Fri, 24 Nov 2023 07:15:15 -0500 Received: from mail.alien8.de (mail.alien8.de [IPv6:2a01:4f9:3051:3f93::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A1EED41; Fri, 24 Nov 2023 04:15:21 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 2BDC340E0258; Fri, 24 Nov 2023 12:15:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id oeRxXeCdZJaq; Fri, 24 Nov 2023 12:15:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1700828117; bh=143OkiA/6ugtGo+t9Jv92D/VYmZJw5vW1hFX+labQD8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IpobDvAZuPT7RAui0BS6WKvdYl5RmaqPg0F9WqUC8QtlyPHiNXvgreLA+I84h8xWP YmjpB0biW3zilNJHokQ5WxORil6RaBAW+IjRoUHvtKrSM8shl2WVyV9PM8FJCD1NvI dh+7mk8PAOe8sIVi0rqxFDKBbZx93MBsy4wUv+xQHaXAkRLGwMhG1crmEwojPms/DH J45RVCHIxKng/kJRLkaLwIFGfEsdkSlbYti/SzVQIhzXECQ/s7Z6hfQK85bBwL+5Ti q2XPvNdNdiKgrKM792wOI0r/n/BD6EfMYeJSTR24UZAVWPpYAgAG+TeUxtDkknCqML 173/o/WO9IOlQjSF8unkfIEqGNFrGu/fdNB5e0n5GEslIuX3PuCc77vKTQL2wLvO3z faj1kXiRgcALXk2rPWOicNr8H48ozvo8wBFR2dZfXzGQTjWniHkHzPqm++ORnlxy3i 2+0TAguxz9kUjFcHKBzlwaf/41PbfbouJdQTgRJLuryEKKCwmIio+OP6EEWYdIVeMZ nhCNQcRb9kNMf5skoZyx28QkIzeBGGubfNEE2vgbJNWT2OHDAB20zS+rYVwJozLDKp 6VMR1XlTqZ8vu8Iw8jxzfc1B9C1eQ4JE01MCgFkyBpl429DP+KoUj+XVGnMtIw3O1G Z8vhDYL4jleA60mn7wTqh7/Y= Received: from zn.tnic (pd95304da.dip0.t-ipconnect.de [217.83.4.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 01F4740E0195; Fri, 24 Nov 2023 12:15:05 +0000 (UTC) Date: Fri, 24 Nov 2023 13:15:00 +0100 From: Borislav Petkov To: Antonio Feijoo Cc: Linus Torvalds , 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 Subject: Re: [regression] microcode files missing in initramfs imgages from dracut (was Re: [PATCH] x86: Clean up remaining references to CONFIG_MICROCODE_AMD) Message-ID: <20231124121500.GAZWCTxML94BSYaQf3@fat_crate.local> References: <20231112181036.GBZVEVHIIj/Oos1cx4@fat_crate.local> <0e9cbe6f-ac6c-47f2-b663-a22568799eca@leemhuis.info> <20231122115826.GAZV3s4krKXI002KQ0@fat_crate.local> <20231122155758.GEZV4lBgtZyzsP5Z4V@fat_crate.local> <20231122205135.GGZV5p157mBi6RYUNs@fat_crate.local> <20231123112013.GAZV81bezsrS6sdJQR@fat_crate.local> <66f077cf-ff85-44dc-a76a-05d8995ea261@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <66f077cf-ff85-44dc-a76a-05d8995ea261@suse.com> 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 howler.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 (howler.vger.email [0.0.0.0]); Fri, 24 Nov 2023 04:15:33 -0800 (PST) On Fri, Nov 24, 2023 at 09:49:27AM +0100, Antonio Feijoo wrote: > As Linus said, the `check_kernel_config` stuff was implemented in 2014 and this > is not the only kernel config option that it's being checked by dracut > (CONFIG_ACPI_TABLE_UPGRADE, CONFIG_ACPI_INITRD_TABLE_OVERRIDE, CONFIG_RD_ZSTD), > although I agree that it's fragile if something changes. But adding in CC the > initramfs list (like you did), would be enough to prepare a simple fix in time. Right, how about we give you a more reliable way to check functionality built into the kernel instead of grepping the .config file? Like the ELF note thing, for example: https://lore.kernel.org/r/20231122132419.GBZV4BA399sG2JRFAJ@fat_crate.local The current thing is not ABI and will break everytime we change something and even if you fix it on time, older dracuts will still be broken. > The only problem I see in your patch is that we should also remove the > `--early-microcode` option, and dracut will fail if someone pass an option > available since 2013 (5f2c30d9bcd614d546d5c55c6897e33f88b9ab90) that would not > be recognized now (and by failing, I mean it will not build an initramfs if an > unrecognized option is passed). Ah ok, --early-microcode becomes a no-op with my change. Sure. > Please, submit it to https://github.com/dracutdevs/dracut, so more people can > see it and discuss it. Thank you. I presume I should read this first: https://github.com/dracutdevs/dracut/blob/master/docs/HACKING.md and send a github pull request? Anything else I need to pay attention to when sending dracut patches? Or is there also an old school mailing list where I can send the patch to? :-) Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette