Re: [PATCH RFC v2 15/18] cxl/mem: Trace Dynamic capacity Event Record

From: Ira Weiny
Date: Wed Sep 06 2023 - 00:11:14 EST


Jonathan Cameron wrote:
> On Mon, 28 Aug 2023 22:21:06 -0700
> ira.weiny@xxxxxxxxx wrote:
>
> > From: Navneet Singh <navneet.singh@xxxxxxxxx>
> >
> > CXL rev 3.0 section 8.2.9.2.1.5 defines the Dynamic Capacity Event Record
> > Determine if the event read is a Dynamic capacity event record and
> > if so trace the record for the debug purpose.
> >
> > Add DC trace points to the trace log.
>
> Probably should say why these might be useful...
>

Its kind of hidden.

"... for the debug purpose."

I suppose this could be used to react to new extents coming online to
create new dax devices in the future. But that should really be done
through udev when dax extent devices surface not these events.

I'll clarify the commit message.

Thanks,
Ira