Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4465485pxj; Wed, 12 May 2021 06:19:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBKNFwRyKfAoRqNS5LMXSqSJ7iTbjEyCrfVY/AYigQuAXOF8OGfaLvppxqnYKXFLZAmnLo X-Received: by 2002:a17:906:6d43:: with SMTP id a3mr37996983ejt.142.1620825594254; Wed, 12 May 2021 06:19:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620825594; cv=none; d=google.com; s=arc-20160816; b=Y5K8S0/WU7HkfOPr+ox4blgrWkNGcTqBfEUKNOfz4ltep4ouP6Bjqz6UK4tbYoxIBQ QwtmkLFoeNnYIkg1u3/m71buCcUq+mJVijg/aJiHseYWYqDUbknGYwJhFLB3tNSv7DZY 4vAVFOr327ggGEGloz0U5J31zCIzWXN9euxYGQoc1f+fptV7Z4IjM+uUrI252GrXppEJ SbXqUA7pzPxliKhziRtaoCH0q/0yguiUVikr9J4MRLSymfFJkU0XywPkCiMwdlEiBM7k Gsf3C5e2/hNPWhM12QbNqM8jVgLFZqlu/DFgiuiNYABg7uEcDYnj6m+jZlh7AwoILW2/ jePw== 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=xap++t9BoJl2IuYSh+EBBBTbjARnF0khTcoJ209GXBc=; b=cfs7nbk1tAVD+eZI9Yg0Gwwg/S9CvOun4SqWNGghROLBZbUJfdQdofSPVqqc5oZWkT iSpa0bytx6nUmy+HfEeVGwl46JUwxaLHGiUmSONR4CJ97gSft6gACl3iRIiVfLo0ySkQ lFxrtFdGSELCHU41OC6vkywnMNBjgjy009CTT6gpaiwOC/Ups9OPhasZUxCOp5ErLooa dG9UnD3SRubTGc5keyDB7rE0KrCXCbeMZM9v6SAlMeH2ZorprF/DLuuAGr5N+OGKaAdI jku8OInAfstBt8S+uRNlCE8U3fuK/zK0n0yvAsjLNrY40vgsonNZgaYCFVu2Meh4K4D1 1lKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=XEQ3MPkz; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b15si2175048edd.87.2021.05.12.06.19.30; Wed, 12 May 2021 06:19:54 -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; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=XEQ3MPkz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230474AbhELNBO (ORCPT + 99 others); Wed, 12 May 2021 09:01:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230293AbhELNBO (ORCPT ); Wed, 12 May 2021 09:01:14 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD418C061574 for ; Wed, 12 May 2021 06:00:05 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id r5so16390302lfr.5 for ; Wed, 12 May 2021 06:00:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov-name.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=xap++t9BoJl2IuYSh+EBBBTbjARnF0khTcoJ209GXBc=; b=XEQ3MPkzgiu+ROcRgQU2v+djK2hR7zxon3gknqwdo1p/YftJClB6BLbmeIwd1XCdgf x78iUeS1hM9rRoRbV/4q2JX04bjfc8jpAqYRONcvRhUD/RlgEnnri69MabJ3igJKaTuv cuFUkm1Q1gSPVmezasmYuyRe52XPLzBuOJ3GRKDxxS5amkfKi40+fbQFLqT1tcy32nIP GWVEEdw2bbfRccKJGCjNVZZq2eJSub7N0ShYZyRose7gdR3jq8q70riUuNHh/SmxOzeP zvrtB0S2vAsNR3Mp7VjQFY+f1/GLfzXaKLeKwtfzeiN8AqZYK9LykMLL3nF5A3CV+dXF eeGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=xap++t9BoJl2IuYSh+EBBBTbjARnF0khTcoJ209GXBc=; b=nECuIqxJiSPKp3i16PA6oDHmBCjUpeSGd6hLe7qDQNqpcS5QZ+BsQPt99fioVDEros bZv1pTKBZs/P55y96SiRzLfRdzrgnTW1fDaRzB5Lu+MuzVkCazo6wouFxrPlCl5trSeQ Lm24uKDLRcaSGcI+/5jEZCBfOhmocaYXk1Kglon3+Cx4Lg4LgsmOtDRP+3lIAA3c6MtC Uo7cCIGy1N5Qbuo+01jeRzk51bATX0riIHlZu9xpbO5m1D+z7Na91i623rD4Mm0+ldHh W2HaERLrcOUCUSRXGzLvnlXB/SquRSSuyA/Rldi54D24jr8RFccm9VtnH7L4r6e77MTC +Mew== X-Gm-Message-State: AOAM530LizYjGetn7hoctldtnCWCKMh84EQMKQxaEtCbm6ItoJIRXbT5 lijMYT81yrVebcqibfuvUlctHA== X-Received: by 2002:a19:4cd7:: with SMTP id z206mr10482663lfa.487.1620824404282; Wed, 12 May 2021 06:00:04 -0700 (PDT) Received: from box.localdomain ([86.57.175.117]) by smtp.gmail.com with ESMTPSA id f29sm4091830ljo.69.2021.05.12.06.00.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 May 2021 06:00:03 -0700 (PDT) Received: by box.localdomain (Postfix, from userid 1000) id 9DB1410265F; Wed, 12 May 2021 16:00:04 +0300 (+03) Date: Wed, 12 May 2021 16:00:04 +0300 From: "Kirill A. Shutemov" To: "Kuppuswamy, Sathyanarayanan" Cc: Dave Hansen , Peter Zijlstra , Andy Lutomirski , Dan Williams , Tony Luck , Andi Kleen , Kirill Shutemov , Kuppuswamy Sathyanarayanan , Raj Ashok , Sean Christopherson , linux-kernel@vger.kernel.org, Isaku Yamahata Subject: Re: [RFC v2 10/32] x86/tdx: Wire up KVM hypercalls Message-ID: <20210512130004.gxiaxj6wlzcjcem5@box.shutemov.name> References: <04de6cd6549eee0b77fe3b0937c4b4b7f0e3ff2e.1619458733.git.sathyanarayanan.kuppuswamy@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 07, 2021 at 05:59:34PM -0700, Kuppuswamy, Sathyanarayanan wrote: > > > 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. This has to be compiled only for TDX+KVM. -- Kirill A. Shutemov