From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.1 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C48AC433EF for ; Sat, 4 Sep 2021 00:05:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0FD9E60F21 for ; Sat, 4 Sep 2021 00:05:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350762AbhIDAGE (ORCPT ); Fri, 3 Sep 2021 20:06:04 -0400 Received: from mga14.intel.com ([192.55.52.115]:9300 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240571AbhIDAGC (ORCPT ); Fri, 3 Sep 2021 20:06:02 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10096"; a="219245683" X-IronPort-AV: E=Sophos;i="5.85,266,1624345200"; d="scan'208";a="219245683" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2021 17:05:01 -0700 X-IronPort-AV: E=Sophos;i="5.85,266,1624345200"; d="scan'208";a="447791653" Received: from akleen-mobl1.amr.corp.intel.com (HELO [10.212.143.21]) ([10.212.143.21]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2021 17:05:00 -0700 Subject: Re: [PATCH v6 11/11] x86/tdx: Handle CPUID via #VE To: Dave Hansen , Sean Christopherson , "Kuppuswamy, Sathyanarayanan" Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, Paolo Bonzini , Juergen Gross , Deep Shah , VMware Inc , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Peter H Anvin , Tony Luck , Dan Williams , Kirill Shutemov , Kuppuswamy Sathyanarayanan , linux-kernel@vger.kernel.org References: <20210903172812.1097643-1-sathyanarayanan.kuppuswamy@linux.intel.com> <20210903172812.1097643-12-sathyanarayanan.kuppuswamy@linux.intel.com> <24d0fe72-78b4-6550-e5d8-dd511dcbfef3@intel.com> <26e79e8f-ba96-9087-04dd-283eadd8c693@linux.intel.com> <0be2590c-aad8-0d04-4f14-2081d9b66fbf@intel.com> From: Andi Kleen Message-ID: Date: Fri, 3 Sep 2021 17:05:00 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <0be2590c-aad8-0d04-4f14-2081d9b66fbf@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/3/2021 5:00 PM, Dave Hansen wrote: > On 9/3/21 4:54 PM, Andi Kleen wrote: >> It means they are handled by the TDX module, but always have the same >> contents as a native CPU would. >> >> As opposed to leaves that are modified by the TDX module. > Is that distinction important for this patch? It's not. > > Or, should we stick to the two-class taxonomy (#VE-inducing and not) > that I suggested in my replacement changelog? Seems fine. -Andi