Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp789746pxb; Fri, 22 Apr 2022 11:10:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9un2H6WLP4ioIUGCR1U5nVzvP2uiGS29M9cLXw5lEQ8eMRiupHhxnVFm+Q9jxwbKb7yPd X-Received: by 2002:a17:90a:db08:b0:1c9:7cf3:6363 with SMTP id g8-20020a17090adb0800b001c97cf36363mr6858672pjv.35.1650651059007; Fri, 22 Apr 2022 11:10:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650651059; cv=none; d=google.com; s=arc-20160816; b=frNsE90ii012rMaNgqGnwPCQKXx7RAggm5fvB6vDwr4VJYHjxOp8fcx29Nb0XD9Ov1 /nQCSyLWrAEfc0pAHZlAEJb1lBCF5A4NM7arR794ATw795P5KKXyr6ov7/tOUex/OJjl gk16Tvs58XgSqRtrRvaRvcpEeljydqSVuxUV07RydVPaAH6Bf688mB+9iXSO9iSuDzEw HhVeV2WFAc+mppTbK+SSSBCqRRLJYRr/JRsGPq7Ph1mOOx/TF0ILm6PMdupCE60i4Fat wfuJ5Yb5AHXDrdjQ2QBWvCp2P1UFTMbUJTvTdaDYLfSQzweHVDUOklnQLzhTtfaZyIRJ uArA== 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=qsd0++oLX4y5pxxeg2SXjeWgMSex6YCSchk5YeWR2fE=; b=NQyrHcyUof2UDB/NfrYicA7PiCwjIU9n76qMwHSlstgTV3MZrUl+v0IR4lFlj+gQb3 sU4ck4tGrKhfL0F8lA9RP0cqzKsxfhvtbNRkaeoiTZL2XNPVeYSjSng1SJ+/wNfB9Z4z sqKaXW3d6RebZ35mpKrDnXc2IdGfXmn/16sY8GvrSSU2/f+xFHrrsyV11d1VQP4AVDOI CKfmlZTn2cWjhpKFCcumdP52ptCttvu1E/oK9gaZqVedjfhXYzQtDlibWiwk1wV+eXrg H2Lec2uSsvJnNqQTCFtzkCSLVjQ763ykZ06VF9IQCs1h1x7ZU5md814owgtSoSWbXnyJ DPpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="lw/GkZoJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id z12-20020a63e54c000000b003a91660c8d5si8403681pgj.308.2022.04.22.11.10.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 11:10:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="lw/GkZoJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D9EE2F598A; Fri, 22 Apr 2022 10:47:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349303AbiDTETT (ORCPT + 99 others); Wed, 20 Apr 2022 00:19:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230163AbiDTETR (ORCPT ); Wed, 20 Apr 2022 00:19:17 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E7C335854; Tue, 19 Apr 2022 21:16:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650428191; x=1681964191; h=message-id:subject:from:to:cc:date:in-reply-to: references:mime-version:content-transfer-encoding; bh=u81sku0Dv0pejA3/j4OL8kvO+Wy+SJum2+dmhEsJwaA=; b=lw/GkZoJ1AE6I62GnnPGtCzfW/aHjP2gHpPi67rjCra38EWlqD1gCQ80 dUmngWfsUUIkB9hRo9DsEweQBMs1H5ASIJ7UYxFmpDfjMHV+NArP5t4nB FfGIBdfkn/7iu1r5/SlJHiR3NCISlq25unlW3Adkmhz1ordvBN9jcsNaa qzJI82VOFvpe0rRFLfPa/px7VTCGdycD3+6semqNoTV9C4wniCfoOLpmd lffVkiBHgvACWw4xv+SOVIdrEG/rl4AP2jyOLrHtY6z8fK6EntJC2+Z88 YqJDyO7idb98Zc1Ci0NG/ig1jQL5TfAApIcUb46iLrxU9n+cib5iiJStK A==; X-IronPort-AV: E=McAfee;i="6400,9594,10322"; a="263397432" X-IronPort-AV: E=Sophos;i="5.90,274,1643702400"; d="scan'208";a="263397432" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2022 21:16:31 -0700 X-IronPort-AV: E=Sophos;i="5.90,274,1643702400"; d="scan'208";a="667683964" Received: from asaini1-mobl1.amr.corp.intel.com (HELO khuang2-desk.gar.corp.intel.com) ([10.254.58.15]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2022 21:16:27 -0700 Message-ID: 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 16:16:25 +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=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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 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? -- Thanks, -Kai