From: Dan Williams <dan.j.williams@intel.com>
To: vishal.l.verma@intel.com
Cc: Luis Chamberlain <mcgrof@kernel.org>,
linux-cxl@vger.kernel.org, nvdimm@lists.linux.dev
Subject: [ndctl PATCH 00/10] CXL topology unit test
Date: Thu, 28 Apr 2022 15:10:00 -0700 [thread overview]
Message-ID: <165118380037.1676208.7644295506592461996.stgit@dwillia2-desk3.amr.corp.intel.com> (raw)
Vishal,
Here is a series that adds a unit test for CXL bus operations around
port discovery and memory device enable/disable events. Along the way it
adds some helper commands ('cxl disable-bus') and calling convention
cleanups ('cxl list -p $port'). Some other miscellaneous fixups and
cleanups are thrown in for good measure.
---
Dan Williams (10):
build: Move utility helpers to libutil.a
util: Use SZ_ size macros in display size
util: Pretty print terabytes
cxl/port: Fix disable-port man page
cxl/bus: Add bus disable support
cxl/list: Auto-enable 'single' mode for port listings
cxl/memdev: Fix bus_invalidate() crash
cxl/list: Add support for filtering by host identifiers
cxl/port: Relax port identifier validation
cxl/test: Add topology enumeration and hotplug test
Documentation/cxl/cxl-disable-bus.txt | 37 +++++++
Documentation/cxl/cxl-disable-port.txt | 6 -
Documentation/cxl/lib/libcxl.txt | 12 ++
Documentation/cxl/meson.build | 1
cxl/builtin.h | 1
cxl/bus.c | 159 +++++++++++++++++++++++++++++++
cxl/cxl.c | 1
cxl/filter.c | 12 ++
cxl/filter.h | 1
cxl/lib/libcxl.c | 18 +++
cxl/lib/libcxl.sym | 1
cxl/libcxl.h | 1
cxl/list.c | 1
cxl/meson.build | 3 -
cxl/port.c | 30 +-----
daxctl/meson.build | 1
ndctl/meson.build | 2
test/common | 12 ++
test/cxl-topology.sh | 166 ++++++++++++++++++++++++++++++++
test/meson.build | 2
util/json.c | 26 ++++-
util/meson.build | 2
22 files changed, 448 insertions(+), 47 deletions(-)
create mode 100644 Documentation/cxl/cxl-disable-bus.txt
create mode 100644 cxl/bus.c
create mode 100644 test/cxl-topology.sh
base-commit: 97031db9300654260bc2afb45b3600ac01beaeba
next reply other threads:[~2022-04-28 22:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-28 22:10 Dan Williams [this message]
2022-04-28 22:10 ` [ndctl PATCH 01/10] build: Move utility helpers to libutil.a Dan Williams
2022-04-28 22:10 ` [ndctl PATCH 02/10] util: Use SZ_ size macros in display size Dan Williams
2022-04-28 22:10 ` [ndctl PATCH 03/10] util: Pretty print terabytes Dan Williams
2022-04-28 22:10 ` [ndctl PATCH 04/10] cxl/port: Fix disable-port man page Dan Williams
2022-04-28 22:10 ` [ndctl PATCH 05/10] cxl/bus: Add bus disable support Dan Williams
2022-04-28 22:10 ` [ndctl PATCH 06/10] cxl/list: Auto-enable 'single' mode for port listings Dan Williams
2022-04-28 22:10 ` [ndctl PATCH 07/10] cxl/memdev: Fix bus_invalidate() crash Dan Williams
2022-04-28 22:10 ` [ndctl PATCH 08/10] cxl/list: Add support for filtering by host identifiers Dan Williams
2022-04-28 22:10 ` [ndctl PATCH 09/10] cxl/port: Relax port identifier validation Dan Williams
2022-04-28 22:10 ` [ndctl PATCH 10/10] cxl/test: Add topology enumeration and hotplug test Dan Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=165118380037.1676208.7644295506592461996.stgit@dwillia2-desk3.amr.corp.intel.com \
--to=dan.j.williams@intel.com \
--cc=linux-cxl@vger.kernel.org \
--cc=mcgrof@kernel.org \
--cc=nvdimm@lists.linux.dev \
--cc=vishal.l.verma@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.