Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2735478rdb; Tue, 12 Sep 2023 10:23:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG14JU9J+HuwZHjQU5OsPrkjxujON09uwhkTIbbMuWJs584MnyM6A+xIz6XIh8I4c3wkqxo X-Received: by 2002:a17:903:18c:b0:1b8:6cae:3570 with SMTP id z12-20020a170903018c00b001b86cae3570mr517514plg.11.1694539431560; Tue, 12 Sep 2023 10:23:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694539431; cv=none; d=google.com; s=arc-20160816; b=EhEg87KsEkqyCCmpQz51P9gISrK9OQX62YJckJgy0FuxQXd0u7QK7xmItcmR7SXF6t jnRgwn+mZ9T8RJt/XdAQtQgK2G2rvmI1IdUGryjgsVj28J+TnpraQIBnPFuMHyDKv89T LCUPhAt7DG4hwEq19TzoH8HSHwX4txQw0VO6mOljIwJPZxgFsIzwaA5rVUJhmwlq6SXk yFqY0giLF0JJyqRus5huTya7bylYxNfo3vYtd5qRBtqCLD1Wl1yr5K9isQ+rTfuIqueT PZDOnWhp685XUNAw/d/Chi4vTntWornkqXdzx2OuRMx6KEoUwqpdqab659GRj2WSRdZT 3cIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=y8XuT8Agjw2qdGWvR9xAnHz2rWjvijMwo4L1Kk5WWDI=; fh=EgxhzBBQXxo0OhBKl2rr3BH8f/8/gGHovgJRNK0QuGU=; b=bXcRi8yX37Z/8oNtXJQDjnSV0r/3oYt6j2V3zPk0khzpjovUfs0yQScsnPTIriGx01 MRCguXPpiih6/iOOnhueNreIJbctAg1UwjPfjLSo6i+khH5+LT+EzGQpwvFoOR2QAW+6 Wdt9QIWKalM2to4IzRKRIeR9BJjRZFTE7H5Om1m1SHb3JD/xXz7xJHltKMAaE64wNOfs PTtzQGHqegqcNOSSvaOfGsPrtbB5dvYXvPSHgJmnUZYYx4R7SU4LwTg/pREjW7+7xzrz 03bl3WiZNuyULRPBe6NNKmIUni7vrinw1PdvGDgCwE5Fsir3GzeIX84kfy6S7meklU8k L9eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=d8fGSIVR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id f9-20020a170902684900b001bbdd44bbd0si6544667pln.176.2023.09.12.10.23.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 10:23:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=d8fGSIVR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B8CC68229F14; Tue, 12 Sep 2023 06:38:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233935AbjILNir (ORCPT + 99 others); Tue, 12 Sep 2023 09:38:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232977AbjILNio (ORCPT ); Tue, 12 Sep 2023 09:38:44 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EE21010D0 for ; Tue, 12 Sep 2023 06:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1694525875; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y8XuT8Agjw2qdGWvR9xAnHz2rWjvijMwo4L1Kk5WWDI=; b=d8fGSIVRFzcVgxx2SgakZIalQwNi9e8NDaOHoKMJktDqIm9k1TeX8q9U8gXAgNP1qPzrEE 3vCMxeYYoBCmsQ133qZq4MuEgeq2vtlO4bNTzZ1E+8C+FRZf30HxKmGHgFYpm9yWFHYblp U6KQ1b/nnrRAzF9LsyPHJuXasKgIT7o= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-582-Mv3rquVLOK6w74aE-6jbGg-1; Tue, 12 Sep 2023 09:37:54 -0400 X-MC-Unique: Mv3rquVLOK6w74aE-6jbGg-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-31f46ccee0fso2652587f8f.1 for ; Tue, 12 Sep 2023 06:37:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525872; x=1695130672; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=y8XuT8Agjw2qdGWvR9xAnHz2rWjvijMwo4L1Kk5WWDI=; b=tbJ5CaRcBqvrdcMHmhTq0L0zIb7svPk/zKPINmKndYKr/PWGkE6wkiBa+bNRbdZeMe +WeEoYG14s8WBpmWb2+i1PKIH1YCEsYnWvTcpL2A12+ydVmI30eGjhqtY5U7BFepr77E wymMspzvwTgPUaxfb6WmmEiIxgt389hrl+Qoo5ut46kUwbP0hjXUNmw67eLh8qLVx0Ko v2ek7g0eMlrywzu8PPCBDvSDAZLFjpWqypBOKOpEmGVe1mu06lxYDlhCyvA55xZBj2Ln ekVKWKiIerA3QOtycKssDViwwbeAlEx0DTvgCHKY7K0TT7mWlbPKZKPLWI0WAFATiZy5 82jA== X-Gm-Message-State: AOJu0Yxx5tOOwHZYHzPmmg+cLzcJqNUiqHu+gFyNgjwhVFKVIHP5HjTz 2U2ZCDNCljEqMn+LBvb9cfPx0oUejiXLZPZx+FqCuyjf4hPglMzpzNTX/P2YEgzqkOZ2NT5LgZQ e+ns8+HHSX3A7CycCamyvoYp8 X-Received: by 2002:a5d:61c4:0:b0:31f:a869:f6 with SMTP id q4-20020a5d61c4000000b0031fa86900f6mr1973650wrv.24.1694525872626; Tue, 12 Sep 2023 06:37:52 -0700 (PDT) X-Received: by 2002:a5d:61c4:0:b0:31f:a869:f6 with SMTP id q4-20020a5d61c4000000b0031fa86900f6mr1973633wrv.24.1694525872240; Tue, 12 Sep 2023 06:37:52 -0700 (PDT) Received: from ?IPV6:2001:b07:6468:f312:5e2c:eb9a:a8b6:fd3e? ([2001:b07:6468:f312:5e2c:eb9a:a8b6:fd3e]) by smtp.googlemail.com with ESMTPSA id t15-20020adff04f000000b0031434c08bb7sm12829847wro.105.2023.09.12.06.37.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Sep 2023 06:37:51 -0700 (PDT) Message-ID: Date: Tue, 12 Sep 2023 15:37:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v4 00/12] Unify TDCALL/SEAMCALL and TDVMCALL assembly To: "Huang, Kai" , "kirill.shutemov@linux.intel.com" , "peterz@infradead.org" , "linux-kernel@vger.kernel.org" Cc: "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" References: Content-Language: en-US From: Paolo Bonzini In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 (groat.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:38:51 -0700 (PDT) X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,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 groat.vger.email 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. Paolo