From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=198.175.65.21 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796286468; b=wWJYXZL1mWDa4AKD6eHKNHMmfrRr8pgf5WK9VwraeOM1eMrPXyb3KBm0mEtmmPk7SLkx Q76vhsubp4Bac06r2OfFR6EvEC9UciaTCVcfj7yZUOeSMrqxr0HppPc/aDwzbX3KH0Mjl E3oYnZ4uE39hV6U2gaXtw5B5ltYxjMJLPOEy+VxMN550LUKU8TGWuwT+IOOSScsDyF8Jk WQrlfLyQCf4t4lHv4vhx0XMAafl1l94pvWWsWwwP3wY53s0AE4xLT/eIcT6PuXf5Dc3BM Zimd0zI2GBoQho+jFvN9dM3DBiylljz7UMHWZ06M/Gk+0kqfjIMr4jjRuMuIw0o3SQA== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796286468; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Received: Received:Received:Received:Date:From:To:CC:Subject:Message-ID: Reply-To:References:Content-Type:Content-Disposition:In-Reply-To: X-ClientProxiedBy:MIME-Version:X-MS-PublicTrafficType: X-MS-TrafficTypeDiagnostic:X-MS-Office365-Filtering-Correlation-Id: X-LD-Processed:X-MS-Exchange-SenderADCheck: X-MS-Exchange-AntiSpam-Relay:X-Microsoft-Antispam: X-Microsoft-Antispam-Message-Info:X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-Exchange-RoutingPolicyChecked: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-CrossTenant-Id:X-MS-Exchange-CrossTenant-MailboxType: X-MS-Exchange-CrossTenant-UserPrincipalName: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; bh=hYmRRVfMD8phyZfrbCM2peENs30uVtkZACZFkIB5x4E=; b=m1MVxJvpSIG2uuqULz0zyhFgYD+tRli8vQ0yioudqmNYlLdqOlzVUrxyxWpmngiIPyVd 3YW7fKydE3oW24cKoOoZfeLOF+gvCArN+bWc7qDrBoSw5uoa/nrXYfEfLx+9pec47A4Pl hAi9mRWkCr3RrSdR7S22ShD3OxGIVIWDpia3+aeTEIo/wV1fJJnZeu+mq/NVO+B4YFX/6 JBwqgZVvP+/K24bAeVymZKiBSFoOhQYBNuFhIuFitPZiz/NanBK7rdEUv2CXqP2DNk05c 9t9b/bi7YX3xTDSPXdvef2OvvGZyAvMZ+dgoU1aXfw9HufmCRtLl+B9VTlVWywoix4g== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=ieCvsr4s; arc=pass header.oldest-pass=0 smtp.remote-ip=198.175.65.21 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 790FC606A322 for ; Thu, 3 Dec 2026 08:27:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 790FC606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=ieCvsr4s DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796286468; x=1827822468; h=date:from:to:cc:subject:message-id:reply-to:references: in-reply-to:mime-version; bh=hYmRRVfMD8phyZfrbCM2peENs30uVtkZACZFkIB5x4E=; b=ieCvsr4sRvbHwIIfhcGFIkauW8w7OF5yUCTx9kVRTgHe7Qw53rduBUml 3K0Muu98ZUj428KUboqEoqdXFBjtvBomUx0afoDmnf/rZXSi6lsm7BsBU fjjbqchH0z3Gqd7azih2OBL7TdhdbsRolfor4JO0QSKrJT2UuKy9YlePR GE6e0eTGQFF1ebxrRUL+UpnnmLdcXgwZvlriSWMzSWdzxTEWfaFvzX6X6 oIymNEvPfANSbWOP4LkW8LOqwa8i040/bBe6/kiH/duoBGD39qEmXdfaM MYTMlJkWF/rG9+4eKYFq1XjKQh/xFXFHputYH2ZS0RwACgT9KSVL29OwR Q==; X-CSE-ConnectionGUID: 4pverb+WTEaPL8+kn0OuPw== X-CSE-MsgGUID: Xi3ynMR7T8SLoILAZjIydg== X-IronPort-AV: E=McAfee;i="6800,10657,11984"; a="5337423" X-IronPort-AV: E=Sophos;i="6.27,248,1787036400"; d="scan'208";a="5337423" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 00:27:46 -0800 X-CSE-ConnectionGUID: oQfg1yk/Qdaf5emL/+PoyA== X-CSE-MsgGUID: QwOdsKnIRva7M7BRsH2sYA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,248,1787036400"; d="scan'208";a="14003715" Received: from orsmsx903.amr.corp.intel.com ([10.22.229.25]) by fmviesa007.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 00:27:45 -0800 Received: from ORSMSX902.amr.corp.intel.com (10.22.229.24) by ORSMSX903.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Thu, 3 Dec 2026 00:27:44 -0800 Received: from ORSEDG902.ED.cps.intel.com (10.7.248.12) by ORSMSX902.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57 via Frontend Transport; Thu, 3 Dec 2026 00:27:44 -0800 Received: from CH4PR04CU002.outbound.protection.outlook.com (40.107.201.19) by edgegateway.intel.com (134.134.137.112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Thu, 3 Dec 2026 00:27:43 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Xde+BHoxPL+6LRL3GMQDR+/mOpMw7yxNYFcj114XmvHJvGs2s/ZMOR+WRU9HLWvRaqd4n3CzD7+uknlXIerWjTfPLyQcV6XJMsW7JdYu8v9fSMZ9pffq76sChQd8BpIC1q0NM9NP0c0jHZONxnIX0tXGkjCH+y8PnfJj2l/h4A6FzOUZiNsUkmi17Xtd5IZ8mrOF0q1ttpBZs10lfCZ7SHohOATPIDa1LCraMRYDT+B4ZL7L1HAs4a97v8Yx481nMSXiSxGqSZFOZPbWGAE21PnClZ0Sh+F8f04zQw76Vsx34M6dDy3fZb5BcrAy2pqMjFUObcuUsw9nqKTGwMiQgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=hYmRRVfMD8phyZfrbCM2peENs30uVtkZACZFkIB5x4E=; b=rtvvw+b94X80gd4Wjj3FfHYkTz8UuWoDQs7aR0e7BkA0PlENWmFvAowyiqyO7+YCGEXe/h8HsO7i5ynuZhQ3XinCSLN/p025JRunaVWY8FzjfcziQRTv1c3RSFKDEi9AaFFv8caN5v5mSTjjT+ol/J24WX09hhj8BTCrfzQeIRRuSR2eVM7iSF/wFWzlwA/6Rr2l06RubM4pFFfRNn1ALWs3CFvb09bEgIIsR09Ou64WM4UVAZ/92xBO7q+OoLDRIrO4yTazUjtaQJpi+YNstm+iRb3OmPRqOVOflnBIaTXqmLHWiQmBk7sE1dmyFAjogJLlkAW4siMY5BAYhNMfAA== 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 Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from CH4PR11MB828026.namprd11.prod.outlook.com (2603:10b6:610:50f::20) by PH7PR11MB6608.namprd11.prod.outlook.com (2603:10b6:510:1b3::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.11; Thu, 3 Dec 2026 08:27:31 +0000 Received: from CH4PR11MB828026.namprd11.prod.outlook.com ([fe80::da9a:6f95:4772:38dc]) by CH4PR11MB828026.namprd11.prod.outlook.com ([fe80::da9a:6f95:4772:38dc%4]) with mapi id 15.21.0688.011; Thu, 3 Dec 2026 08:27:31 +0000 Date: Thu, 3 Dec 2026 15:45:08 +0800 From: Yan Zhao To: Dave Hansen CC: Rick Edgecombe , , , , , , , , , , , , , Subject: Re: [PATCH] x86/virt/tdx: Add command line param for DPAMT Message-ID: Reply-To: Yan Zhao References: <20261126005417.976523-1-rick.p.edgecombe@intel.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: SG2P153CA0013.APCP153.PROD.OUTLOOK.COM (2603:1096::23) To CH4PR11MB828026.namprd11.prod.outlook.com (2603:10b6:610:50f::20) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH4PR11MB828026:EE_|PH7PR11MB6608:EE_ X-MS-Office365-Filtering-Correlation-Id: 878abec2-85a5-4120-8dba-08df511745f1 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;ARA:13230040|23010399003|366016|1800799024|376014|7416014|22082099003|18002099003|10067099003|56012099006|261028144727099003|261102123227099003|261021121427099003|261021135927099003|261021123027099003|261026121527099003|261026140227099003|261022105027099003|261022075727099003|261009223027099003|4143699003|11063799006|13003099007; X-Microsoft-Antispam-Message-Info: 3pK8W1TQmvVcJurEzw2Pg3bwr90AQyzziHjccoIklStZQ9dFK4bfWe1p45WsEtoYLgHrSFrQWy8SMSpFWKkij5JIJAg98ec10WXkS8CeGEwHoDyIGEHX/y9QOyYq1PAK+6som0kyeJebX2F2P5FbHd1xWel71UTFPdiqKgH8mGG5aOsJevRkYH6PUY2j/z/9pETN9ZBHkASgxK1PJamUjy39aPDbJ5CuXABgv2dAurp4zwqQ+U4AVWPx6FfTp+Gz93kWeIdlt12vt82I1dQngKCNdF+yvcls3JFl4LHyxSmy7OsAuqlP3URC2wedfQU4bvjRpQF8B3XaELgtFUlnI9ReUjJ7xLE7o7tX1vLmvG8cEz09wSlBzFapklI2dyTIGCnIPG7Bj2cVA94GOxElaW2xYZKn/E0veTNmbNHTynNMy5TNTSGKDknCYShxq3mIbx3mfbBLRw4RyVWUsFbbVIaSm0AHrTjECZq1U/DwPxGbvFqdHgFxzo/EJRChTu423edeNpqARZbSuLEdTEsKB4LVbfP+EtWC1VMFS+Q8Wrq2Cv0k2mWprJ6KV8B22cCxJo9h6pHKi9tMyJsVQowboNIL7PMDMm39oTyZZXJZx4c= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH4PR11MB828026.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(23010399003)(366016)(1800799024)(376014)(7416014)(22082099003)(18002099003)(10067099003)(56012099006)(261028144727099003)(261102123227099003)(261021121427099003)(261021135927099003)(261021123027099003)(261026121527099003)(261026140227099003)(261022105027099003)(261022075727099003)(261009223027099003)(4143699003)(11063799006)(13003099007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Nx6n8wOuX5vy2qbWYpigi871btXHTJEA/ZSejA9tSZPj0BW1Na7cLFc298OM?= =?us-ascii?Q?zeM2k+H6y0QcmVzWFEke2z5AzM6ffX1lLXRGegUcLYJdZkwqIn1guTA0IHf3?= =?us-ascii?Q?5mxxGWgLmOwtJ2wvrAFTsMGA9wqXY95VTUsU0OjcD9zssEoLUlqpV2RmTSvH?= =?us-ascii?Q?0P0lX4t/X2ruu5Ik7sRj54NsyxNPztO7nbBRYAnDHqvAf1Me8JmtksKbZYFX?= =?us-ascii?Q?aK5jpbJl2tl+PoaYhiIrRyA6afXzrWIOQiUCJ0pGimvrm/mKgd/Z+PkwF/IG?= =?us-ascii?Q?DYKWox/yTfOU47544WwKAQvlQh3LDg20lhLptMGsSAWoMIum4PU7GStzwx29?= =?us-ascii?Q?8fI8mJH3ddipdzZMlGNJTHISXWYG+uQZ66aJqVp9DVRBGkc2e50Ikn0IFk1s?= =?us-ascii?Q?s/VgkcLlaB5z391qAaEe+TpnTdUKmjd9+yFfp18pL9uS9vScYOJzQVgiOc5V?= =?us-ascii?Q?Ni+QGr5H5UdIRwt+Sdjwgj2vnO1TAbfB2mzuZZQZ/wHIPspggVKB7tIYTUMy?= =?us-ascii?Q?OGBEtXm6Qs5qq8mfn2NtWHjU4yIG9NceF8yF2128mWbGNgv1Xn20UiOFt0Ek?= =?us-ascii?Q?w8+bl23/qS9m6UJ6ul/dbDS8Jp2uUXeBQcIve3inGpDZycdoruO/ttK6AYZx?= =?us-ascii?Q?p7AeXQhdygZ1OO5opZ3g0jk5d5FE0b+Ugak2kYyBSq4ua1NGxYPB2tl34zGt?= =?us-ascii?Q?tlAV3rV3FXL/fEvUNjLWOBe7YRt3jL1QzcBGWXO1/ZJYncpWrrosMwcmSQkz?= =?us-ascii?Q?py/w+fAc/SLc9c29OS3ppx58T/WfJ0d6O2L+AtToeQDzvqTryGAmEXXGyGFr?= =?us-ascii?Q?oJXtg/EgePkW+kKbR0yFaFe+B23kYqVdjhSEJclFzZ8DoKsuYa+G/M5RQZvJ?= =?us-ascii?Q?h2k2OARWx2L2/WzPHNVzdZhGrudGp88a4mFaaht5LAaeSEK4kfGEgr/SzqBp?= =?us-ascii?Q?gs18+X28OnUKx1ZfEBpEeCC0naIN3nYpbvqJ8H+0TDdFL+8lQRjSEqdR4oW9?= =?us-ascii?Q?1Mpt77ZOEyg0BTiVMeQoEfWnhCrcB5zdC5sI1zQkp8cQrlQw9UyJm87Cz5gt?= =?us-ascii?Q?Bbiz4lmIpbMBSpNhksGfCeWi86M4GRAzl5BBJ6ksR1YI5wnjUMEoeE+8l9w+?= =?us-ascii?Q?yiXs2zBOmsZ4w19AYTadWZmYQ3W+mtghMJQQk2K96zrxQya1q3KZlPtmbjyY?= =?us-ascii?Q?F7o8iHg5R/DveM8grS1MarIKCDdCTY9mMM0Xoza1xQcBSJ9rSoWs1kd+57uV?= =?us-ascii?Q?hidye9cbAYvqpnNBTt/HuPpQOatd+WPTe+6kdW5Ni+oXKXnFCmnIfb4MtNyr?= =?us-ascii?Q?AoDm1XafcHWNPkDDxt8lqL3mcgcI28U3Yk1OhxaKWNZdh0H10o3ereYerGfM?= =?us-ascii?Q?K9FsFbaou4LHELU88ZEMLvpgmYr5L7loIQYqEOr02e1U3ksVnQH8AOcnfWtl?= =?us-ascii?Q?AJ6Ll88721HOABlJhiDKJefTwA0AY2TX3DrY5fD5WCG1eKTt8RjxiQv959gE?= =?us-ascii?Q?Vlr4WFBMlCUxQIE2/jcaG86pXyNJEncra77pyIzI50fmhBNAv+RYXtsPYonZ?= =?us-ascii?Q?OOQPDbZQ6f9ZNb2+vi91lAZEWPQNA4Vo/eQyVW25bPhVT8ar6XI/I0nRsnhl?= =?us-ascii?Q?NduIQf7KjaIjaQpcGTmlRBC/7XKklOby8T8IcbWdx/bXtpNhPamOg0zPlh4C?= =?us-ascii?Q?fBWwrVme7d1okGLlnkS+KRh31GQDVIBxrZ7bLS5P2UOd7FVdljHU8S8yTpjJ?= =?us-ascii?Q?ZqUrLNJrPw=3D=3D?= X-Exchange-RoutingPolicyChecked: XrNAqoh/FtasEoY6Xtnp7wG3YRmPyxWLLPuyn5q4HbRESFbkW9pw0uNXsUIfM6NlF5kNNpbsAvHbAF78rE8ickBx+2xAUl2WyzNJbccMKbRYnBnUjSr3Ug9CtPtVCnIAb+QbZrJHBiGlvgdqLGWsDlxSlHM6TFw0C6UWCNujQ9IWsV5Rl7CXjdVv3NFEbv6XRy17gj8i3EyZXY2pmAIzpK+dM6aqXKidfObPV76W6QxDLYmotrMNw7q5Nrdki1CmuHOz54drDlvISMcF052UiXokRVU5kSQGCncViFJS0SPt7vRTx6Cs8sF6WOa0E3C9DR7T2ilNlCAWOIuWTTIgnw== X-MS-Exchange-CrossTenant-Network-Message-Id: 878abec2-85a5-4120-8dba-08df511745f1 X-MS-Exchange-CrossTenant-AuthSource: CH4PR11MB828026.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2026 08:27:31.0782 (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: MJJkISLlsdaXwFNmz0wOnKe1gtN2/kGkN9E1oBxHe5VukGnj7q55ch8elV+9EVUK+LYf9G7Um36/J16sZvYwxQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB6608 X-OriginatorOrg: intel.com On Tue, Dec 01, 2026 at 04:12:31PM -0800, Dave Hansen wrote: > On 11/26/26 00:13, Yan Zhao wrote: > > Would you like to have an early discussion on this direction? > > To be honest, no. > > If you think this is wrong, then the right way to challenge the idea is Sorry, I had no intention of challenging any idea. I should have initiated this discussion in the huge page thread instead of here. I fully agree with this patch to make DPAMT optional. Based on DPAMT being optional, there are 3 options for TDX huge page support (see detailed analysis at the bottom): 1: Do not include any DPAMT support 2: Include DPAMT support from the beginning 3: Start with DPAMT-off and add append DPAMT support at the end. Either option 1 or option 2 is ok to me. > to structure the series with DPAMT support at the end. That'll show us > how tiny it is and also let the maintainer just chop the patches off the > end if they don't agree. The diff is non-tiny. 7 files changed, 130 insertions(+), 43 deletions(-). Besides, Sean previously pointed out it would be better not to append DPAMT support at the end. https://lore.kernel.org/all/aXqSg2nUSYJMbcXT@google.com. > So, no. I don't want to have an early discussion. I want you to prove me > wrong with code. To me, option 3 is less optimal than options 1 and 2. However, I can work on the formal patches if you would still like to take a look at option 3. Analysis of current options -------------------------- Option 1: Do not include any DPAMT support Pros: Simplicity: by removing all DPAMT-related handing, the huge page changes would be reduced from "18 files changed, 633 insertions(+), 57 deletions(-)" to "17 files changed, 518 insertions(+), 39 deletions(-)". The tip side would be greatly simplified: with only 1 patch remaining. On the KVM side, 3 patches can be dropped, and the patch adding core support for splitting under a non-vCPU context would be greatly simplified due to the removal of the per-VM DPAMT cache. Cons: 1. KVM changes are slightly awkward since the current 4KB mapping/unmapping already include DPAMT support. 2. mutual exclusivity between DPAMT and the initial huge page. Option 2: Include DPAMT support from the beginning Pros: 1. The KVM code was largely co-developed with Sean, so it is expected to face less objection from the KVM side. 2. Sean previously suggested including DPAMT support from the beginning: "In the end, this fits nicely into *one* patch, with significantly fewer lines changed overall." https://lore.kernel.org/all/aXqSg2nUSYJMbcXT@google.com. Cons: More code overall. Option 3: Start with DPAMT-off and append the DPAMT support at the end. Pros: The first part is simplified. Maintainer can chop the patches off the end if they don't agree. Cons: 1. The diff in the 2nd part is non-tiny: 7 files changed, 130 insertions(+), 43 deletions(-). 2. The diff is less clean compared to having DPAMT-on support included from the start (option 2).