Skip to content

add support for CCI Get Alert Configuration

Jonathan Zhang linux-cxl 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 1 replyIn review
  2. v32 patches 0 repliesSuperseded
  3. v22 patches 5 repliesSuperseded

Changes in v4 from the cover letter

- Fix the typo of LIEF instead of LIFE (Alison).

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libcxl: add accessors for Get Alert Configuration CCI outputDocumentation/cxl/lib/libcxl.txt cxl/lib/libcxl.c cxl/lib/libcxl.sym +2 more+260 -00 replies
2/2cxl: display alert configuration fieldsDocumentation/cxl/cxl-list.txt cxl/filter.c cxl/filter.h +3 more+226 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [ndctl PATCH V4 0/2] add support for CCI Get Alert Configuration

CXL spec 3.0 section 8.2.9.8.3.2 defines CCI command Get Alert Configuration.

This patchset adds support for it.

v4:
- Fix the typo of LIEF instead of LIFE (Alison).

v3:
- Update man page and JSON output to use "alert-config" (Alison).

v2:
- Change the command parameter from "alert" to "alert-config" (Vishal).
- Update the format based on clang-formt (Vishal).
- Updated the names to be consistent with the existing code (Vishal). Such as:
-- pers_mem --> pmem
-- temp --> temperature
-- drop "get_" from some function names.

Jonathan Zhang (2):
libcxl: add accessors for Get Alert Configuration CCI output
cxl: display alert configuration fields in list command

 Documentation/cxl/cxl-list.txt   |  33 ++++++
 Documentation/cxl/lib/libcxl.txt |   1 +
 cxl/filter.c                     |   2 +
 cxl/filter.h                     |   1 +
 cxl/json.c                       | 185 +++++++++++++++++++++++++++++++
 cxl/lib/libcxl.c                 | 163 +++++++++++++++++++++++++++
 cxl/lib/libcxl.sym               |  23 ++++
 cxl/lib/private.h                |  38 +++++++
 cxl/libcxl.h                     |  35 ++++++
 cxl/list.c                       |   6 +-
 util/json.h                      |   1 +
 11 files changed, 486 insertions(+), 2 deletions(-)
Signature · 1 line
2.30.2