Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4906860iob; Mon, 9 May 2022 04:35:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaUBOefK7nswA6RJ53h97e+CfEfsVcsfqDzMIcfhl1tefiPCm83mU7kxItwEh+EZlylJ52 X-Received: by 2002:a65:6c06:0:b0:3c2:81e1:fd72 with SMTP id y6-20020a656c06000000b003c281e1fd72mr12852933pgu.209.1652096147559; Mon, 09 May 2022 04:35:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652096147; cv=none; d=google.com; s=arc-20160816; b=flfbQkpoCUZin9i0U2apnzFGrlt8zhLKJTQHnyQqw3HpnEXTHwnw1KtGheVggveT64 DvKkiWw9G5wz6KP2tUkSEUsO3/+MvmMeBX8cfl2qfYf14NLpJrnTTVrf++wFm+DE76lI Byf19qCC5lOXRoZY+PaqCf/ZPyf3x0uL65bcslnX2j0dfRVoCb94J8KiGz6nOQAAL33z rh+eZ/XszNt7rsNWsVG1eo5Go4FcKo3fM03WUxTJnk7hXNspcCEwp0CIUwJ7zvT8LBTi QA4zCCwupbtcMkeQ12mtWLriOH+SBEN4cbvicJLgr0LkRe7Kb99RT2paiGJxdlb0IrBb GkEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=i4ODuIClhs3mPszvinEDNPwzFTB2SCM7aKWWSn8J0uI=; b=UT1hiRvkPxVQj/j86/8f5ArM6LvsN7X/6MkXX6BhddFpR7LIkc+jKMCTxas/IUd27G iLsevjQORdfmUDdiRwyfj1WBn5lVKsssdzbdkp2ogD2HESOvhHBWkTsxCTAmEvq6A6Gr O2SSEzkyYBoeHwrMb4jo+YXFiMC9HC6wdd3NlgZVQe2BaYG9HtpY5WTPKFfc1BHqdptm jz5oqpVTQEgIVF3HJ6yctxWFVw8UQ9XWrwkjNzZ/2nvYBgL+2jAv+QNb67h3N7w81ht1 glMzI9Hg4fr2xEpLxSbvCxsaGim4clSSJyIfqHZogU4fwpJNYEkzrBAXFuvUkVKdXKOJ 5Wzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZobUQTJx; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 65-20020a630044000000b003c67d4439acsi2855495pga.470.2022.05.09.04.35.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 04:35:47 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZobUQTJx; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 111E92C818B; Mon, 9 May 2022 03:39:59 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1444532AbiEFVjW (ORCPT + 99 others); Fri, 6 May 2022 17:39:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1444570AbiEFVjG (ORCPT ); Fri, 6 May 2022 17:39:06 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 372F1290; Fri, 6 May 2022 14:35:20 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id z5-20020a17090a468500b001d2bc2743c4so7937216pjf.0; Fri, 06 May 2022 14:35:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=i4ODuIClhs3mPszvinEDNPwzFTB2SCM7aKWWSn8J0uI=; b=ZobUQTJx+NEoOz7HvidPGdMS7pGKQYEvaMWHSkM0LrrT6xvFzsqRlO8aabdUfk5mzA WAA2gQ7JSMyXLNUMRob2kQl5ERwLxOJ2TkuCeceApSb8CPToTX5+rYaOc+1tcw5gg1Br 7SVE3oSloMmZlo6LHAFw4xmpUoIo3tI/ITUkxK5fr1rV84MGytDKKoGyceW6oPKJpYzu /roz5hcWkLX7E2Wm1fgGGypKwUltKCTWHToCeXoq5qEMdzN1UN5eWqvyC1KKII/boOsN 9XxfX8biWIIfNEmkVv2/GQ0CM3ODhwDpG3bBlExPQabUZdRprNM2RcKRAcEsCwuNKBdJ vnxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=i4ODuIClhs3mPszvinEDNPwzFTB2SCM7aKWWSn8J0uI=; b=1CokWBJ4/UWZYRM7o7AbkoYHJqqb3kOQ/yhizM3BYvJuYi2Z/yt8XvkAkgEJovZZa/ MRtpVCzn9MWwc61abQ5nScsX64bvrkg2H1KQESu60/e451xYexv45+/365rMYraKrJ8j rcknpiEEm01PddEpH+6fq4tUUxmN8fdUT6v9vCgTkhuTEohO+MVveUE6Np98g5XNz8MG shCRg91GTqls8r5lHcY/GuZFPPUrlPAXziedYxzleDECdrrwYUqlW0jkyEUcsMYK6aAi eIaVwlBw9XVIf3gwdReQwNBz6Aphh78cdNVy0HMYJZ6DNkpfqopFcu4lbG+IHMXV6LvM 1F9w== X-Gm-Message-State: AOAM533yzY4HsDvfPFULcwUmW34XgfU1ryVfetLJbcElxKWcrUGqmg3O KkAWXQLbnzF5r5qMfvh8ODliwRjWlec= X-Received: by 2002:a17:90a:9ea:b0:1dc:1c48:eda with SMTP id 97-20020a17090a09ea00b001dc1c480edamr14473942pjo.38.1651872919617; Fri, 06 May 2022 14:35:19 -0700 (PDT) Received: from localhost (c-107-3-154-88.hsd1.ca.comcast.net. [107.3.154.88]) by smtp.gmail.com with ESMTPSA id n3-20020a056a0007c300b0050e0dadb28dsm3846324pfu.205.2022.05.06.14.35.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 May 2022 14:35:19 -0700 (PDT) Date: Fri, 6 May 2022 14:35:18 -0700 From: Isaku Yamahata To: Xiaoyao Li Cc: isaku.yamahata@intel.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, isaku.yamahata@gmail.com, Paolo Bonzini , erdemaktas@google.com, Sean Christopherson , Sagi Shahar Subject: Re: [RFC PATCH v6 017/104] KVM: TDX: Add C wrapper functions for SEAMCALLs to the TDX module Message-ID: <20220506213518.GB2145958@private.email.ne.jp> References: <16632b27-7a0d-887b-c86e-9e1673840f55@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16632b27-7a0d-887b-c86e-9e1673840f55@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, May 06, 2022 at 04:56:52PM +0800, Xiaoyao Li wrote: > On 5/6/2022 2:14 AM, isaku.yamahata@intel.com wrote: > > diff --git a/arch/x86/virt/vmx/tdx/seamcall.S b/arch/x86/virt/vmx/tdx/seamcall.S > > index 8df7a16f7685..b4fc8182e1cf 100644 > > --- a/arch/x86/virt/vmx/tdx/seamcall.S > > +++ b/arch/x86/virt/vmx/tdx/seamcall.S > > @@ -50,3 +50,4 @@ SYM_FUNC_START(__seamcall) > > FRAME_END > > ret > > SYM_FUNC_END(__seamcall) > > +EXPORT_SYMBOL_GPL(__seamcall) > > It cannot compile, we need > > #include Thanks, will fix it. -- Isaku Yamahata