Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1026164rdg; Wed, 11 Oct 2023 12:03:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IETuvQ7uxJ+N8nsHyAUf9lSLj6/EiiaajYAXrLMgq9DrkuVeXLkA37sq3F4hJ+X9cMMYBvV X-Received: by 2002:a17:902:c084:b0:1c3:aa8d:4daa with SMTP id j4-20020a170902c08400b001c3aa8d4daamr17958210pld.44.1697051028630; Wed, 11 Oct 2023 12:03:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697051028; cv=none; d=google.com; s=arc-20160816; b=xCjbJ4Jk4bZBvTcKjl+9YRwpzkPVavU2hE4tt/b5tALkeO2LXpG4mJ855Rg5+yHR49 8duW29NwFy+22sWE4fyyAXW5qIHq4IhdPdnxqg5yL+YqW/Ge4eDdr9mhcFdsLttxSaXW 8w9zI4DZ0J9OTg+KHM+4H9/bM4eM97c/tPMB9+pHD1qgvPqlX0C5qN1j7Wn/6FU9x/+c 5594TLjxfB8ULUOpv0z5i2rFWpwIfgKRi8GHDZM2OXe1j5WHS/gluGVKh8mNIZ8RLaM/ ywocDsWp9bMmDpy2WPFagDcNqMhzXB9jBh+85ak4CCyCPSvRx6w3nkl4LfY6BgmgbdoA RCrw== 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=vPOgBNJTPbQOhMbYg87tDw12X8IrNzhCwtHDGFXYC2U=; fh=Q2zRwUF1XM6cifuiJj6BJf2/nLtI7vGV9acu/W2xsto=; b=vmlox9i4cymoIATfR11db1NtZi6rJ4sod2DBSjuecy7SxwxBbOoaP5upMoZaMA+LJp iH5dXbVNglhEWNMLIVaLUopGSBtcV8l6uHCn8IrXuQQyVsNcPc86JsYg5ch+YPr/XlVr EgxGLfRMrH3FOdJHxpMaRdDOHQl6rgZeZ9uX2X/aaxg0C9aL7OxsB9aD7NMtNpaYa23g NKeOrbChadHqc28W8kM5GF62plismXPMss2nNH9GVKpBdZKIZMZog+/Pd1mZ5IN0AoSG MpqAuaq6W0vIbrR2JXqaeDEeysIeWAVnQSlpFFTtahtP5LsafDjLMztnJWhUPiEfv3FE wtJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=k0sFaOjF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id v1-20020a170902b7c100b001c6189eaaebsi342511plz.186.2023.10.11.12.03.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 12:03:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=k0sFaOjF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id B2CEF811F240; Wed, 11 Oct 2023 12:03:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233233AbjJKTDf (ORCPT + 99 others); Wed, 11 Oct 2023 15:03:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232906AbjJKTDf (ORCPT ); Wed, 11 Oct 2023 15:03:35 -0400 Received: from mail.alien8.de (mail.alien8.de [IPv6:2a01:4f9:3051:3f93::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 810479E for ; Wed, 11 Oct 2023 12:03:33 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 6CB8540E01AA; Wed, 11 Oct 2023 19:03:31 +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 QrrpHl-Cn7QB; Wed, 11 Oct 2023 19:03:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1697051009; bh=vPOgBNJTPbQOhMbYg87tDw12X8IrNzhCwtHDGFXYC2U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=k0sFaOjFWmokCL5bvo2rV7FctBrNnS18FFJ2Kvb9vOLE4bTyzro6wzk2hCGV7t4od bn2mgaYOu/jlO+ME0N3Gm1vhs29a2t+OHKuAhpX9bDXiqJHR0aeRihHIj5MnsjxSll uQkns+LJWs9PbeDB/EmGB9KYuXjx9057uqgjgZdOz9ajzmX3gkR5XiTGiIhSgj+DkE 8my5w9BkT7MFcf3VyYcc350A5QaUfhH4lG72rWLu+VC7sgHdwPxEqvY5JS68hf0zjE 3zxL9zKFAX+XSYH7ONaCHSMYIjDhlh+OyQRlaUWZS4FSPORRuHsBh/xorF0x85VX8b H1ZHuXyB3QCVhZm7lETEL9TcCUXwuflBm5dv3FbcG5rVSwqMvOQe29mAOUmjXjtMTN lD2iT/WqX/cMbIrKl5ylYhvoABOorX9YVVn0msIlkVz8aTJsGEk2o6jbgZW9AkPajr Q6cGJ64fM47dWD2NdcNiz2JFQ27cxf4y2Y/YnxM2SfKOH0s1bMa5iydZEsW5JBV8lF 4Rf51s700GxHZTSQyo2p576Zy4PZscMlGEsgl5A4JlW2wiRqlykmpPBAdl/AUOR5Z8 JSMCWJ+N7UOa7V6oYqUeB5H+xmOL6sCsBsrp+h722pMKs6vmxRZc+Kd3uMvd8gKcXf jt6iuLHyOxsCo2oJ2Y8+6Kbk= 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 952CE40E00B3; Wed, 11 Oct 2023 19:03:18 +0000 (UTC) Date: Wed, 11 Oct 2023 21:03:17 +0200 From: Borislav Petkov To: Josh Poimboeuf Cc: 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)" Subject: Re: [PATCH v4] x86/bugs: Add a separate config for each mitigation Message-ID: <20231011190317.GDZSbxdd5TuCIp5+JN@fat_crate.local> References: <20231010103028.4192223-1-leitao@debian.org> <20231011044252.42bplzjsam3qsasz@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231011044252.42bplzjsam3qsasz@treble> X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Wed, 11 Oct 2023 12:03:44 -0700 (PDT) X-Spam-Level: ** On Tue, Oct 10, 2023 at 09:42:52PM -0700, Josh Poimboeuf wrote: > MITIGATION_PAGE_TABLE_ISOLATION > MITIGATION_RETPOLINE > MITIGATION_UNRET_ENTRY > MITIGATION_CALL_DEPTH_TRACKING > MITIGATION_IBPB_ENTRY > MITIGATION_IBRS_ENTRY > MITIGATION_SRSO > MITIGATION_SLS The train has already left the station on those. The other mitigations don't have "MITIGAT*" at all in front of the name. I.e.: config RETHUNK config CALL_DEPTH_TRACKING ... and prepending them all with MITIGATION_ is going to cause too much senseless churn for a reason which I don't think is worth the effort. So let's stick with the current naming scheme and do config MDS config TAA ... and so on. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette