From: "Verma, Vishal L" <vishal.l.verma@intel.com>
To: "linux-cxl@vger.kernel.org" <linux-cxl@vger.kernel.org>,
"nvdimm@lists.linux.dev" <nvdimm@lists.linux.dev>
Cc: "Williams, Dan J" <dan.j.williams@intel.com>,
"Widawsky, Ben" <ben.widawsky@intel.com>,
"Schofield, Alison" <alison.schofield@intel.com>,
"Weiny, Ira" <ira.weiny@intel.com>
Subject: Re: [ndctl PATCH v3 00/21] Initial CXL support
Date: Thu, 1 Jul 2021 20:13:59 +0000 [thread overview]
Message-ID: <a86b057ccdd8e0a087d300dfc7dc315a3bf32e95.camel@intel.com> (raw)
In-Reply-To: <20210701201005.3065299-1-vishal.l.verma@intel.com>
On Thu, 2021-07-01 at 14:09 -0600, Vishal Verma wrote:
> Changes since v2[1]:
>
> - Some minor cleanups and formatting (Ben)
> - Update cxl_mem.h to the latest kernel version (Ben)
> - Add .clang-format (Ben)
> - Add label commands to cxl-clu - {read,write,zero}-labels
> - Add libcxl and cxl-cli to the RPM spec
> - Add bash-completion for cxl-cli
> -
>
> [1]: https://lore.kernel.org/linux-cxl/20210219020331.725687-1-vishal.l.verma@intel.com/
>
> ---
>
> These patches add a new utility and library to support CXL devices.
> This comprehends the kernel's sysfs layout for CXL devices, and
> implements a command submission harness for CXL mailbox commands via
> ioctl()s definied by the cxl_mem driver.
>
> These patches include:
> - libcxl representation of cxl_mem devices
> - A command submission harness through libcxl
> - A 'cxl-list' command which displays information about a device
> - cxl-{read,write,zero}-labels commands for Label Storage Area
> manipulation
> - Unit tests to exercise several libcxl APIs and perform mailbox
> commands.
>
> Patch 15 is an RFC - maybe this should just be dropped entirely for now
> until there is a concept of active/disabled memdevs. It is useful as a
> placeholder as it allows for a way to pre-insert checks in places
> we expect the device to be active or disabled.
>
> An ndctl branch with these patches is also available at [2]
>
> [2]: https://github.com/pmem/ndctl/tree/cxl-2.0v2
Sorry, this should be:
https://github.com/pmem/ndctl/tree/cxl-2.0v3
>
> Ira Weiny (1):
> ndctl: Add CXL packages to the RPM spec
>
> Vishal Verma (20):
> ndctl: add .clang-format
> cxl: add a cxl utility and libcxl library
> cxl: add a local copy of the cxl_mem UAPI header
> libcxl: add support for command query and submission
> libcxl: add support for the 'Identify Device' command
> test: rename 'ndctl_test' to 'test_ctx'
> test: rename 'ndctl_test_*' helpers to 'test_*'
> test: introduce a libcxl unit test
> libcxl: add GET_HEALTH_INFO mailbox command and accessors
> libcxl: add support for the 'GET_LSA' command
> util/hexdump: Add a util helper to print a buffer in hex
> test/libcxl: add a test for {set, get}_lsa commands
> test/libcxl: introduce a command size fuzzing test
> libcxl: add lsa_size to cxl_memdev, and an API to retrieve it
> libcxl: PLACEHOLDER: add an interface to determine whether a memdev is
> active
> libcxl: add interfaces for label operations
> test/libcxl: add a test for cxl_memdev_{get,set}_lsa
> cxl: add commands to read, write, and zero labels
> Documentation/cxl: add library API documentation
> cxl-cli: add bash completion
>
> Documentation/cxl/cxl-list.txt | 64 ++
> Documentation/cxl/cxl-read-labels.txt | 33 +
> Documentation/cxl/cxl-write-labels.txt | 32 +
> Documentation/cxl/cxl-zero-labels.txt | 29 +
> Documentation/cxl/cxl.txt | 34 +
> Documentation/cxl/human-option.txt | 8 +
> Documentation/cxl/labels-description.txt | 8 +
> Documentation/cxl/labels-options.txt | 17 +
> Documentation/cxl/lib/cxl_new.txt | 43 +
> Documentation/cxl/lib/libcxl.txt | 56 ++
> Documentation/cxl/memdev-option.txt | 4 +
> Documentation/cxl/verbose-option.txt | 5 +
> configure.ac | 4 +
> Makefile.am | 14 +-
> Makefile.am.in | 5 +
> cxl/lib/private.h | 104 +++
> cxl/lib/libcxl.c | 1026 ++++++++++++++++++++++
> cxl/builtin.h | 13 +
> cxl/cxl_mem.h | 189 ++++
> cxl/libcxl.h | 91 ++
> test.h | 40 +-
> test/libcxl-expect.h | 13 +
> util/filter.h | 2 +
> util/hexdump.h | 8 +
> util/json.h | 3 +
> util/main.h | 3 +
> cxl/cxl.c | 99 +++
> cxl/list.c | 113 +++
> cxl/memdev.c | 314 +++++++
> ndctl/bat.c | 8 +-
> ndctl/test.c | 8 +-
> test/ack-shutdown-count-set.c | 16 +-
> test/blk_namespaces.c | 14 +-
> test/core.c | 32 +-
> test/dax-dev.c | 10 +-
> test/dax-pmd.c | 13 +-
> test/dax-poison.c | 6 +-
> test/daxdev-errors.c | 2 +-
> test/device-dax.c | 26 +-
> test/dpa-alloc.c | 14 +-
> test/dsm-fail.c | 14 +-
> test/libcxl.c | 553 ++++++++++++
> test/libndctl.c | 84 +-
> test/multi-pmem.c | 23 +-
> test/parent-uuid.c | 13 +-
> test/pmem_namespaces.c | 14 +-
> test/revoke-devmem.c | 12 +-
> util/filter.c | 20 +
> util/hexdump.c | 53 ++
> util/json.c | 26 +
> .clang-format | 162 ++++
> .gitignore | 7 +-
> Documentation/cxl/Makefile.am | 61 ++
> Documentation/cxl/lib/Makefile.am | 58 ++
> README.md | 2 +-
> contrib/ndctl | 109 +++
> cxl/Makefile.am | 22 +
> cxl/lib/Makefile.am | 32 +
> cxl/lib/libcxl.pc.in | 11 +
> cxl/lib/libcxl.sym | 67 ++
> ndctl.spec.in | 49 ++
> test/Makefile.am | 15 +-
> 62 files changed, 3749 insertions(+), 181 deletions(-)
> create mode 100644 Documentation/cxl/cxl-list.txt
> create mode 100644 Documentation/cxl/cxl-read-labels.txt
> create mode 100644 Documentation/cxl/cxl-write-labels.txt
> create mode 100644 Documentation/cxl/cxl-zero-labels.txt
> create mode 100644 Documentation/cxl/cxl.txt
> create mode 100644 Documentation/cxl/human-option.txt
> create mode 100644 Documentation/cxl/labels-description.txt
> create mode 100644 Documentation/cxl/labels-options.txt
> create mode 100644 Documentation/cxl/lib/cxl_new.txt
> create mode 100644 Documentation/cxl/lib/libcxl.txt
> create mode 100644 Documentation/cxl/memdev-option.txt
> create mode 100644 Documentation/cxl/verbose-option.txt
> create mode 100644 cxl/lib/private.h
> create mode 100644 cxl/lib/libcxl.c
> create mode 100644 cxl/builtin.h
> create mode 100644 cxl/cxl_mem.h
> create mode 100644 cxl/libcxl.h
> create mode 100644 test/libcxl-expect.h
> create mode 100644 util/hexdump.h
> create mode 100644 cxl/cxl.c
> create mode 100644 cxl/list.c
> create mode 100644 cxl/memdev.c
> create mode 100644 test/libcxl.c
> create mode 100644 util/hexdump.c
> create mode 100644 .clang-format
> create mode 100644 Documentation/cxl/Makefile.am
> create mode 100644 Documentation/cxl/lib/Makefile.am
> create mode 100644 cxl/Makefile.am
> create mode 100644 cxl/lib/Makefile.am
> create mode 100644 cxl/lib/libcxl.pc.in
> create mode 100644 cxl/lib/libcxl.sym
>
>
> base-commit: 4e646fa490ba4b782afa188dd8818b94c419924e
prev parent reply other threads:[~2021-07-01 20:14 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-01 20:09 [ndctl PATCH v3 00/21] Initial CXL support Vishal Verma
2021-07-01 20:09 ` [ndctl PATCH v3 01/21] ndctl: add .clang-format Vishal Verma
2021-07-10 1:12 ` Dan Williams
2021-07-01 20:09 ` [ndctl PATCH v3 02/21] cxl: add a cxl utility and libcxl library Vishal Verma
2021-07-10 1:12 ` Dan Williams
2021-07-13 21:14 ` Verma, Vishal L
2021-07-01 20:09 ` [ndctl PATCH v3 03/21] cxl: add a local copy of the cxl_mem UAPI header Vishal Verma
2021-07-10 1:13 ` Dan Williams
2021-07-01 20:09 ` [ndctl PATCH v3 04/21] libcxl: add support for command query and submission Vishal Verma
2021-07-13 5:12 ` Dan Williams
2021-07-13 21:17 ` Verma, Vishal L
2021-07-13 21:39 ` Dan Williams
2021-07-01 20:09 ` [ndctl PATCH v3 05/21] libcxl: add support for the 'Identify Device' command Vishal Verma
2021-07-15 23:50 ` Dan Williams
2021-07-01 20:09 ` [ndctl PATCH v3 06/21] test: rename 'ndctl_test' to 'test_ctx' Vishal Verma
2021-07-15 23:51 ` Dan Williams
2021-07-01 20:09 ` [ndctl PATCH v3 07/21] test: rename 'ndctl_test_*' helpers to 'test_*' Vishal Verma
2021-07-15 23:51 ` Dan Williams
2021-07-01 20:09 ` [ndctl PATCH v3 08/21] test: introduce a libcxl unit test Vishal Verma
2021-07-15 23:53 ` Dan Williams
2021-07-01 20:09 ` [ndctl PATCH v3 09/21] libcxl: add GET_HEALTH_INFO mailbox command and accessors Vishal Verma
2021-07-16 1:11 ` Dan Williams
2021-07-01 20:09 ` [ndctl PATCH v3 10/21] libcxl: add support for the 'GET_LSA' command Vishal Verma
2021-07-16 2:24 ` Dan Williams
2021-07-01 20:09 ` [ndctl PATCH v3 11/21] util/hexdump: Add a util helper to print a buffer in hex Vishal Verma
2021-07-01 20:09 ` [ndctl PATCH v3 12/21] test/libcxl: add a test for {set, get}_lsa commands Vishal Verma
2021-07-01 20:09 ` [ndctl PATCH v3 13/21] test/libcxl: introduce a command size fuzzing test Vishal Verma
2021-07-01 20:09 ` [ndctl PATCH v3 14/21] libcxl: add lsa_size to cxl_memdev, and an API to retrieve it Vishal Verma
2021-07-01 20:09 ` [ndctl PATCH v3 15/21] libcxl: PLACEHOLDER: add an interface to determine whether a memdev is active Vishal Verma
2021-07-01 20:10 ` [ndctl PATCH v3 16/21] libcxl: add interfaces for label operations Vishal Verma
2021-07-01 20:10 ` [ndctl PATCH v3 17/21] test/libcxl: add a test for cxl_memdev_{get,set}_lsa Vishal Verma
2021-07-01 20:10 ` [ndctl PATCH v3 18/21] cxl: add commands to read, write, and zero labels Vishal Verma
2021-07-01 20:10 ` [ndctl PATCH v3 19/21] Documentation/cxl: add library API documentation Vishal Verma
2021-07-01 20:10 ` [ndctl PATCH v3 20/21] ndctl: Add CXL packages to the RPM spec Vishal Verma
2021-07-01 20:10 ` [ndctl PATCH v3 21/21] cxl-cli: add bash completion Vishal Verma
2021-07-01 20:13 ` Verma, Vishal L [this message]
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=a86b057ccdd8e0a087d300dfc7dc315a3bf32e95.camel@intel.com \
--to=vishal.l.verma@intel.com \
--cc=alison.schofield@intel.com \
--cc=ben.widawsky@intel.com \
--cc=dan.j.williams@intel.com \
--cc=ira.weiny@intel.com \
--cc=linux-cxl@vger.kernel.org \
--cc=nvdimm@lists.linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).