Re: [PATCH v3 02/25] printk: Add print format (%par) for struct range

2024-08-26 Thread Petr Mladek
On Thu 2024-08-22 12:53:32, Ira Weiny wrote: > Petr Mladek wrote: > > On Fri 2024-08-16 09:44:10, 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 re

Re: [PATCH v3 02/25] printk: Add print format (%par) for struct range

2024-08-26 Thread Petr Mladek
On Thu 2024-08-22 21:10:25, Andy Shevchenko wrote: > On Thu, Aug 22, 2024 at 12:53:32PM -0500, Ira Weiny wrote: > > Petr Mladek wrote: > > > On Fri 2024-08-16 09:44:10, Ira Weiny wrote: > > ... > > > > > + %par[range 0x6000-0x6fff] or > > > > > > It seems that it is always 64-b

Re: [PATCH v3 02/25] printk: Add print format (%par) for struct range

2024-08-26 Thread Andy Shevchenko
On Mon, Aug 26, 2024 at 03:17:26PM +0200, Petr Mladek wrote: > On Thu 2024-08-22 12:53:32, Ira Weiny wrote: > > Petr Mladek wrote: > > > On Fri 2024-08-16 09:44:10, Ira Weiny wrote: [...] > > > > + static const struct printf_spec range_spec = { > > > > + .base = 16, > > > > +

Re: [PATCH v3 02/25] printk: Add print format (%par) for struct range

2024-08-26 Thread Andy Shevchenko
On Mon, Aug 26, 2024 at 03:23:50PM +0200, Petr Mladek wrote: > On Thu 2024-08-22 21:10:25, Andy Shevchenko wrote: > > On Thu, Aug 22, 2024 at 12:53:32PM -0500, Ira Weiny wrote: > > > Petr Mladek wrote: > > > > On Fri 2024-08-16 09:44:10, Ira Weiny wrote: ... > > > > > + %par[range 0x6

Re: [PATCH v3 23/25] cxl/mem: Trace Dynamic capacity Event Record

2024-08-26 Thread Ira Weiny
Dave Jiang wrote: > > > On 8/16/24 7:44 AM, ira.we...@intel.com wrote: > > From: Navneet Singh > > > > CXL rev 3.1 section 8.2.9.2.1 adds the Dynamic Capacity Event Records. > > User space can use trace events for debugging of DC capacity changes. > > > > Add DC trace points to the trace log.

Re: [PATCH v3 02/25] printk: Add print format (%par) for struct range

2024-08-26 Thread Ira Weiny
Andy Shevchenko wrote: > On Mon, Aug 26, 2024 at 03:23:50PM +0200, Petr Mladek wrote: > > On Thu 2024-08-22 21:10:25, Andy Shevchenko wrote: > > > On Thu, Aug 22, 2024 at 12:53:32PM -0500, Ira Weiny wrote: > > > > Petr Mladek wrote: > > > > > On Fri 2024-08-16 09:44:10, Ira Weiny wrote: > > ... >