Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14462344rwb; Mon, 28 Nov 2022 00:59:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf7CIo1rSQZHhSbimDaYD8HRkF6XpoNoYfbAjUcsoxKC1GT199wisfkn+oug+MvkJKB1N5Rq X-Received: by 2002:a65:6118:0:b0:476:d2e9:778e with SMTP id z24-20020a656118000000b00476d2e9778emr28988491pgu.309.1669625949403; Mon, 28 Nov 2022 00:59:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669625949; cv=pass; d=google.com; s=arc-20160816; b=d/ijtU84Ex21MdzeUXNIMizt4UH1dkhjwg3W8+nBMsja4LF69WHQ7am4v9dbrc+uIt X0oObx/7cmbgBtNXedVoP0WFWh6fuHZSxHm5X9qt6Cf4zd6EhYi8KOKuqvjqBgNGAiza nUa9m3q67MV2fEK7pXMSsOLdN51v/1AeMDirAKU4ISj58Yov28+YRUXr0Y1V6BaeU2Eh WDQ+E7iNFMdoA1Mxfh4S1BwwqFCgezgLlcJfcbakXrndcWJzA+45tz4QLL6bGA9cXAZS rui7d7zngvCgITizygN+jzZ9mNmN/LZTEAbwsrJCIpXU/k0JUdOuMlbhPpHoGCRbzQo5 Q7Sw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=YDTrAvvVIWwg4COR1+ug6qC/4YaLDeEmQHrVWDLDme4=; b=VEzVlW3yDx/kYrFKiJZJi66Bu7gnzkvwSs1FvQpY+Hm7GiDDzPZHj1e7axq27XyJJw jzYkMf2TuIxqJReSG9WSGfUDcc5Kh6jQkAJCOy38n0ZqW5F+9X/MuhVB5a4bCmJHAdf9 trPaomttxMr1NZpgXdP84d4FvlA4H6TJISBKI7Lnl+UG4uOj9mJX+MdsJr7FAcIwT4z0 Zljav+9GzzXulByCLu75eNnAvIsLn3RI0vtlsa9BlDKEVfvts75d/WSr5ctHMU+h+aR0 DQTGff7i8DBWSl93dJgytNu5bTgC2/TzMJNcfUDL2WmIg0/3mv9nsXv27mQvJWbE5Nj7 0GyA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ghPIyZ4U; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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 oo2-20020a17090b1c8200b0021409b2423esi14892900pjb.86.2022.11.28.00.58.59; Mon, 28 Nov 2022 00:59:09 -0800 (PST) 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=ghPIyZ4U; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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 S230054AbiK1Iie (ORCPT + 83 others); Mon, 28 Nov 2022 03:38:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbiK1Iic (ORCPT ); Mon, 28 Nov 2022 03:38:32 -0500 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2DA59FED; Mon, 28 Nov 2022 00:38:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669624712; x=1701160712; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=YDTrAvvVIWwg4COR1+ug6qC/4YaLDeEmQHrVWDLDme4=; b=ghPIyZ4UPF2JRp9iu5czumQ6CzUZdaLo+HtSg56XclmKyuYJ7Ho5kj+g O+5SHkqyVknxyn/M1NCSymF/P6/g1enCYIh2rWbXmEzdsZORTEz8ylcrY wUImAZl3po9LCGrZsbNp25+A/QOLR6bWjl8iT3zGNgG8qiEi5bxEouxuS 5ysxXQuzGpytxe9uwVVyX1w3LGAcmXmK0Ii1MDQdy6fO1W3x8iyb2kcQT Ynq1Razrt+qbFyxYjY5nE/+PqPxaLdJcWVYN/tCJADtVNxa7ocxFVFwW2 XRLGQcUbuync93vclxMSkfZa4VTlFhMFB2r0RWCMwH+wduPucCfI4phaK w==; X-IronPort-AV: E=McAfee;i="6500,9779,10544"; a="316605707" X-IronPort-AV: E=Sophos;i="5.96,199,1665471600"; d="scan'208";a="316605707" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2022 00:38:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10544"; a="593791182" X-IronPort-AV: E=Sophos;i="5.96,199,1665471600"; d="scan'208";a="593791182" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga003.jf.intel.com with ESMTP; 28 Nov 2022 00:38:30 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 28 Nov 2022 00:38:30 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Mon, 28 Nov 2022 00:38:30 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Mon, 28 Nov 2022 00:38:30 -0800 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.49) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Mon, 28 Nov 2022 00:38:30 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F+I8cgsQjO6K567n0ysQ5wevt4TA7AZRhBvGaHoXwrqjw42YdSk6s/1fmhV8rwVlmuYEjUkv9dUtQ3DdkXImfM2fJonG8aDIbcL++MD0lzeqELcU6L57YAWxlJ0HYYUczU3KLr1ufymJakJWWNhR01I9+tybiZqpriEhKnmc7yRldOTx1Of4+HPHEgAvtdLjCyk7pcNZ5OXRfw6YqL0OZKUBAJ/ZYg8DA9g30YWnhsvoucn0B0rTMMlhgKfR7A4wivDL9HO6s7wuyaV7iL/WLF5YGYOXtsu5AmCS3vPmO94csofTvHvzvvxWWrnn/XICi0rJuSR+VAf0cG5Yd8BjCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YDTrAvvVIWwg4COR1+ug6qC/4YaLDeEmQHrVWDLDme4=; b=WpQpflqUCOS8zgKBHrjiyUewMshO36qRmCOkBEhRRaWJamJ8BCnUhzgVFPVqqKxipV9e5Ki33AhtIh/VFGqb6wqA8D8EbnwhHGe9xqmTFhPHhKjPXSm9bvlxSmsm1JsajNzDmwDso/xkY26CFg27FYvWHKH8szpM+DcGBoNwHTRZY2BxsVBZVhy0Ukkj6iEwMxYhQeA961N+fF/emTrDpXrAlDozWoyN/taEj+tHejQefZQ0Ft/ij68trYXrtiLFgodf0E60w1Rz1oBkcdvBbGRALmuQjTfC0mUlCQJW0j5hbnDRlp8BKTONUB1UpGvYz/qVDIGvWDdSin4LSlYOIw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BL1PR11MB5978.namprd11.prod.outlook.com (2603:10b6:208:385::18) by DS0PR11MB7529.namprd11.prod.outlook.com (2603:10b6:8:141::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.20; Mon, 28 Nov 2022 08:38:27 +0000 Received: from BL1PR11MB5978.namprd11.prod.outlook.com ([fe80::2fb7:be18:a20d:9b6e]) by BL1PR11MB5978.namprd11.prod.outlook.com ([fe80::2fb7:be18:a20d:9b6e%8]) with mapi id 15.20.5857.020; Mon, 28 Nov 2022 08:38:26 +0000 From: "Huang, Kai" To: "Williams, Dan J" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "david@redhat.com" CC: "Hansen, Dave" , "Luck, Tony" , "bagasdotme@gmail.com" , "ak@linux.intel.com" , "Wysocki, Rafael J" , "kirill.shutemov@linux.intel.com" , "Christopherson,, Sean" , "Chatre, Reinette" , "pbonzini@redhat.com" , "linux-mm@kvack.org" , "Yamahata, Isaku" , "Shahar, Sagi" , "imammedo@redhat.com" , "Gao, Chao" , "Brown, Len" , "peterz@infradead.org" , "sathyanarayanan.kuppuswamy@linux.intel.com" , "Huang, Ying" Subject: Re: [PATCH v7 10/20] x86/virt/tdx: Use all system memory when initializing TDX module as TDX memory Thread-Topic: [PATCH v7 10/20] x86/virt/tdx: Use all system memory when initializing TDX module as TDX memory Thread-Index: AQHY/T3KCI/2IUKL7kSgXbHXnV3Az65NU9CAgAB5pwCAAZiKgIAEqQwA Date: Mon, 28 Nov 2022 08:38:26 +0000 Message-ID: <397ebe70bf9cede731f2f8bbd05e0df518fd3a22.camel@intel.com> References: <9b545148275b14a8c7edef1157f8ec44dc8116ee.1668988357.git.kai.huang@intel.com> <637ecded7b0f9_160eb329418@dwillia2-xfh.jf.intel.com.notmuch> <8e8f72ad5d7a3d09be32bee54e4ebb9c280610a2.camel@intel.com> <361875cb-e4b3-a46f-b275-6d87a98ce966@redhat.com> In-Reply-To: <361875cb-e4b3-a46f-b275-6d87a98ce966@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.44.4 (3.44.4-2.fc36) authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BL1PR11MB5978:EE_|DS0PR11MB7529:EE_ x-ms-office365-filtering-correlation-id: ceec3de4-94d7-46ae-8990-08dad11beb33 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: OjNXIbDLvpBm96jM+CFTIctVQt+HOMsjfUYEn2troCskqvbO0OH3QPfKUbvUHXvAumP7cmsLKPOmFXHXU26+G+vEqjSEqBMZbB6t8QMkLRDROGLjVtWk4GyjdIdV+JyVEUkdU7dvXu15UFRrB2Gk2/viHaNZOL3d/uVxnlTBlGSEjojf0Zs9LFU7aYeaXHucyt3Dqi4Q2LJX0uTJas3d6jJ3kCf6N+7KgewEXvxibgaHaCVcr0Xu01L8Q5T6Y+32dv3Ne+xyU3qUopDhef8zWlCAhQGXDS3gJhb6ExnuZdl3vcJZNegDskOsmaob/NcVKXhzHJkuH9qSn7c5dVMs/UGo23vwiUvwyoCU5ux19/Bfes4+cLLqoIm5cKgmKCy7DitDE9koapPcWt2p1PiRq2r9lzp7JCCx0rAmOp0hrNfBIPF038t1wierLMeHoAbtqD7z3yCmR/DOODXzvgkBtLA+ZuQGw26xflPPm5p02wTKtSMYwwGsbOQPxKicU6qwNWtKYX3Bbcg/bey8F6j0zetvtbwHNo7mB2JbJOTFv5zgS78ZKsZIPd0IH0FthPJE8WCa45QqyHbEdIk9rDYi7wcqX2vL9O47I4tGZlMvkB25DYrEj93AAQk1kmnk79U5XQ5uhPXH/Qa+Kj62w2xHnfZey/vk2KSfnktyFH//LHhsatrXGuiIqkwq3WWddEF6XP3KgJ1s+Mb/94/OmssO7g== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR11MB5978.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(136003)(366004)(396003)(39860400002)(376002)(346002)(451199015)(76116006)(66946007)(4001150100001)(66556008)(66476007)(36756003)(64756008)(66446008)(41300700001)(91956017)(7416002)(8936002)(4326008)(86362001)(5660300002)(71200400001)(6512007)(110136005)(6506007)(53546011)(316002)(26005)(2616005)(83380400001)(186003)(54906003)(122000001)(38100700002)(478600001)(6486002)(38070700005)(2906002)(8676002)(82960400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?cWVqeGhxcUJycUtjUjFlL2FtelNqUmRRcFRNRmFocXVSekRoSnN4WnZTOU04?= =?utf-8?B?eThTZ3JnRzJWdjZzUXQ4U1ptdUEyZklHcjk5dGhlY2lHTktGbWdzY2lQM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xFK0o2eWIzS0J5b2Q3NlhJbThKL0R5MDBCc0JnbUtEdDljb3N1?= =?utf-8?B?d0JyODk3eHl1a0VOVE5VYUpGSUxpcm9VQ0t0b245djJlNEorSzJ5TWloNWlP?= =?utf-8?B?L3dwck44TDBtYkk1L1ZWU3RqcEtMZDZDdWxzb1JBcFI5TGRiZHNtTWZSYVRu?= =?utf-8?B?TXZrclBEeWhOdTRJNjFtbVk5emY2RkJTU2N1YzgrUTU1THBla0N4a29CVjhi?= =?utf-8?B?bGp3VmMrcjJpWVp0MGMxUHdPbDJVRW1ENzM5N2xlcmxNYnM2L2dXUEJncFVp?= =?utf-8?B?aWc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL1PR11MB5978.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ceec3de4-94d7-46ae-8990-08dad11beb33 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Nov 2022 08:38:26.6067 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Ftkw9T2gbaKozEkqvkH1YznalrMRGUp/XvwBOkHl3elkNBRwWXyUetit+p7brYd0Ic9aq+uMEnS/a12/0b9MzQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB7529 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindb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