Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2471500rdg; Mon, 16 Oct 2023 05:47:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHEd0p/vQwUEbBhvH4eyi5lVGZn1ClaAfR1RISq4s3qLcLZDZk87caQn1ekNtGrKcF0SysX X-Received: by 2002:a9d:69c7:0:b0:6c4:b4b0:c6c with SMTP id v7-20020a9d69c7000000b006c4b4b00c6cmr38564010oto.3.1697460447235; Mon, 16 Oct 2023 05:47:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697460447; cv=none; d=google.com; s=arc-20160816; b=VJL5vOtCMbQWwaa36byYbYpqS5jvIZ/+ohR773WnX4HzORehbYxiYY8dPLy5uCpKaw Ozaa3vHKS0qDTO+i1t7V9K4s2nxp4yWR2OeSdeYZmgyVzSM6fOBNPpmy36QuFGhHgZcX 8gvhAM91kgXB8uGzZQw0vsEH7ydHDlZyNGzGx4vC1UyEPh2HJSDKIF7ZgmuH7pYBsrJv fQug4raztxLdU7qZ3iAhG2hQzhYvKVLmqZNKDEi5fzdakk832VnDqOevlsRkqdKIjaRG eJK7dkMqojVLp2IWMJzxkGFJ4F/UNvvCpURsHnNUeW2gRbGOomSRr44IQfNBTL/DDdlY hX/g== 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=Dy4w6gz5/yRefeJFNm4FDVjetCCa1G9LBCOX6qE1YP4=; fh=HVOn1cqlxcnXK06lT+4Dgz3vgdRkJRPAoVuIC0t9ICU=; b=ZiGaDYrDWE7e8iwzHsnjc2zMWIqCTcV+3TAxk1F2OmiEsK6xGj9D6pAqxGAGzNi9d3 z2NXYke+qNZq9EBzp/oXIl9gkwoHwoX0pGDyl4NeOgS30Z5JQ8H3DNbPlizfWyBXMWwK R52itUQXF5rjtT2CNRSUzf8/iKwh9s6R9DZFqMgQu4bWskfRvbjG9mH9nuNxeSYFMSAY DfVA2YZr5Flt9diUCtsK6QjLZQYyXRAL7hFv10dT+Ljl1iVK1jR8+qdaKBeGjcqJdjxw lIbo6Dp7kFavnqwGQkZzpsfRiY0DLBY/PnPJrFvXNzjTyJ9J9ZZa3ChOr83OavlLPDPR FNuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=ABFdKjKF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id f6-20020a056a001ac600b0068e45c6ca3fsi2054326pfv.93.2023.10.16.05.47.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 05:47:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=ABFdKjKF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id B65E580C03A5; Mon, 16 Oct 2023 05:47:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233560AbjJPMrV (ORCPT + 99 others); Mon, 16 Oct 2023 08:47:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233550AbjJPMrT (ORCPT ); Mon, 16 Oct 2023 08:47:19 -0400 Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B8AEAD for ; Mon, 16 Oct 2023 05:47:17 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 0C99D40E01B1; Mon, 16 Oct 2023 12:47:14 +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 QRweq4ucw-HH; Mon, 16 Oct 2023 12:47:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1697460432; bh=Dy4w6gz5/yRefeJFNm4FDVjetCCa1G9LBCOX6qE1YP4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ABFdKjKFDPo4wWdUeKgyAWPvyzsnPe1LFVP9BZ710Hgo6F18GJ3TpzbnAPRzhLkbP xGYQn+IHGcZM/VhgvCi+fPYRdF6eBHSjsnPsP6B2PlVynEY+l2CGHLQ1lQ5n3BCIFI 7ag7b7up9rm6y/GUBFi9lUiURqjp4AJPsbgLP5Bkhi8r9G77ASnqufA88yX3M5L68W 02DBkHeD0Sw4lMQbDIiH2MWyo+Fh4L/CE3f3MwTn9wqUaoDwDzCFedH4Cgge1gn5nY 0UDa1+R6ac9hRGiby3xuNmw8Q08EsEEiCCi8XatbvjInMRa9qCtV9kuET0jIJw3vTG 5w+mdkzJXiV2CMDL6wg7/abenqK/tbiXQSrjlxuD5RV1sYRSsA6khemST1LB2gipJ1 2HMp56AcQguemMrxTVcXGsTYLacAp9wnchGNcXpN+cJwqgWgXlWqbKcLkbvCSyv3Ad 2x4amtv5Wgxpm5g7B2lEiAjwg1lH2e5cXMHaIp/D6XFafKWTyojdeTg7ej1QaeZPgA igIFnhOyy5P9iQLq3omdCGqN2rO26yiHs70m3ggPG4kSN4TI4iYF2uqVab3OCRAoA3 f34qG3eB1NcPVnrGyF8vkXaveK5OSuF2Wloy2aXe+Hno/pCmKL0nd1U+H2eB3ZjwQg ioQqd1rW92k8M22BvEFVPL+U= Received: from zn.tnic (pd953036a.dip0.t-ipconnect.de [217.83.3.106]) (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 2895840E014B; Mon, 16 Oct 2023 12:46:59 +0000 (UTC) Date: Mon, 16 Oct 2023 14:46:54 +0200 From: Borislav Petkov To: Ingo Molnar Cc: Josh Poimboeuf , Breno Leitao , tglx@linutronix.de, Ingo Molnar , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Peter Zijlstra , Pawan Gupta , leit@meta.com, "open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Linus Torvalds Subject: Re: [PATCH v4] x86/bugs: Add a separate config for each mitigation Message-ID: <20231016124654.GDZS0wvqJlsf+iVAeu@fat_crate.local> References: <20231010103028.4192223-1-leitao@debian.org> <20231011044252.42bplzjsam3qsasz@treble> <20231011190317.GDZSbxdd5TuCIp5+JN@fat_crate.local> <20231011220325.5uje4xnfxuccumm7@treble> <20231012072920.GAZSegUJkwHbcernQo@fat_crate.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 16 Oct 2023 05:47:25 -0700 (PDT) On Mon, Oct 16, 2023 at 12:07:59PM +0200, Ingo Molnar wrote: > Unless someone like Linus shuts down this effort with a NAK, this kind of > harmonization would be welcome IMHO: Harmonization being done for whom? Because I doubt users read Kconfig names. So you must be wanting it for us, who do stare at that code. Which brings me to my initial question from uptread: "What does the same namespace give you? So you see in the code a bunch of ifdeffery and some or all of them have CONFIG_MITIGATION_ prepended. To me it doesn't matter whether they're mitigations or not - it is just the next Kconfig symbol." IOW, I don't see the particular reason for having those namespaced. But since you and Josh care so much and I don't - not that much :-) - and I definitely won't be doing the work, feel free. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette