Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp951316pxb; Thu, 21 Apr 2022 14:22:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTyNhsfIxx4Fg0kXkqw68JCq17F3zQrQBCeDrY7C9Bko560icgcu7OBrIvpX08JnFfgBQj X-Received: by 2002:a17:90b:4b45:b0:1d2:713b:637e with SMTP id mi5-20020a17090b4b4500b001d2713b637emr1728664pjb.38.1650576128984; Thu, 21 Apr 2022 14:22:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650576128; cv=none; d=google.com; s=arc-20160816; b=vc7d2K47LdDKnewH0xN/8XOxl6o70/wWQ33Ysm3eE6GTXyiopzT4/CuiPJq17IXDgW mV78S4NPcOZNuY+xrYyRXJoPof/hQhIbKhLm2xPxP9lx2Mqjo0CaSRuT9ODx5+0Cw4ny NYAYuLO4lQcIE243jxy4qH3GTz5YCEcTqePh1N9TCJHletg/nhS861kGpsCr1EKXi/I7 15//70NeI3O5WN2QwZnJ/VHflimEN/Z/lr6UWGGf2/qqAwH5CCeNBtspcwqHhn777wDb opsbMU1i5NwRB/Yj8ZIbYRBDXlRQE+oIt0Xn003xBLVjhX1C+x1JMGRjllhzIAuWqud2 Mh6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=sTBeX8HlsJH8Z8xyWZvY+1B/SzDX3DcPFKaHAb5wOxQ=; b=ip45Dh719Aq7MbvabhJC76S8UThEleFL7SwY5BrDqRyp/21Jqkluf9nxOf37LRIqei e4zYQGqyPtiho06f6m6LeLzE6npYC62GRjxl3qnodUfveGCBxEVg8AX9pBLAXQSch5Ln HIVJlDIP19dV/mGNhOJgb8A0YzHAUkwYMTZSKowiFaMCJfZfCjjYudYkp3FgYncA0MTC +GMv16mkiMD1Fj6Xib4i+rEv3luG0GrLk/NlnB6HMPaNhoLYmjCnyL6mq+WKXw0tF/bL lpjQO1EBy8MrMubZ47Hv6/cFZpB4W7o3tcmErQwRtcEJtfrxu81Z2AxU0us1lRH0v2C7 PF4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OOzV6l4K; 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 l12-20020a170903120c00b00153b2d16577si6434342plh.383.2022.04.21.14.21.52; Thu, 21 Apr 2022 14:22:08 -0700 (PDT) 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=OOzV6l4K; 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 S1377748AbiDTKmv (ORCPT + 99 others); Wed, 20 Apr 2022 06:42:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377772AbiDTKmg (ORCPT ); Wed, 20 Apr 2022 06:42:36 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE8A31FA; Wed, 20 Apr 2022 03:39:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650451189; x=1681987189; h=message-id:subject:from:to:cc:date:in-reply-to: references:mime-version:content-transfer-encoding; bh=/odPNgCAaCg5QNiot/1kNrCZbKD+V4EXjIoAtAZI7rM=; b=OOzV6l4Ka5kCWOrrh0LdGCZNEWzyjzEL0O4+8z7ZQH/HV4WqsTWOlcYK p8OkWLvn6v8B1pCCqSwYHTk1+1cDw6MClzF8h04vX+WVg6alE59y+qdxX 0zqnBaDaaCEz2tRPa2BQwJqlOhR8EfkX2A6xDcLekDo6p7kkTzpL9sxoj yQXukc+p0cUR7shqoXbkcGXicdD7DAKhVNbtSauJjiK57y9BShAkJ5cAr Y0+xQqPCCjB+4TsyomoPw6tgjo9+FPgaINHPGFDiNUIl6nR6UQG9Nc7ao Hat/xwj+/YcwouVp1C5HVZ1S3jfGTMRtNcOPi/cz4a0GOirUVi1q7bRVN Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10322"; a="262853510" X-IronPort-AV: E=Sophos;i="5.90,275,1643702400"; d="scan'208";a="262853510" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2022 03:39:48 -0700 X-IronPort-AV: E=Sophos;i="5.90,275,1643702400"; d="scan'208";a="529699217" Received: from rnmatson-mobl.amr.corp.intel.com (HELO khuang2-desk.gar.corp.intel.com) ([10.254.31.26]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2022 03:39:45 -0700 Message-ID: <2521bf42605a16847df239c0d7405d3c1b233340.camel@intel.com> Subject: Re: [PATCH v3 03/21] x86/virt/tdx: Implement the SEAMCALL base function From: Kai Huang To: Sathyanarayanan Kuppuswamy , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: seanjc@google.com, pbonzini@redhat.com, dave.hansen@intel.com, len.brown@intel.com, tony.luck@intel.com, rafael.j.wysocki@intel.com, reinette.chatre@intel.com, dan.j.williams@intel.com, peterz@infradead.org, ak@linux.intel.com, kirill.shutemov@linux.intel.com, isaku.yamahata@intel.com Date: Wed, 20 Apr 2022 22:39:43 +1200 In-Reply-To: References: <1c3f555934c73301a9cbf10232500f3d15efe3cc.1649219184.git.kai.huang@intel.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 (3.42.4-1.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 Wed, 2022-04-20 at 00:29 -0700, Sathyanarayanan Kuppuswamy wrote: > > On 4/19/22 9:16 PM, Kai Huang wrote: > > On Tue, 2022-04-19 at 07:07 -0700, Sathyanarayanan Kuppuswamy wrote: > > > > > > On 4/5/22 9:49 PM, Kai Huang wrote: > > > > SEAMCALL leaf functions use an ABI different from the x86-64 system-v > > > > ABI. Instead, they share the same ABI with the TDCALL leaf functions. > > > > > > TDCALL is a new term for this patch set. Maybe add some detail about > > > it in ()?. > > > > > > > > > > > TDCALL implementation is already in tip/tdx. This series will be rebased to it. > > I don't think we need to explain more about something that is already in the tip > > tree? > > Since you have already expanded terms like TD,TDX and SEAM in this patch > set, I thought you wanted to explain TDX terms to make it easy for new > readers. So to keep it uniform, I have suggested adding some brief > details about the TDCALL. > > All right. I can add one sentence to explain it. -- Thanks, -Kai