Re: [PATCH v4 21/28] cxl/extent: Process DCD events and realize region extents

2024-10-08 Thread Li, Ming4
On 10/8/2024 7:16 AM, 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 adde

Re: [PATCH v4 00/28] DCD: Add support for Dynamic Capacity Devices (DCD)

2024-10-08 Thread Fan Ni
On Tue, Oct 08, 2024 at 03:57:13PM -0700, Fan Ni wrote: > On Mon, Oct 07, 2024 at 06:16:06PM -0500, Ira Weiny wrote: > > A git tree of this series can be found here: > > > > https://github.com/weiny2/linux-kernel/tree/dcd-v4-2024-10-04 > > > > Series info > > === > > > > Hi Ira, >

Re: [PATCH v4 00/28] DCD: Add support for Dynamic Capacity Devices (DCD)

2024-10-08 Thread Fan Ni
On Mon, Oct 07, 2024 at 06:16:06PM -0500, Ira Weiny wrote: > A git tree of this series can be found here: > > https://github.com/weiny2/linux-kernel/tree/dcd-v4-2024-10-04 > > Series info > === > Hi Ira, Based on current DC extent release logic, when the extent to release is in u

Re: [PATCH v4 02/28] printk: Add print format (%pra) for struct range

2024-10-08 Thread Andy Shevchenko
On Mon, Oct 07, 2024 at 06:16:08PM -0500, Ira Weiny wrote: > The use of struct range in the CXL subsystem is growing. In particular, > the addition of Dynamic Capacity devices uses struct range in a number > of places which are reported in debug and error messages. > > To wit requiring the printi

Re: [PATCH v4 01/28] test printk: Add very basic struct resource tests

2024-10-08 Thread Andy Shevchenko
On Mon, Oct 07, 2024 at 06:16:07PM -0500, Ira Weiny wrote: > The printk tests for struct resource were stubbed out. struct range > printing will leverage the struct resource implementation. > > To prevent regression add some basic sanity tests for struct resource. Reviewed-by: Andy Shevchenko

Re: [PATCH v4 04/28] range: Add range_overlaps()

2024-10-08 Thread David Sterba
On Mon, Oct 07, 2024 at 06:16:10PM -0500, Ira Weiny wrote: > --- a/include/linux/range.h > +++ b/include/linux/range.h > +/* True if any part of r1 overlaps r2 */ > +static inline bool range_overlaps(struct range *r1, struct range *r2) I've noticed only now, you can constify the arguments, but thi