Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1925FC6379F for ; Wed, 15 Feb 2023 13:25:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233970AbjBONZf (ORCPT ); Wed, 15 Feb 2023 08:25:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230396AbjBONZd (ORCPT ); Wed, 15 Feb 2023 08:25:33 -0500 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 7ED87274BF; Wed, 15 Feb 2023 05:25:27 -0800 (PST) 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=o8nHcYwdgi5dYAVXOPCLhYnFf1f1EfIQ8SqfEDzFWkw=; b=AN6OHde5imKffEHRQZGWI+RwRR 6jBGeGjqpJRGHRGwxDVfcgNpyqZKP1iCZVhPVwowJcyendmftvAi1fi7mlDy0Gu4ShxswIpI6wMyh WEuAccn5HT6TPEoeVoItrOWro323eZEeHWbwWmXbQO6mvk/3gW70yXwufNDPpns3VnshexH70DVm7 iEbqhVhtS476shYMSaanJgV8crimum8tHuXZeCkSAlHLwUgmh1d+enALIGldFaLFfjVmF/Tgf1mCu zMikJHfb/jH/6z11YeU7gBSFd6TPmzOziIhx5fULKoOzjzvyaFaDqb5Cy9Nu0DCjvO5NbPeInnyhP zxrxyYZg==; 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 1pSHlo-009wmA-1H; Wed, 15 Feb 2023 13:25:07 +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 6509E3001D6; Wed, 15 Feb 2023 14:25:05 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 490822CEE165F; Wed, 15 Feb 2023 14:25:05 +0100 (CET) Date: Wed, 15 Feb 2023 14:25:05 +0100 From: Peter Zijlstra To: "Huang, Kai" Cc: "kvm@vger.kernel.org" , "Hansen, Dave" , "david@redhat.com" , "bagasdotme@gmail.com" , "ak@linux.intel.com" , "Wysocki, Rafael J" , "kirill.shutemov@linux.intel.com" , "Chatre, Reinette" , "Christopherson,, Sean" , "pbonzini@redhat.com" , "tglx@linutronix.de" , "Yamahata, Isaku" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "tj@kernel.org" , "Luck, Tony" , "Shahar, Sagi" , "imammedo@redhat.com" , "Gao, Chao" , "Brown, Len" , "sathyanarayanan.kuppuswamy@linux.intel.com" , "Huang, Ying" , "Williams, Dan J" Subject: Re: [PATCH v9 07/18] x86/virt/tdx: Do TDX module per-cpu initialization Message-ID: References: <557c526a1190903d11d67c4e2c76e01f67f6eb15.1676286526.git.kai.huang@intel.com> <86a8fe2f-566a-d0b9-7a22-9b41c91796f8@intel.com> <43fec733ea5331c6de4592dbf44a62e0c61eecb1.camel@intel.com> <0795f69fd0ff8ccdd40cc7a3d6cc32da47e6d929.camel@intel.com> <24bd9d546d07b57387ecd990746061ae35ce5fa5.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <24bd9d546d07b57387ecd990746061ae35ce5fa5.camel@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 15, 2023 at 09:46:10AM +0000, Huang, Kai wrote: > Yes agreed. Your code below looks indeed better. Thanks! > > Would you mind send me a patch so I can include to this series, or would you > mind get it merged to tip/x86/tdx (or other branch I am not sure) so I can > rebase? Just take the patch, add your comments and test it.. enjoy! :-)