[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z_7RQ2Wk8ukoAegM@aschofie-mobl2.lan>
Date: Tue, 15 Apr 2025 14:36:03 -0700
From: Alison Schofield <alison.schofield@...el.com>
To: Robert Richter <rrichter@....com>
CC: Vishal Verma <vishal.l.verma@...el.com>, Ira Weiny <ira.weiny@...el.com>,
Dan Williams <dan.j.williams@...el.com>, Jonathan Cameron
<Jonathan.Cameron@...wei.com>, Dave Jiang <dave.jiang@...el.com>, "Davidlohr
Bueso" <dave@...olabs.net>, <linux-cxl@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Gregory Price <gourry@...rry.net>, "Fabio M.
De Francesco" <fabio.m.de.francesco@...ux.intel.com>, Terry Bowman
<terry.bowman@....com>
Subject: Re: [PATCH v4 13/14] cxl: Add a dev_dbg() when a decoder was added
to a port
On Thu, Mar 06, 2025 at 05:44:47PM +0100, Robert Richter wrote:
> Improve debugging by adding and unifying messages whenever a decoder
> was added to a port. It is especially useful to get the decoder
> mapping of the involved CXL host bridge or PCI device. This avoids a
> complex lookup of the decoder/port/device mappings in sysfs.
>
> Example log messages:
>
> cxl_acpi ACPI0017:00: decoder0.0 added to root0
> cxl_acpi ACPI0017:00: decoder0.1 added to root0
> ...
> pci0000:e0: decoder1.0 added to port1
> pci0000:e0: decoder1.1 added to port1
> ...
> cxl_mem mem0: decoder5.0 added to endpoint5
> cxl_mem mem0: decoder5.1 added to endpoint5
>
> Signed-off-by: Robert Richter <rrichter@....com>
> Reviewed-by: Gregory Price <gourry@...rry.net>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@...wei.com>
> Reviewed-by: Dave Jiang <dave.jiang@...el.com>
> Tested-by: Gregory Price <gourry@...rry.net>
> ---
Reviewed-by: Alison Schofield <alison.schofield@...el.com>
Powered by blists - more mailing lists