Re: [PATCH v3 07/25] cxl/core: Separate region mode from decoder mode

2024-09-02 Thread Li, Ming4
On 8/16/2024 10:44 PM, ira.we...@intel.com wrote: > From: Navneet Singh > > Until now region modes and decoder modes were equivalent in that both > modes were either PMEM or RAM. The addition of Dynamic > Capacity partitions defines up to 8 DC partitions per device. > > The region mode is thus no

Re: [PATCH v3 05/25] cxl/mbox: Flag support for Dynamic Capacity Devices (DCD)

2024-09-02 Thread Li, Ming4
On 8/16/2024 10:44 PM, ira.we...@intel.com wrote: > From: Navneet Singh > > Per the CXL 3.1 specification software must check the Command Effects > Log (CEL) for dynamic capacity command support. > > Detect support for the DCD commands while reading the CEL, including: > > Get DC Config >

Re: [PATCH v3 04/25] cxl/pci: Delay event buffer allocation

2024-09-02 Thread Li, Ming4
On 8/16/2024 10:44 PM, Ira Weiny wrote: > The event buffer does not need to be allocated if something has failed in > setting up event irq's. > > In prep for adjusting event configuration for DCD events move the buffer > allocation to the end of the event configuration. > > Reviewed-by: Davidlohr B

Re: [PATCH v3 18/25] cxl/extent: Process DCD events and realize region extents

2024-09-02 Thread Li, Ming4
On 8/16/2024 10:44 PM, ira.we...@intel.com wrote: > From: Navneet Singh > > A dynamic capacity device (DCD) sends events to signal the host for > changes in the availability of Dynamic Capacity (DC) memory. These > events contain extents describing a DPA range and meta data for memory > to be add

Re: [PATCH v3 13/25] cxl/region: Add sparse DAX region support

2024-09-02 Thread Li, Ming4
On 8/16/2024 10:44 PM, ira.we...@intel.com wrote: > From: Navneet Singh > > Dynamic Capacity CXL regions must allow memory to be added or removed > dynamically. In addition to the quantity of memory available the > location of the memory within a DC partition is dynamic based on the > extents off