Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp10997014rwd; Thu, 22 Jun 2023 07:31:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5stzWC8bvRHD4btAkriubEabSEDyXZO1v1E0ULTgam8/mu5ghVmLIo32EWKJZbWsqstcKH X-Received: by 2002:a17:903:24e:b0:1ac:859a:5b5a with SMTP id j14-20020a170903024e00b001ac859a5b5amr14178572plh.0.1687444259687; Thu, 22 Jun 2023 07:30:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687444259; cv=none; d=google.com; s=arc-20160816; b=vjOarqmfbYQpXQnJu4CZo8tgQfuB0dRYt/Y7ePw6fllcImym+9glY04JMYb21fsam0 AslR3op3luKzfObcDr4+bl/udxpq7tg7XROQfihd/TcskIVbIhGXaINnM2H87T9nHbZz nOclk1Z8UbHiuxvHw+ciGGq77Ho/fV+Y6tXsrdy+4I+0AkhNaWhKKH3NnB0q9lMBaBKt qVxXk64OuHKCNNThqrMOPMcPtEQX/2ZsSYG12p55dLkkgtnDXKGmxXAPxyF2hKqXfF3u /mQ51XEzAjgJEm0Cnc5pt0vF3UrkBqTGqQ/ma5p4aY3VtNhqGXSJt9FfdkgL0gg7O2HN o80Q== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=HgwUoktkn7hqTchWR7QJLeGhbSVzza94dRBSWBwfawE=; b=MgZziMnxi+vxVRVtnSi8FOibEG3vCoDnc00/0Gcug4zV6yHEMe18kLaMWzm1OcPjl7 SzRtIDfIbbK+mFnTFFh6cRBZaUfQEsLjwDy9UVGxEFap048CnKfSnbyUJs5kNLiBpwaD mbG5evD3Ifh2Vuw7hVRasFtCOgWQU1VKcTxT+/pjALk/Aa11XEFYbEO2yGqH380yUQDi 06vQXE8Re/8cgtmYtLkjGkqHWmCcNXq3AvSkSpD/aeKza9YiMg1n+MEEElSYeuh1zEgO c9cM7QOye4SDNdoYwwgHpVyN30oHGWhbQTUACEznq/hE1NSJIV6bvvjil1n+UpR2jdQm Or9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=j3HirR68; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o1-20020a170902bcc100b001b3415a07dcsi6478539pls.91.2023.06.22.07.30.35; Thu, 22 Jun 2023 07:30:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=j3HirR68; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231528AbjFVOSh (ORCPT + 99 others); Thu, 22 Jun 2023 10:18:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231164AbjFVOSf (ORCPT ); Thu, 22 Jun 2023 10:18:35 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2141510F6 for ; Thu, 22 Jun 2023 07:18:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687443515; x=1718979515; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=UKEe/b4TDo1CLNfS/S1pNSMwV3IdLaBKSn31vLe1Eyc=; b=j3HirR68KZz0xD0774+L91QzkgbXm8VZrjFg9PStud5dMby7j8Y7z7zV hBSMcNZsrAu3c20LGN0/ycNjbaiiRIl0TtJLS480wTmdOS6ZFB85ns8qx l/K5uFK0JL+XbR2qmz1qZJNsg9y83nlQps5eYr5ZNHga6uLF4Hltptrza gSNfTZuMI++5GyCkg09tE4zWMwWgxuIJ5oyaMoyScFrLrCPAzbnd3xU2s efZe8inxOzXlqJt80mde7N2kKIi6AZpl2sFpZIvzHYLdFEsUL3F2SUUun hIqB8apd9s5f/93qpdbO2C/+rThajBkU8heczhwHbAzWqnivZnkexjY9Q Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10749"; a="426464612" X-IronPort-AV: E=Sophos;i="6.01,149,1684825200"; d="scan'208";a="426464612" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2023 06:42:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10748"; a="839060881" X-IronPort-AV: E=Sophos;i="6.01,263,1684825200"; d="scan'208";a="839060881" Received: from pajgaonk-mobl1.amr.corp.intel.com (HELO [10.212.235.136]) ([10.212.235.136]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2023 06:42:15 -0700 Message-ID: Date: Thu, 22 Jun 2023 06:42:15 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2] x86/bugs: Break down mitigations configurations Content-Language: en-US To: Borislav Petkov Cc: Breno Leitao , Pawan Gupta , Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Peter Zijlstra , Josh Poimboeuf , leit@fb.com, "open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)" References: <20230616164851.2559415-1-leitao@debian.org> <20230621001327.qdyebewnx7r5aiy3@desk> <20230621173135.wiprtgzslhw5z5or@desk> <20230621194101.bmwesljror2yqjxx@desk> <0c908258-2b03-ebb3-bc7d-af5ea66479d4@intel.com> <20230622124238.GAZJRBvrJdWloWzy0D@fat_crate.local> From: Dave Hansen In-Reply-To: <20230622124238.GAZJRBvrJdWloWzy0D@fat_crate.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 On 6/22/23 05:42, Borislav Petkov wrote: > On Wed, Jun 21, 2023 at 03:58:10PM -0700, Dave Hansen wrote: >> Do you like the direction this is going? Maybe I'm missing something. > Yeah, see > > f43b9876e857 ("x86/retbleed: Add fine grained Kconfig knobs") > > AFAIR, Linus wanted those this way so the only logical next step is to > add the Kconfig knobs for the missing ones... Makes sense. Thanks.