Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3764528rdb; Thu, 14 Sep 2023 01:40:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEpX8DMS+7blpqxhBdajpYmJi3xOSVxMCi2faIsmpsbF5ODwJq3yVaiwuyk21F2t56D/KpA X-Received: by 2002:a05:6a00:cd3:b0:68f:f650:3035 with SMTP id b19-20020a056a000cd300b0068ff6503035mr5685456pfv.12.1694680816630; Thu, 14 Sep 2023 01:40:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694680816; cv=none; d=google.com; s=arc-20160816; b=CqWjW/g0D1UlwZr7vNIMdqsd6BVjSsmWuXUo2SO9Rw8T4SCLMlEE6FdDUTwsYp4U/A x9IwelXSjIT8b2jOJ2kJuJDeSX7Pu1WUrXpaIOEwv7KGoODOkL1hnCIwrvBU1WudkPsU e0f0J83faTSS0xS3F+BJbvKEoY3M7yqqGVhIupaty+u+F8sK05qohussZZRvQ9lgCdjV G5jKpH1/CV3rTH1DtjSoy5sQ8jDbfHNbeX0kolUeF3+zYWHKjB7NtpMbAMP/qwhsfxgm aSkoPL2hHDGPBrr0N0LN9ALRi9ehya5XMJLtTx8MBoEhBwY8XXBU5/t2K8bINXjerq/6 U6mQ== 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=4XRw2I1uJS/WzXuplZRcanptfuovTsPmHZz3wWt17eU=; fh=rkG4orC5rRjTtzhcRaGUOTT/PjeXSr0SjVd7Rgt0PDQ=; b=yWe+4N5aC7kOdC/J7ByVjY5nKV3+u3fJXnsmAu52yeZ0hd9pm9DIZ63wr1sfR22qsu FWLs6osN9uZPiRPBitJA1nlHmXAky2CRM+ihQGno/kQFaesGUtQx8XdCI919UzSl7Ypo SD83QLHp5s7D8YZYqRRc02y5A0Z4JBsS+q4hQNeHUy+dcr19UcsWCNngdcXr9ff4WrVu 5xo9jE5Gs0tpCEviDv/mSJFoWpWrXxfNQlPw4NgOUo7TOopYCCKl9PYUyfzqCiuMyTFQ XyUQRG+haxxjuUlBQu8tA02HUMSMlsJNA5JND5fAH0wMyBVMWiaSFxY1EN/oWePC0oUx Sv/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Qoe/gzvI"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id z4-20020a056a001d8400b0068ffc62f7b8si1090261pfw.191.2023.09.14.01.40.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 01:40:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Qoe/gzvI"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 7204A8114ED0; Wed, 13 Sep 2023 17:23:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232828AbjINAXv (ORCPT + 99 others); Wed, 13 Sep 2023 20:23:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbjINAXu (ORCPT ); Wed, 13 Sep 2023 20:23:50 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AF25E4B for ; Wed, 13 Sep 2023 17:23:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694651026; x=1726187026; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ibRPzuTs9RlH2bygxH3UxKliLnlVLu0fWmJh4zT8MoQ=; b=Qoe/gzvIEHOKGH9akbYmZV5gG/pnRsUgqNgHpL9gqjl6TapB8Htz8iZV 5I5tR+MyK8+8qSekafX4knq6gxMdkMuRitFA7pPQB4Bp7Ob3xfUo72xjs Ob9JX7cHxbTLy37zBnHcpG+BHqlYH8bAIQlq7zgzfhN9XfQhY0Ueqx7aH xm6wDqXMbPggZCFdCZaLnFQ6hVFSsDI0X1WoPiXtQKlXzhjz8eYe35G18 IZoUDq3v/yZ81hYZcXtEHSGbDW80L7N1KegWL20oFZ5ct2oeM4BLgShdg vGkNx2MmfkYPbzSgPuRNC9GAS2CbD1rkPfthYktkYrGD857ai8fAAUIcP A==; X-IronPort-AV: E=McAfee;i="6600,9927,10832"; a="377726434" X-IronPort-AV: E=Sophos;i="6.02,144,1688454000"; d="scan'208";a="377726434" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2023 17:23:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10832"; a="747522457" X-IronPort-AV: E=Sophos;i="6.02,144,1688454000"; d="scan'208";a="747522457" Received: from ls.sc.intel.com (HELO localhost) ([172.25.112.31]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2023 17:23:26 -0700 Date: Wed, 13 Sep 2023 17:23:25 -0700 From: Isaku Yamahata To: Paolo Bonzini Cc: "Huang, Kai" , "kirill.shutemov@linux.intel.com" , "peterz@infradead.org" , "linux-kernel@vger.kernel.org" , "Hansen, Dave" , "Christopherson,, Sean" , "bp@alien8.de" , "x86@kernel.org" , "hpa@zytor.com" , "mingo@redhat.com" , "tglx@linutronix.de" , "sathyanarayanan.kuppuswamy@linux.intel.com" , "Yamahata, Isaku" , "n.borisov.lkml@gmail.com" , isaku.yamahata@linux.intel.com Subject: Re: [PATCH v4 00/12] Unify TDCALL/SEAMCALL and TDVMCALL assembly Message-ID: <20230914002325.GD3638268@ls.amr.corp.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 13 Sep 2023 17:23:50 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email On Tue, Sep 12, 2023 at 03:37:49PM +0200, Paolo Bonzini wrote: > On 9/12/23 02:57, Huang, Kai wrote: > > > > +#include > > > > > > > > #include > > > > > > > Thanks Paolo! > > > > > > I never met this issue, not even from LKP. Do you happen to know > > > which Kconfig option can trigger this? Or would you mind sharing > > > your .config? > > (replying via outlook due to some networking issue of my home > > network) > > > > After digging, this is due to exporting __seamcall*() assembly > > functions while MODVERSIONS is enabled. > > > > This series itself doesn't cause this warning. > > > > I didn't export them in this series because I would like to leave to > > KVM patches when we are sure we need to export them. > > > > E.g., I have seamcall*() wrappers to retry running out of entropy, > > and we may have concern exporting __seamcall*() low level functions > > directly and may wish to export higher level wrappers. > > > > So I think the fix should be with the patch that truly exports those > > __seamcall*(). I'll talk to Isaku on this to get his idea. > > Ah indeed it's not caused by your patches, but rather by the Isaku's KVM TDX > support ("KVM: TDX: Add C wrapper functions for SEAMCALLs to the TDX > module"). The fix is just to squash the #include into his patch. Yes, I'll squash the fix into the patch. -- Isaku Yamahata