[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6719a84fef9e6_da1f929450@iweiny-mobl.notmuch>
Date: Wed, 23 Oct 2024 20:52:16 -0500
From: Ira Weiny <ira.weiny@...el.com>
To: Jonathan Cameron <Jonathan.Cameron@...wei.com>, <ira.weiny@...el.com>
CC: Dave Jiang <dave.jiang@...el.com>, Fan Ni <fan.ni@...sung.com>, "Navneet
Singh" <navneet.singh@...el.com>, Jonathan Corbet <corbet@....net>, "Andrew
Morton" <akpm@...ux-foundation.org>, Dan Williams <dan.j.williams@...el.com>,
Davidlohr Bueso <dave@...olabs.net>, Alison Schofield
<alison.schofield@...el.com>, Vishal Verma <vishal.l.verma@...el.com>,
<linux-btrfs@...r.kernel.org>, <linux-cxl@...r.kernel.org>,
<linux-doc@...r.kernel.org>, <nvdimm@...ts.linux.dev>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v4 26/28] cxl/mem: Trace Dynamic capacity Event Record
Jonathan Cameron wrote:
> On Mon, 07 Oct 2024 18:16:32 -0500
> ira.weiny@...el.com wrote:
>
> > From: Navneet Singh <navneet.singh@...el.com>
> >
> > 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.
> >
> > Signed-off-by: Navneet Singh <navneet.singh@...el.com>
> > Signed-off-by: Ira Weiny <ira.weiny@...el.com>
> Minor comment inline about tag formatting.
>
> Either way
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@...wei.com>
>
[snip]
> > +
> > + CXL_EVT_TP_printk("event_type='%s' host_id='%d' region_id='%d' " \
> > + "starting_dpa=%llx length=%llx tag=%s " \
> > + "shared_extent_sequence=%d",
> > + show_dc_evt_type(__entry->event_type),
> > + __entry->hostid,
> > + __entry->region_id,
> > + __entry->dpa_start,
> > + __entry->length,
> > + __print_hex(__entry->tag, CXL_EXTENT_TAG_LEN),
>
> %pU maybe?
> https://elixir.bootlin.com/linux/v6.11.2/source/include/ras/ras_event.h#L248
> uses it for the GUIDs in CPER etc.
>
> I guess it depends on how strongly we want to push John's vision of these
> always being UUIDs! (I'm in favor and here is just formatting a debug print
> so that shouldn't be a problem even for those who want for some odd reason
> to use something else for tags :)
I'm not pushing against the UUID idea any more. Just forgot this print.
Changed.
Ira
[snip]
Powered by blists - more mailing lists