Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2392919rwb; Thu, 27 Jul 2023 06:40:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlG1gzeNRJwBStqOnnoQnUwXJRuVycg+Dc1EQQ+L4UP4uwg4ljOOlPbjLvx1vFTJRZtWRDWY X-Received: by 2002:a05:6a21:338b:b0:13a:bed2:948b with SMTP id yy11-20020a056a21338b00b0013abed2948bmr5546144pzb.43.1690465219712; Thu, 27 Jul 2023 06:40:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690465219; cv=none; d=google.com; s=arc-20160816; b=mPF9KgWhxXK8YcyDSdRuFdIL8ol5nPsCNKQNTJP0dVVMClvo6sMaPt69QnFb60B72H Ejg7c40XfaWfGdYiouYa6zbwUIQreWps86nIgDbpHvWLGMYJG2+Y0kH+SFN325fqmpVu fNNJpDdizHmEKBylQuUDyhA8q5mR+AJ8cGEnCmmUZVSu58MLHWfTiXhOWEWHWPvD9i7i O9P1RAPG9ulafj+OVLU6AmUUpRlAM2JK7MIqAutZrTRCTbkNQdfRQbUALp8fuXAx6Qpw r1qmk4lZrtc+DdkWQqAJbc/91MpZmAX54KeZ0gd9lHHzAuq/+dDpL2v55vFXCWNbVzSC g14g== 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=m1ma43+QkLJvuiNkutS4mZbfNHeMZ+ZSQxkwqhyLlqw=; fh=zN2JBeE3ky/Xz5p/ZSHHDMuLiv0fZP/68F4Zs1KJnZc=; b=Bp1qOQxQpdAl6NpoegKtvOVw0/L6bzTn6+1PkbW00HUT2s26ENKPCwRhB9mEGEPwLt 5f5MbpGfJfnwa6EYceC899ja7oOjFSlLxowSHF+zviI8gGa476NAU4R3Nky0SA36Hkid cJsjYqjUEzEkKHHe/UEi8ZAanuz4CaSNuYyJhXHJQitwOH8VNm+TxtXzz/VK0Wv65cN0 oTzneFwYsZAOgH2Fsyg0ETvJR3SMiAYcckGkHcP/5Ajfd6W1IWpB0Jo9o+K9eS1Y+2GN TGukXxgKRIvLaPuEi3uAZ28uhhE5vVv2V5G/4QqoVPXFS8yvberJf2sGFQy2jRL7KLjO HN7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="cCRh/8YV"; 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 be3-20020a656e43000000b00563fbbe378asi1331694pgb.59.2023.07.27.06.39.36; Thu, 27 Jul 2023 06:40:19 -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="cCRh/8YV"; 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 S233451AbjG0NCV (ORCPT + 99 others); Thu, 27 Jul 2023 09:02:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230466AbjG0NCR (ORCPT ); Thu, 27 Jul 2023 09:02:17 -0400 Received: from mgamail.intel.com (unknown [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 365921FFC for ; Thu, 27 Jul 2023 06:02:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690462937; x=1721998937; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=F6awQahw+TUrdL9bQV+qksR//IXVBzUbgGUgF9l3SMs=; b=cCRh/8YV2TRZz6U+03yw2+w1Z76lC5EBcqGTa6shjivwQWpA9rWviqKF /q8nhyDb2YTvmXZemv4TBJc/yIzW4Fn8TrT3SagxYnWNM+dMSCFqKfvDb TBG445SmIYiX7wsIcVs1uchm85B+kAb2c3KUMF8GgE0yT+WsJ96QqIZE4 DeC+yXO8Lv+cq71X83f0fziCLI89USfYaPJ4ehxUdfY5l9ApjlKgK/SBF rJbjIn5NTAj+ktxpuG2qxBqeBtR2r4W0I1wlpQSubdW2vfunZ1W5vyMqI MMMwIqjixMXczLXJiNazABaGtP9+wWptI/UjMb4nOVyRZZDfAnQs/0OyH A==; X-IronPort-AV: E=McAfee;i="6600,9927,10784"; a="367179967" X-IronPort-AV: E=Sophos;i="6.01,234,1684825200"; d="scan'208";a="367179967" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2023 06:02:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10784"; a="756621709" X-IronPort-AV: E=Sophos;i="6.01,234,1684825200"; d="scan'208";a="756621709" Received: from lzhiguno-mobl.ger.corp.intel.com (HELO box.shutemov.name) ([10.249.37.222]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2023 06:02:10 -0700 Received: by box.shutemov.name (Postfix, from userid 1000) id C884D109503; Thu, 27 Jul 2023 16:02:07 +0300 (+03) Date: Thu, 27 Jul 2023 16:02:07 +0300 From: kirill.shutemov@linux.intel.com To: Kai Huang Cc: peterz@infradead.org, linux-kernel@vger.kernel.org, dave.hansen@intel.com, tglx@linutronix.de, bp@alien8.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, seanjc@google.com, pbonzini@redhat.com, isaku.yamahata@intel.com, sathyanarayanan.kuppuswamy@linux.intel.com, n.borisov.lkml@gmail.com Subject: Re: [PATCH v3 04/12] x86/tdx: Rename __tdx_module_call() to __tdcall() Message-ID: <20230727130207.4uzswwgywhdho5i7@box.shutemov.name> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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, Jul 26, 2023 at 11:25:06PM +1200, Kai Huang wrote: > __tdx_module_call() is only used by the TDX guest to issue TDCALL to the > TDX module. Rename it to __tdcall() to match its behaviour, e.g., it > cannot be used to make host-side SEAMCALL. > > Also rename tdx_module_call() which is a wrapper of __tdx_module_call() > to tdcall(). > > No functional change intended. > > Signed-off-by: Kai Huang Fair enough: Reviewed-by: Kirill A. Shutemov -- Kiryl Shutsemau / Kirill A. Shutemov