Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp65280pxb; Wed, 16 Feb 2022 21:59:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+HFou8YM1V1IBmCtPVQobnETNcYESN4fVoxggmQo6GpUcDvMMP1JxZURMAAIbstBtql2R X-Received: by 2002:a17:90a:9c6:b0:1b9:90e7:2b13 with SMTP id 64-20020a17090a09c600b001b990e72b13mr1482431pjo.41.1645077542861; Wed, 16 Feb 2022 21:59:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645077542; cv=none; d=google.com; s=arc-20160816; b=n29A4LHjObDjrIuAwXDm4m3YDy1hRU5gdRY3aXWzrcmx+2ZGFPqfKxXiKJfuvo9XFx SsL73qlu5yT5O0kwUsHGhqurOf1jesTo/Z3GHNAkMLe0/mgPK+KmYteVXUhe45KXyUOf KRkhsIDj7BdCH0a3F/GEOXsXcJ3L1gSQo3m7N3wx8gEVHpGwEYWdIHj0wlKtFuVJUroy 6+GokCPEt2zvJQm5BhjwV79LzUo9pi5gEjQqy7zczgR+7mgpaV7J2nM5aego+fNKPEwq obYLvii+A7xIAoGumVm1H2X5u2zTfmRdb+fp3xHyiL79dlzYlxGMr7WqGm5YnUzwmXD5 0gVA== 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=fain4AjGeF3YbaPcoKuzSdMDXayLVEBSnhuXRjygehY=; b=SoO0J/bvDaut+MqhSYrKwWEnO/hfDlIfbsa8hO0kDqFyYb5YEfK/sDx9W5h8CG0/PL sPSUMTbj2t/cAOZw2S6PhRBvsLZ/zacgNxQiLnxU6buWJdO2OuxgzbKHkBEvD40CyPE8 O4cTqHYHa3+5ZkSgLeSHdO0s2RsKshlf6naWz3SYqSB9B00TcVtlNnFFeiBeQ1gagJWA 1d39105ghxNuhGgSreuvEGnjGccNyLtIZ5HcONSBEhtoRhdTKEQJRldQubqb+aM8ipqC yOH+ecKOOXLak7Spe/sJf8GTwg+7cfd8eHvVTqeqw50zD7T4TJpNDZe08iSm95dGbh3n F66w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=bBpjKT1l; 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 d6si18831760pll.363.2022.02.16.21.58.10; Wed, 16 Feb 2022 21:59:02 -0800 (PST) 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=bBpjKT1l; 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 S237773AbiBPTD7 (ORCPT + 99 others); Wed, 16 Feb 2022 14:03:59 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:43322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237976AbiBPTD6 (ORCPT ); Wed, 16 Feb 2022 14:03:58 -0500 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B86F513CA09; Wed, 16 Feb 2022 11:03:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645038225; x=1676574225; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=fain4AjGeF3YbaPcoKuzSdMDXayLVEBSnhuXRjygehY=; b=bBpjKT1l+tkJwaId3Qt+s6Tm97dDP0jYOzvPzFKLGxz1fB2FVgKW/OAo mKymGrxJ5eFWNaUx1CrvmSEJsaStR8PnJ3blEdW8zPq+TYfpFXvq+Berh 37Ey15CQuLc5mS1hjXf3eQqqoTd/B4Cx+GJuet1BGYeXfWNuaGBOT4j+w kmaKKBHNktJF5s6Gt7ZgpRz1+c3ECfuzrYs7X7UPn40XiPj8L4u45buhU OkiywTYPl6w/GYnTN2jNTlrIJ8QLFNTLqRKIqcJF23WREokzBlDe7/ouG +FrUX3v5JM5mVCeJDzZSJtdRZXR+tbO6w+vlQ0b/dVJD7gQFzRVlNbCYF A==; X-IronPort-AV: E=McAfee;i="6200,9189,10260"; a="275283434" X-IronPort-AV: E=Sophos;i="5.88,374,1635231600"; d="scan'208";a="275283434" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2022 11:03:44 -0800 X-IronPort-AV: E=Sophos;i="5.88,374,1635231600"; d="scan'208";a="704432435" Received: from guptapa-mobl1.amr.corp.intel.com ([10.212.185.96]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2022 11:03:43 -0800 Date: Wed, 16 Feb 2022 11:03:42 -0800 From: Pawan Gupta To: Borislav Petkov Cc: Andrew Cooper , Thomas Gleixner , Ingo Molnar , Dave Hansen , "x86@kernel.org" , "H. Peter Anvin" , Andi Kleen , Tony Luck , "linux-kernel@vger.kernel.org" , "antonio.gomez.iglesias@linux.intel.com" , "neelima.krishnan@intel.com" , "stable@vger.kernel.org" Subject: Re: [PATCH] x86/tsx: Use MSR_TSX_CTRL to clear CPUID bits Message-ID: <20220216190342.fzbwof5s3x64ln4u@guptapa-mobl1.amr.corp.intel.com> References: <20220215121103.vhb2lpoygxn3xywy@guptapa-mobl1.amr.corp.intel.com> <20220215181931.wxfsn2a3npg7xmi2@guptapa-mobl1.amr.corp.intel.com> <20220216003950.5jxecuf773g2kuwl@guptapa-mobl1.amr.corp.intel.com> <6724088f-c7cf-da92-e894-d8970f13bf1e@citrix.com> <20220216012841.vxlnugre2j4pczp7@guptapa-mobl1.amr.corp.intel.com> <20220216060826.dwki2jk6kzft4f7c@guptapa-mobl1.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 16.02.2022 11:30, Borislav Petkov wrote: >On Tue, Feb 15, 2022 at 10:08:26PM -0800, Pawan Gupta wrote: >> Alternatively, we can reset RTM_ALLOW, > >I'd vote for that. Considering how plagued TSX is, I'm sceptical anyone >would be interested in doing development with it so we can reset it for >now and allow enabling it later if there's an actual use case for it... Okay, I will add RTM_ALLOW reset logic in the next revision. Thanks, Pawan