Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1595129rwi; Wed, 26 Oct 2022 18:10:58 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Ae6XPprRfuujl99lR1twLqgoRThHNX9dz5wpGERBZAdUHUyFQ6rqM3GLvv0MIkiVXyXFH X-Received: by 2002:a63:5909:0:b0:46e:c98d:e07c with SMTP id n9-20020a635909000000b0046ec98de07cmr24484089pgb.530.1666833058156; Wed, 26 Oct 2022 18:10:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666833058; cv=none; d=google.com; s=arc-20160816; b=wjM4s2WcA7hUJM3rnwY4mj2K/kb981HK0KbGrvKtEV6SAGs715YVDwmS5QDBxumGdG 6frv5bIyLiPgaYQ0rgLD00AEI81oM9aIE7az7zoV08siQk6NBafCSnk85yiMgDVWZj8J ETFppGR7uaC9GZTWYJsxhfnpS3pKToBtAfZgVsZeItFj3l3kxpylIyTgj4Gz+P3dgqBy FniUZKroVfq/+UorjkojItxMcgh7S8HmYpen+s9rdO0mgUVm8SuBb24Qx5uaMfJNl9la 73gfIQtpPjRpymkHXkQC+3c7pr+lNRFgMTRw65NM+VhHlNDPp+40gzX6rVP+SND8C1hE u0IA== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=SLfFHUb9AJiq4hvx2J2MYVfAGvdRdT3MHSJAW0k2ogA=; b=qd+dB2yfKY/9RBuSvfP0cv+CCAvy9kFRdillns8kH2yL/qwdKwEm6MLJJ/B3nmGPD4 Ho4PBEvWrqodfgMv4HFVhGULOX4urxmR21TzkI1gx9y7V2w5TolH508kU7q9FsZxQFC/ kPGCBlABmwHU6AJol/JM43NnPpoNcfDFhffJHcfFErub0HMtuJQkM7QWvrK9vjo6TH+n ILHdsu3+hwwxk5gXwgP9HZxFZwHRena6O3StRAEsT9oDVqu8CpkCsGIVZux8kUyFv8gE LkA5acnwI46+pz0SKTMA+Hlu8SLxsmIuFldbXJ3kgySuZ2wqkRzLrj6fX1SNRSNFmdlc +Kxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Xcz10NPV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd13-20020a17090b4ccd00b0020d9c20092fsi3941145pjb.181.2022.10.26.18.10.44; Wed, 26 Oct 2022 18:10:58 -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=@intel.com header.s=Intel header.b=Xcz10NPV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234331AbiJZX1u (ORCPT + 99 others); Wed, 26 Oct 2022 19:27:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234235AbiJZX1c (ORCPT ); Wed, 26 Oct 2022 19:27:32 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76B02B6036; Wed, 26 Oct 2022 16:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666826769; x=1698362769; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=ZnB+REIEGobzyRPEMvBPB0voq0mMNqVo12kGbEKb9c8=; b=Xcz10NPVHmMKyRDIpK7UzWrL7VhkolryUNgyuS8cP3G7sbZUOc5fAk8w 5/Kql6lCqHs/zYokvsNzscc/jduSyRDZr34fagJ2iIAC9p7cd09oo+J7q GfQgG+c2YqimX1QaAFHDeZdS4oQakJYr7QMgMJGais56dGAQ+H2bcTqJI Vb+p0ddD0VthYEurgVQnzWamyS8fG6rC+eTfHmnxzxl04wEgsAX9GNwqN HcZc1l2UrJI0M1Vh8bnLjCRPDJ1C+B0riQODuu6lHd+p/OdtNhQEg2rgV 0iVHBU+i0Ys0FpqnMqIh+0JY6/jf0O3cpPA9bIP+7KzlN8tHobncYC+2i w==; X-IronPort-AV: E=McAfee;i="6500,9779,10512"; a="295493292" X-IronPort-AV: E=Sophos;i="5.95,215,1661842800"; d="scan'208";a="295493292" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2022 16:26:08 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10512"; a="701125168" X-IronPort-AV: E=Sophos;i="5.95,215,1661842800"; d="scan'208";a="701125168" Received: from smaringa-mobl1.amr.corp.intel.com (HELO [10.209.95.99]) ([10.209.95.99]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2022 16:26:07 -0700 Message-ID: Date: Wed, 26 Oct 2022 16:26:06 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v6 00/21] TDX host kernel support Content-Language: en-US To: Kai Huang , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: linux-mm@kvack.org, seanjc@google.com, pbonzini@redhat.com, dan.j.williams@intel.com, rafael.j.wysocki@intel.com, kirill.shutemov@linux.intel.com, reinette.chatre@intel.com, len.brown@intel.com, tony.luck@intel.com, peterz@infradead.org, ak@linux.intel.com, isaku.yamahata@intel.com, chao.gao@intel.com, sathyanarayanan.kuppuswamy@linux.intel.com, bagasdotme@gmail.com, sagis@google.com, imammedo@redhat.com References: From: Dave Hansen In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE,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 10/26/22 16:15, Kai Huang wrote: > To keep things simple, this series doesn't handle memory hotplug at all, > but depends on the machine owner to not do any memory hotplug operation. > For exmaple, the machine owner should not plug any NVDIMM and CXL memory > into the machine, or use kmem driver to plug NVDIMM or CXL memory to the > core-mm. > > This will be enhanced in the future after first submission. We are also > looking into options on how to handle: This is also known as the "hopes and prayers" approach to software enabling. "Let's just hope and pray that nobody does these things which we know are broken." In the spirit of moving this submission forward, I'm willing to continue to _review_ this series. But, I don't think it can go upstream until it contains at least _some_ way to handle memory hotplug.