Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp21998576rwd; Fri, 30 Jun 2023 02:29:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlGL76ucw6/Cqpc0YKRJaNMI2S25TDRmt5ti/SxeHaypMU4PyOodq6lzCCJ0uNmwqeRrOBhO X-Received: by 2002:a17:903:11cd:b0:1b0:3637:384e with SMTP id q13-20020a17090311cd00b001b03637384emr1181628plh.25.1688117357583; Fri, 30 Jun 2023 02:29:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688117357; cv=none; d=google.com; s=arc-20160816; b=QHhf4PNjfMkL6E8zBBpE6sovLS1FB3vUmxDH1Zsd0ej6TTyBOFQJwcPq2tqKZeFNfb Rbe7qo0cz+q1UjQ5y306J8h6xx2Dsh3amLTf3CM4NAk6VpylYsBFB/v9Js+S8noBPgFQ Po2KJ99KhWqWulSwcAKsvIRCeaSbZWfjq1bDhHrPiewn8i+aSIk3vltHHQkvhydNLg2q cDS1Gah/VN3qL5819mstLaPlbOGb1De0NG8F8pI0ZvGCNOqwz+ar6XgJeOwWPFl+sTKh cdn45IkCbl9fDZEvZPqYQNO23/b0BPTCn/ldAmAiwhS0FT8M2+NpgBrkwNy+Mt+cPL2E XCiQ== 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=A7ZndEt01QEZmkLMkpapRia2Tu8Y/tv4dlx01OgRstM=; fh=fOk9OZUSMbB51fwCyVJ/Xtma0ffyyGr1tqaCo5fi3/8=; b=lIxbx5pmkH1LBH1PRjfjl2x8elDLRscGDiny8vNfDhSnaIQeCKA+TS8X0Mqpc69pKr scHXVO0gCWAiRGac/oyiSpwXP+YaBI4y3JNi25L5dARa0b5XxFYLjHpQfYcCoQW5YSWI N1tva/N8GQxKP3Yewf/Ikvy/p9dl0kBzQRuLHtBMtw3QrZxMRJcVRK2SWcFmktBhi9O5 5jTLI2JdeqkSbXY0Gnjo0rxKebMtltrI9aqDSgWI2KUvJbCmPFkIhjjcAjZFkhl8xksN unGpmNMjAIH9RKZLn1VFwYMlzEU72vdtS1ZH1mC2iviy//jKcGSF6xMfvcACxJuq75nA tRpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=oafGXmMG; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x3-20020a170902b40300b001ae5fe35b6esi11635663plr.261.2023.06.30.02.29.03; Fri, 30 Jun 2023 02:29:17 -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=@infradead.org header.s=desiato.20200630 header.b=oafGXmMG; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232805AbjF3J0k (ORCPT + 99 others); Fri, 30 Jun 2023 05:26:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232798AbjF3J0g (ORCPT ); Fri, 30 Jun 2023 05:26:36 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 878913585; Fri, 30 Jun 2023 02:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=A7ZndEt01QEZmkLMkpapRia2Tu8Y/tv4dlx01OgRstM=; b=oafGXmMGFJt3bsEOzR38QGYprG LNFkJjjxFfrmiWLryi6zOAcgKaY1wXL2D7SMBGMsbfy5PSOHUZiWFQH1noAJfkpWU8K79s3cflx01 K0oOO9cjX5PFKMcbM5lowEZQyEOeGJ85XHGlrJiPH46Pj+sgxj/ON9oEMsW8YQmvgBz2w3MJm4fJD P87HMXE5fYGq5t36C1Bg45k6ZuOL3hbq+VCzqo9ef32LN0LuZcRVEmxZz1szSkcnvgMUQFgARiyZP /sWCJxggP8hn9ce8+Xa8y5hTM7l/L8Og1YgC++eWuMPD4scs/iOo5fTEXThcRMUXoEjagHDifcaW2 tf4fyGhA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qFAOO-007wMo-16; Fri, 30 Jun 2023 09:26:18 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id EA3A3300118; Fri, 30 Jun 2023 11:26:15 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id D9AAD245D3645; Fri, 30 Jun 2023 11:26:15 +0200 (CEST) Date: Fri, 30 Jun 2023 11:26:15 +0200 From: Peter Zijlstra To: "Huang, Kai" Cc: "kvm@vger.kernel.org" , "Raj, Ashok" , "Hansen, Dave" , "david@redhat.com" , "bagasdotme@gmail.com" , "Luck, Tony" , "ak@linux.intel.com" , "Wysocki, Rafael J" , "linux-kernel@vger.kernel.org" , "Christopherson,, Sean" , "mingo@redhat.com" , "pbonzini@redhat.com" , "linux-mm@kvack.org" , "tglx@linutronix.de" , "kirill.shutemov@linux.intel.com" , "Chatre, Reinette" , "Yamahata, Isaku" , "nik.borisov@suse.com" , "hpa@zytor.com" , "Shahar, Sagi" , "imammedo@redhat.com" , "bp@alien8.de" , "Gao, Chao" , "Brown, Len" , "sathyanarayanan.kuppuswamy@linux.intel.com" , "Huang, Ying" , "Williams, Dan J" , "x86@kernel.org" Subject: Re: [PATCH v12 07/22] x86/virt/tdx: Add skeleton to enable TDX on demand Message-ID: <20230630092615.GD2533791@hirez.programming.kicks-ass.net> References: <104d324cd68b12e14722ee5d85a660cccccd8892.1687784645.git.kai.huang@intel.com> <20230628131717.GE2438817@hirez.programming.kicks-ass.net> <0c9639db604a0670eeae5343d456e43d06b35d39.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0c9639db604a0670eeae5343d456e43d06b35d39.camel@intel.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Thu, Jun 29, 2023 at 12:10:00AM +0000, Huang, Kai wrote: > On Wed, 2023-06-28 at 15:17 +0200, Peter Zijlstra wrote: > > On Tue, Jun 27, 2023 at 02:12:37AM +1200, Kai Huang wrote: > > > +EXPORT_SYMBOL_GPL(tdx_cpu_enable); > > > > I can't find a single caller of this.. why is this exported? > > It's for KVM TDX patch to use, which isn't in this series. > > I'll remove the export. KVM TDX series can export it. Fair enough; where will the KVM TDX series call this? Earlier there was talk about doing it at kvm module load time -- but I objected (and still do object) to that. What's the current plan?