Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp666630pxj; Fri, 7 May 2021 18:00:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyv/fMQZPhqE44goh9Ur6q2Od8ecac4VgIsht0Kc76LFq3J4ARnT08SEwSb0zw1bmz39r3/ X-Received: by 2002:aa7:ccc4:: with SMTP id y4mr14697884edt.171.1620435651824; Fri, 07 May 2021 18:00:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620435651; cv=none; d=google.com; s=arc-20160816; b=naxKhloaWXXF8ohUd5f1JrmCIknf3c/F4qbJ3hnfWTkPL900cofUh+vgZKC2Asc9dQ GzZQRRL+I4MDyD5hgAidyK2A8O7CWdvDdgeZiXCT31aSRvSxotqTfAMDzUOObcc0x73g 1R1M1qCb33oXlCD0czKQ/k2I/J31q1kCmLVnDQ1mgxeY3/fsET4DE9fzbqCLEZ2gEkRW jtprtYiNQ8TuwKfkfY1rx+cP3l60+oDKdQ7JajNPYvKsU64xjfvS8Ki2qpwdcL7+hLrc oX3fVbTAtjNypeMKc0OSTsvNfSY4yfTulA7V3VbWkxEOqrzqc13IlXwoVbcXBnRFPwEp SRvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=FQ/3SkhU7TqqN5pHBdpuoMn7QTgc4TEIskJq8pWJr3A=; b=gTjvhCbDclrC1ip2uIB3rMQJ3TUyCVaolDZNolwBIkzq4w5nvV8rghZGIHhZKk7L3P 9ac6+LalMlYEPLxN3ZwI1Q5X4XHZfwSelMzP0lDCHtn/Uk9FhL6F8D3i/cgLBk8xeyZU uJ5afXlllZRsymBH8Q6AV7hF1lNgDLt68WtlezZ8uiFe5GXn0/3du+AegkGCjxdBX8Mj 3c5cBWvhu6S6wTrGzbD8sa46v2/b1ThObrvdNoKhOXlynB2hfbAp9nyZzzc3lm0AM3Zc ylJBQ5FqbWBLubN/InXXx0Mj58ubuttHw4cdCnPw5yyUJMr1chQr1H+SfybJgfhNGJg9 lqug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o25si6042910ejg.539.2021.05.07.18.00.27; Fri, 07 May 2021 18:00:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229482AbhEHBAi (ORCPT + 99 others); Fri, 7 May 2021 21:00:38 -0400 Received: from mga04.intel.com ([192.55.52.120]:30746 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229524AbhEHBAh (ORCPT ); Fri, 7 May 2021 21:00:37 -0400 IronPort-SDR: qj+QrWZ3Jp/F7OcRVz77fmrzpz/951h+j+Rrbl+AEV0cYfTWnuRNSP5nxx+nqhGZ3tgcFn5qC2 YFEEwnEG7aHA== X-IronPort-AV: E=McAfee;i="6200,9189,9977"; a="196832329" X-IronPort-AV: E=Sophos;i="5.82,282,1613462400"; d="scan'208";a="196832329" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2021 17:59:37 -0700 IronPort-SDR: pu6Y7bK85F7tIRBaQZbqYFMgg2DHqwSFjMZ1wvogw/zF3lSFr59u45v1yTGWt1xmyahgWpAd4P W/AC1uJfOAtg== X-IronPort-AV: E=Sophos;i="5.82,282,1613462400"; d="scan'208";a="533888109" Received: from shibalik-mobl1.amr.corp.intel.com (HELO skuppusw-mobl5.amr.corp.intel.com) ([10.212.190.154]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2021 17:59:36 -0700 Subject: Re: [RFC v2 10/32] x86/tdx: Wire up KVM hypercalls To: Dave Hansen , Peter Zijlstra , Andy Lutomirski , Dan Williams , Tony Luck Cc: Andi Kleen , Kirill Shutemov , Kuppuswamy Sathyanarayanan , Raj Ashok , Sean Christopherson , linux-kernel@vger.kernel.org, Isaku Yamahata References: <04de6cd6549eee0b77fe3b0937c4b4b7f0e3ff2e.1619458733.git.sathyanarayanan.kuppuswamy@linux.intel.com> From: "Kuppuswamy, Sathyanarayanan" Message-ID: Date: Fri, 7 May 2021 17:59:34 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: 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 5/7/21 2:46 PM, Dave Hansen wrote: > I know KVM does weird stuff. But, this is*really* weird. Why are we > #including a .c file into another .c file? I think Kirill implemented it this way to skip Makefile changes for it. I don't see any other KVM direct dependencies in tdx.c. I will fix it in next version. -- Sathyanarayanan Kuppuswamy Linux Kernel Developer