Re: [PATCH v4 13/14] cxl: Add a dev_dbg() when a decoder was added to a port
From: Alison Schofield
Date: Tue Apr 15 2025 - 17:36:34 EST
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@xxxxxxx>
> Reviewed-by: Gregory Price <gourry@xxxxxxxxxx>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> Reviewed-by: Dave Jiang <dave.jiang@xxxxxxxxx>
> Tested-by: Gregory Price <gourry@xxxxxxxxxx>
> ---
Reviewed-by: Alison Schofield <alison.schofield@xxxxxxxxx>