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.14 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796079574; b=R2uYFMCZ+fH/HZj8p4w0Izv+Y0iGrFYCuJo0CDr1ndRTVEZR/APWyzvyYZ+7AbhwjN5c Jkzms//xSeYgtyMeGk2115pu9sRDWBKtWeATRLr9JMV76RSLx2+M+uDlTLvc9W8ciLghr rVMzS+erpaWbw/OgKRTSn1OspS+kAsBmIZXIy+DA7qdrRt5IiQcEx7Gs4P/mpXW6wdgc6 S4fELGrFaTZqNM8p7tv6HTB/BXHm0/VHRf0WAqqlDCWxVeicirHl6F1Ys2JalW74zeUtn Nvm5JDyXJ/85+HT8aJdzYFpdbTS2QsaQCL9ENZJLLcTU0qJx+X57cbvx0PAlnFbccXg== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796079574; 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: 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-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=o9BBzhsXG2HvDSQDebTXC7hj3+WLBiu75pV69UeDRf8=; b=2tBWRzt/E2QyYE7x95FQ0qhlAGGNYeq8dqEVjtOOWVWU9xSizsdBRCSQ0d33usKyUWZE FzHpGRUTxEF5vFmrCXJePp9musX4hwv4cyiWkpJkNtejbjOAUGHwr4taLNl5jn/xO5juo hd4GOEG3hGC2rRqiEi+ItzI1GZTCdEzuaXmMUUhCQ+6fGTWp+xJNkgkTtHjhBkngaqmwq fuU9v/hwDwNyNxowC4bzZTELH8blCLnwZrXbekmtaOjQiOfEuu1nDOvMB9RVU1Eq/eH0K 2BiaWw9qTitaFPHaC0Tm9bOSDaP8o4xEb1A3pdT4w0LkV4BuPb2aC7RIQkqVEnupTBw== 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=RrX4sZ8Z; arc=pass header.oldest-pass=0 smtp.remote-ip=198.175.65.14 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) (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 4A91E606A333; Mon, 30 Nov 2026 22:59:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4A91E606A333 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=RrX4sZ8Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796079573; x=1827615573; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=o9BBzhsXG2HvDSQDebTXC7hj3+WLBiu75pV69UeDRf8=; b=RrX4sZ8ZTNOtcRl53ZY9sZf3m1fMbp/cxD84Fsh3ZXK3F8NYHLAHTZVr BByd5B78/f+JPXdFy41r/0a7FqkApCy1+m/+a5NICxfZmTgNcYJt7fn+z iapIBl1KQ5ftwNuVfm4rhtk3v3MvzjsqRiEty3Z+cqYMkjpK8HBUD9KEc yJoWLWQrKL0CUUvV7hNDj5II8sl4fPpDfZ5Ot3uw80TkrbLIfovKzVzUk pIPu/5s0vXzUSZ92xlYJoMwYTU+3SZYrGm5f48fyvQzmQ58KZ2+nGi2uA sOrm6TTIPMg/DoLfrRLF+Q2CMcvgSCWAUE7YpDWQv/mwGZTLQ6TIV+tQD w==; X-CSE-ConnectionGUID: jKNn/oXSQlyIbDnoAwbqBA== X-CSE-MsgGUID: hvWHVbMgSfWA04gN0P3w6Q== X-IronPort-AV: E=McAfee;i="6800,10657,11982"; a="4839586" X-IronPort-AV: E=Sophos;i="6.27,243,1787036400"; d="scan'208";a="4839586" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 14:59:32 -0800 X-CSE-ConnectionGUID: BGGR7H/hSZG/FoKp94DRqw== X-CSE-MsgGUID: WMUqfCOeQ8mflHv0LrZDtw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,243,1787036400"; d="scan'208";a="12947793" Received: from fmsmsx903.amr.corp.intel.com ([10.18.126.92]) by orviesa003.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 14:59:32 -0800 Received: from FMSMSX901.amr.corp.intel.com (10.18.126.90) by fmsmsx903.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Mon, 30 Nov 2026 14:59:31 -0800 Received: from fmsedg902.ED.cps.intel.com (10.1.192.144) by FMSMSX901.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57 via Frontend Transport; Mon, 30 Nov 2026 14:59:31 -0800 Received: from CY7PR03CU001.outbound.protection.outlook.com (40.93.198.53) by edgegateway.intel.com (192.55.55.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Mon, 30 Nov 2026 14:59:30 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=w1npW9a2KK/qcvoDO13IRE4eUNR1OgTEjj1bVjYoK2nGVIoLmXS49KPLI5431evj1QEKhy9DqorOxpLnL84R99ZeCR0ZP+b/oWSwBwT7MmHaSIGTgKbrBMnfC1wuPsANVlCD8bbMJ28EcIDIYUrsj2/BzCzMShnXVBQMXMEAPjBOHoxmp9es3PYU/LimraEWtH6OHR/sgJS9ILCIWK+yeqLrwWIV/+Xa9wCQR5emchJbayVXhXqGfAbuMveLo+dsZX1iSvrJzvQNk2eH+0ZqftWvwSeiQGhToPTqdy0mrwBO/FtwSs2s6RduBnemDgudKWLVcn8YESLbmZ/lfdzjIg== 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=o9BBzhsXG2HvDSQDebTXC7hj3+WLBiu75pV69UeDRf8=; b=Qi6Qe0obMNoQhBNgfwQL+8UoB+ghOFiyfyTofU1ZXubEkbnjNza1J8/tVtveIpBvfhA9ysktVub5OnNxJEPG8qPBB+BtJcKsht37eOMdmPYFLMaUPfgnr4MrLGiSAN/YPnXD1iQdzYPIrvVj5g++YedvnJqwnBjsLcfXkG+/mSqJEiiyjUhqgPSfivYrN20/+jMYXzLf8PjSZ6EVMEcCTMlCl9Ej8zDdRiLmdJWHpxAvRm2Dw0jRnZzb7TMQq5iYNp522zqA+j/4d+5ojUSutgqMLpDnqgOyVvUQp9VKNyILZCri8jupMjjmpOveg5rcfj3iTtqeTtbvH67Jkz7txw== 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 DS4PPF0BAC23327.namprd11.prod.outlook.com (2603:10b6:f:fc02::9) by EAYPR11MB668861.namprd11.prod.outlook.com (2603:10b6:303:2fd::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.13; Mon, 30 Nov 2026 22:59:27 +0000 Received: from DS4PPF0BAC23327.namprd11.prod.outlook.com ([fe80::a1fc:97e0:329a:4aa7]) by DS4PPF0BAC23327.namprd11.prod.outlook.com ([fe80::a1fc:97e0:329a:4aa7%6]) with mapi id 15.21.0662.012; Mon, 30 Nov 2026 22:59:27 +0000 Date: Mon, 30 Nov 2026 14:59:14 -0800 From: Alison Schofield To: Anisa Su CC: , , , Dave Jiang , "Jonathan Cameron" , Davidlohr Bueso , Ira Weiny , Vishal Verma , Fan Ni , Li Ming , Benjamin Cheatham , Gregory Price , Richard Cheng , Anisa Su Subject: Re: [PATCH v1 14/14] Documentation/cxl: Document DCD extent handling Message-ID: References: <20261104230445.66625-1-anisa.su@samsung.com> <20261104230445.66625-15-anisa.su@samsung.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261104230445.66625-15-anisa.su@samsung.com> X-ClientProxiedBy: MW3PR06CA0024.namprd06.prod.outlook.com (2603:10b6:303:2a::29) To DS4PPF0BAC23327.namprd11.prod.outlook.com (2603:10b6:f:fc02::9) 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: DS4PPF0BAC23327:EE_|EAYPR11MB668861:EE_ X-MS-Office365-Filtering-Correlation-Id: aac7dc2b-06f9-4ac4-bf4d-08df4f35957f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|23010399003|376014|366016|1800799024|5023799004|56012099006|11063799006|261021121427099003|261022075727099003|261021123027099003|261028144727099003|10067099003|261026140227099003|261022105027099003|261026121527099003|261102123227099003|261009223027099003|18002099003|22082099003|4143699003|6133799003; X-Microsoft-Antispam-Message-Info: 5mZdmyWFu680T7bzWLkFjC2DySxY9erMAAZWi11Z+2I1ZXVtQMTgfq2VO8a1f3Gt6EJRR3kOZeCKclbsxYzB32baISeYHhuEQR6EPjEZFwFFEOK6Ism7CkjGBZNnJaO9sjmANVN3fTcLkfiQnKB6iIdHpnvnyPIdLySG0V+7oZrVbUVnjFpVkB+N9Ljmoz6PNIZk3BGWRjyCS8L/tEJPYXgaR49tDL6Suika5u3y4aZNToiDs7N8A7a3yiajtOIURsRvmZS3DE8tvopChRPkwuYKw7hyIjPV9mrG+IATlpRAsw+qHsoAXLW0eITI+FgqFXLCDH/H9oLM2B7W87mthMOgFylnZx/llLCSvmQ5+iTXooqiwMjKSpJfgYq4ECNcJFIp/4TkcfbiDrLLmqeoelcYvxR50j5yAbZGl34q+HHica9RYSegjKD4RxzlaeT3ABAtAnjMnw27I2cu1/Th6NnBB68x2SaG9gd7ovyOsLuDzPJONc7Cv7YoTAEpCZRL7BL0TQEJ2W8gqjx5DDcKVSiFQ9x42DJmoxD9t2ucLQIe5ybn7FEhLxtj5Sq11JmyCi0M4nCm60ZZlKbABQmj+363Uu2Xl91J8FNXcED5sincPWu9oo4BoMDScibNom1rDvNFGQ5x/+dND2alV/6VtFrrn7JsxYfTiPDXGcer0qg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS4PPF0BAC23327.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(23010399003)(376014)(366016)(1800799024)(5023799004)(56012099006)(11063799006)(261021121427099003)(261022075727099003)(261021123027099003)(261028144727099003)(10067099003)(261026140227099003)(261022105027099003)(261026121527099003)(261102123227099003)(261009223027099003)(18002099003)(22082099003)(4143699003)(6133799003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?JXLlRthwoAQjWA1KwtjipjIdbPieARynoNG1PMaLv9aFy6Xkf8hyojImpRLO?= =?us-ascii?Q?WouD8Fd4CRrYwVXvOVyWqqZmMKsiRYlbtxzP7To8V250zGz4R/W8+SIdA4+4?= =?us-ascii?Q?dGJ4MCa5BXwX2rqrKzmUxA8cRYPM0DBWgrDzzjBKd597a2g++ueJedX8HrJD?= =?us-ascii?Q?R1WWqumSS3sN0qGRv5HbhVyRIIQzMnc/TzEBobftfQ/TwbvtPUBtK3Srts2t?= =?us-ascii?Q?LzGDrDmH7l1bTDxIdg8J0JsywfvGOcdI6FYX/58fdgQ/NuQNC/a9V3vAJh9p?= =?us-ascii?Q?x7GGuNE7gXvyZPxLx41ksGgxTgJnQSgo67EpPTzxNBBEB1Wvji9KwJJDbYk/?= =?us-ascii?Q?GUC63Lug+Q6b8dkSDxNgchFBmdquLO5+jn54of5lD8B1H5x2bMIi0ez/qzyn?= =?us-ascii?Q?5XeaBaNmv+gXWyt0gwZYTip1uJ/3kTClkLl9coDzCdutwsEyP5hFkMZ5H8Vi?= =?us-ascii?Q?u6IdRQHgRFydnoD/x+fRuKufSG2s5LqOH1t6sae9hodFP1WjhVv75XY6ALOZ?= =?us-ascii?Q?vDTVmEa346e/wcy4TdnG7ESXN/UnLSLSh+sSM/BGh1JYsSp4IivztU+ClYt2?= =?us-ascii?Q?E6Ts485uSnQGfWduN5sz6ghxOlbrY+Xp2i9Hqcq48sLU3ApnhP9mgD7ubiix?= =?us-ascii?Q?3RQjfrU/rYy2adD0OfI2jjWotHhAv0XtrowEXcExoXNvhhMSELZfFuy/AHg4?= =?us-ascii?Q?hJiBkLo8jTE0nD+jffJbkpcKUQBWTGEKBY1au3kl3mU+ifA2b9XmOeJbfc2H?= =?us-ascii?Q?efT9claG534yVmuGWl8W+FhxS33f0HGGN5S3cjzAUSpHEPiyKQiwnCaxN0Rl?= =?us-ascii?Q?FQ+6dy6KCANLYIw12pgf4rrhLqZuJsUjTXpkSKPTb47pFIKLejnFK2I5gEpK?= =?us-ascii?Q?FHqUHB6Jx4c0IkHv1qNewHHAzHvmBG3SmPAk8kDAkcMt4Q/mRvQ7jcxY+q+D?= =?us-ascii?Q?l0RTJrpx0pmrUqbLXi5899nUpyZrRvti9tntyhPmperXi0I2gxxNACEdplsO?= =?us-ascii?Q?spbFU+MitG+Zm/2m7QnepsnrE+369I61lBLvUAtU4fBjwSOeHIGP3p0eJv7J?= =?us-ascii?Q?RBdGZ+X3rv3hvUp0FXQ/NleaZKLIFGChKxmSHJJ3WEFzI0EOFDrwXR209HMG?= =?us-ascii?Q?lzDTVUzGheuxYPVsFBV+fRPYPSk+v0PX8MPxuTAO3Q02iP99ZVkATQeLXi5I?= =?us-ascii?Q?1ru0QpYphTR/4e7h28tmpIu5tmhWoQHAG/OWmEZwEtlUaxJ+qZBjtXEOVMlH?= =?us-ascii?Q?ZOUBGV3qdYOO2o5dwW6EBKzBYfxA13u+ehWNNgPM4vT2USzyNJdZExEhTK8z?= =?us-ascii?Q?OGx17EPM3M0btfr+5CufMB8JPqr/uK6MlvA7N+i1waUsr4A45dRZDs+vVwE7?= =?us-ascii?Q?RuRhsR6o2WC1Le45dygqEagTAtrqzXi3iN9rizDZPmR8pk2ahj4c1mlMBKJ4?= =?us-ascii?Q?JBrMftHCBc77htP0w+XGp6mVoCjf8lfL6aB8D9w3kUVvetEYLm+JofiI6v7v?= =?us-ascii?Q?4xkW9yVOhNuZsmFz63fkHL8pr+9pN0SBM4WrZwhf3Nl3WOsDt2X3AQsQrfTe?= =?us-ascii?Q?hkgdYl0bweDvqxl24h2pSAmye5hZl9VH6oLHmDqmmayL+lab9xdnTxRCnusL?= =?us-ascii?Q?mPXftj0DwizYxCX5V5fwxE6SN5x5G4PfyP+UNaPoCVgimyskStJrAVMxXkuM?= =?us-ascii?Q?o238Fe6d0WvuCPVzofj3GNZUM56LwYi8kfYbOi7XTbzwYdMRHdlth8GZvwgA?= =?us-ascii?Q?CmqZjG4rzOmdcJoaug9pcmlvU3NzhN8=3D?= X-Exchange-RoutingPolicyChecked: b+XnTJaAOsGXDK0p87CBKOdLKXpCqHgk2N7Z/4F/zc5Wbn11g3Co8VGAQoGVLTKevl2k1dP9pVUze98e2Uagosk61PPEu6FBX8XEVxXWywO2dkD10kzkboeldu5uV3/mpoWQXdrCazJMZ6UQjLo/fpQrA8BI9w/MY5N1/kVGEhOrYHimCOp/zhQDelak2tApqwRYC5SE2ZYFSEVLh0Pu5oi9BrV0vuGwa0RNjY57bE7Dg1HFW2MkeWBqc3Ges81pTgXw1WTosUYiytJYj1D6jRqu/QdZ7v75HWVS01lSkXJI6/+3YGFHnXm+H0CBOQ5el0LH6M0APaIri0Uka/Gfeg== X-MS-Exchange-CrossTenant-Network-Message-Id: aac7dc2b-06f9-4ac4-bf4d-08df4f35957f X-MS-Exchange-CrossTenant-AuthSource: DS4PPF0BAC23327.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2026 22:59:27.2085 (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: Go0Ksu+TJMWFmIukFfH9a70meMxpEn36wchL13J+xfx0EN3XPvtQjNnRYf5h8p2UeJcHHchQgiyDjloomLK9SjnQI+I7e8ybNpcQ7H1nzeM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: EAYPR11MB668861 X-OriginatorOrg: intel.com On Thu, Nov 05, 2026 at 08:02:38AM +0900, Anisa Su wrote: > Add a "Dynamic Capacity Extents" section to cxl-driver.rst, describing > when CXL core accepts an offered extent and when a release request > is acknowledged. > > Update maturity-map.rst to reflect initial support for "Extent add / > release event handling". Overall DCD Support stays at [0] until the > DAX layer plumbing lands and extents become usable. > > Signed-off-by: Anisa Su > --- > .../driver-api/cxl/linux/cxl-driver.rst | 181 ++++++++++++++++++ > Documentation/driver-api/cxl/maturity-map.rst | 2 +- > 2 files changed, 182 insertions(+), 1 deletion(-) > > diff --git a/Documentation/driver-api/cxl/linux/cxl-driver.rst b/Documentation/driver-api/cxl/linux/cxl-driver.rst > index 212df4fb8d63..28f6c0530c8a 100644 > --- a/Documentation/driver-api/cxl/linux/cxl-driver.rst > +++ b/Documentation/driver-api/cxl/linux/cxl-driver.rst > @@ -654,6 +654,187 @@ from HPA to DPA. This is why they must be aware of the entire interleave set. > Linux does not support unbalanced interleave configurations. As a result, all > endpoints in an interleave set must have the same ways and granularity. > > +Dynamic Capacity Extents > +======================== > + > +A `Dynamic Capacity Device (DCD)` advertises capacity in `DC Regions` > +and surfaces individual chunks of that capacity to the host as > +`extents` (CXL r4.0 Section 9.13.3 "Dynamic Capacity Device (DCD)"). > +Linux calls a DC Region a `DC partition` (see "DPA Partitions" above) > +so that "region" keeps its software meaning: a :code:`cxl_region` is > +the host-side object that maps DPA into a host physical address range, > +whereas a DC Region is a device-defined slice of DPA space. > + > +Accepting Extents > +----------------- > +Extents are made available to the host through DC Add events: the > +device sends one or more Dynamic Capacity Event Records (CXL r4.0 > +Section 8.2.10.2.1.6, Table 8-229) to the host. Each record carries > +one extent, which the host may accept or reject. A device offering > +several extents sends one record per extent, chained with `More`: each > +record has the `More` flag set to announce another incoming record, > +until the last record, which carries `More=0` to mark the end of the > +chain. > + > +For each record received, the host stages the offered extent on a > +pending list. When the chain closes the host knows that every extent > +of this add event has arrived, and the whole pending list is validated > +before anything is accepted. A chain whose closing record does not The code validates and onlines one tag group at a time. Only the Add response waits for the whole list. Should the doc say that? > +arrive within 20 seconds is refused as a whole: the watchdog answers > +with an empty Add Dynamic Capacity Response so the device can reclaim > +the offer, and the staged extents are discarded. > + > +From the pending list, extents that share a (non-null) tag are > +extracted into a tag group so that each group can be validated as a > +unit; a group that is accepted becomes a :code:`struct > +cxl_dc_tag_group`. A tag group is one logical allocation. An untagged > +extent is an allocation of its own and becomes a single-member group. > + > +Group-level validation (:code:`cxl_validate_group()`, > +:code:`drivers/cxl/core/mbox.c`) drops the whole group if any check > +fails: > + > +* `Host-wide tag uniqueness`: a non-null tag must not already > + correspond to a live :code:`cxl_dc_tag_group` anywhere on this host. > + The orchestrator / Fabric Manager owns tag assignment (CXL r4.0 > + Section 9.13.3.1 "DCD Management by FM" and Section 7.6.7.6 "DCD > + Management Command Set for LD-FAM"); the list in > + :code:`drivers/cxl/core/extent.c` (:code:`cxl_tag_register()` / > + :code:`cxl_tag_already_committed()`) catches firmware bugs and The section names a lot of static helpers and file paths that can go stale. The rules themselves stay valid. Maybe describe the rules and keep only the user-visible names, such as tag_groupX.Y, extentX.Y and untagged? snip > +* The extent's DPA range must lie within a DC partition of the memdev > + (:code:`cxl_extent_dc_partition()`). On a sharable partition the > + extent must carry a tag; on a non-sharable one its shared extent > + sequence must be 0. > +* The extent's DPA range must resolve to a CXL region via > + :code:`cxl_dpa_to_region()`. An extent with no owning region is > + dropped, as is one whose :code:`dax_region` has not finished its > + probe-time scan or has no driver bound (see Recovery below). There isn't a 'Recovery' section. snip > +Releasing Extents > +----------------- > + > +A release may be initiated by the device (a Release Capacity event) or > +by the host, for example when tearing down a region. A host may also > +issue a Release Dynamic Capacity Response not associated with any > +event, an "unsolicited release", at any time (CXL r4.0 Section 9.13.3). The spec calls opcode 4803h "Release Dynamic Capacity" (8.2.10.9.9.4). This section says "Release Dynamic Capacity Response" four times. Suggest using the spec name. > +The host-initiated path runs :code:`dc_tag_group_teardown()` for each > +tag group of the region: it invalidates the region's cached lines, > +returns the group with its own Release Dynamic Capacity Response and > +unregisters its extents. The device-initiated path goes through the > +release chain in :code:`drivers/cxl/core/mbox.c`. This says teardown always invalidates, but teardown releases even when the invalidation fails (raised on patch 6), while the device-initiated path below keeps the group when it fails (patch 11). Whichever policy is chosen, update the doc to state it for both paths. snip > + > +* The extent is resolved by :code:`cxl_resolve_extent()` to its CXL > + region and :code:`cxl_dc_tag_group`. > +* An extent the host does not own is acknowledged so the device knows > + the host is not using it: its DPA range resolves to no region, to a > + region whose :code:`cxlr_dax` is not set up, or to a range that > + overlaps nothing the host owns (for example, an extent left over > + from a host crash that has not yet been re-claimed, or a duplicate s/re-claimed/reclaimed