Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25ED7C433FE for ; Wed, 17 Nov 2021 18:46:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1320960E53 for ; Wed, 17 Nov 2021 18:46:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240217AbhKQSti (ORCPT ); Wed, 17 Nov 2021 13:49:38 -0500 Received: from mga03.intel.com ([134.134.136.65]:63761 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240192AbhKQStf (ORCPT ); Wed, 17 Nov 2021 13:49:35 -0500 X-IronPort-AV: E=McAfee;i="6200,9189,10171"; a="233973487" X-IronPort-AV: E=Sophos;i="5.87,241,1631602800"; d="scan'208";a="233973487" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2021 10:46:32 -0800 X-IronPort-AV: E=Sophos;i="5.87,241,1631602800"; d="scan'208";a="672497290" Received: from kkempf-mobl2.amr.corp.intel.com (HELO skuppusw-desk1.amr.corp.intel.com) ([10.255.92.124]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2021 10:46:31 -0800 Subject: Re: [PATCH] x86/paravirt: Fix build PARAVIRT_XXL=y without XEN_PV To: "Kirill A. Shutemov" , Peter Zijlstra Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Andi Kleen , Dave Hansen , x86@kernel.org, linux-kernel@vger.kernel.org, "Kirill A. Shutemov" , Juergen Gross , Deep Shah , "VMware, Inc." References: <20211117181439.4368-1-kirill.shutemov@linux.intel.com> <20211117184225.6e257nfpdd2qhrj4@box.shutemov.name> From: Sathyanarayanan Kuppuswamy Message-ID: <4824bf30-851e-c927-a50f-87fa2a429b2a@linux.intel.com> Date: Wed, 17 Nov 2021 10:46:30 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211117184225.6e257nfpdd2qhrj4@box.shutemov.name> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/17/21 10:42 AM, Kirill A. Shutemov wrote: > On Wed, Nov 17, 2021 at 07:35:01PM +0100, Peter Zijlstra wrote: >> On Wed, Nov 17, 2021 at 09:14:39PM +0300, Kirill A. Shutemov wrote: >>> TDX is going to use CONFIG_PARAVIRT_XXL >> >> *AARGGHHH*. srlsy? We were trying to cut back on that insanity, not >> proliferate it. > > It is a way to minimize amount of changes needed for getting TDX > functinal. We will remove the dependency later on. > TDX has a requirement to use HLT paravirt calls (which is currently listed under PARAVIRT_XXL). Once we submit a patch to move it under CONFIG_PARAVIRT, we will drop this dependency. -- Sathyanarayanan Kuppuswamy Linux Kernel Developer