diff mbox series

[ndctl,1/5] cxl/list: include --endpoints in -v listings

Message ID 167097752718.1189953.16557353877320313731.stgit@dwillia2-xfh.jf.intel.com
State Accepted
Commit fd007ff80888bf07d63a45dc75af8f01c3b30ec9
Headers show
Series cxl/test: Reliability fixes | expand

Commit Message

Dan Williams Dec. 14, 2022, 12:25 a.m. UTC
From: Vishal Verma <vishal.l.verma@intel.com>

The first level of -v (--verbose) for cxl-list is meant to include all
topological details of the CXL hierarchy on a platform. The endpoints
listing was missing from the first level, and also wasn't added at a
higher verbosity level. Fix this omission by adding endpoints to the -v
verbosity level.

Fixes: 8b61e8e75443 ("cxl: Add list verbose option to the cxl command")
Cc: Matthew Ho <sunfishho12@gmail.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
---
 cxl/list.c |    1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/cxl/list.c b/cxl/list.c
index 2f5e83d86578..e3ef1fb533c9 100644
--- a/cxl/list.c
+++ b/cxl/list.c
@@ -123,6 +123,7 @@  int cmd_list(int argc, const char **argv, struct cxl_ctx *ctx)
 	case 1:
 		param.buses = true;
 		param.ports = true;
+		param.endpoints = true;
 		param.decoders = true;
 		param.targets = true;
 		/*fallthrough*/