mbox series

[ndctl,0/6] cxl/test: Add more region ABI validation

Message ID 165973187080.1528532.8097010788284626448.stgit@dwillia2-xfh.jf.intel.com
Headers show
Series cxl/test: Add more region ABI validation | expand

Message

Dan Williams Aug. 5, 2022, 8:37 p.m. UTC
Expand cxl-region-sysfs.sh to validate that all decoders in the test
region are setup per expectations. In support of that testing, decoder
listings gain 'interleave_ways', 'interleave_granularity', and 'region'
attributes, while port listings gain a 'depth' attribute. Decoders can
now be filtered by their associated region.

---

Dan Williams (6):
      cxl/test: Validate endpoint interleave geometry
      cxl/list: Add interleave parameters to decoder listings
      cxl/list: Add region to decoder listings
      cxl/list: Filter decoders by region
      cxl/list: Add 'depth' to port listings
      cxl/test: Validate switch port settings in cxl-region-sysfs.sh


 Documentation/cxl/lib/libcxl.txt |    8 ++++++
 cxl/filter.c                     |   23 +++++++++++++++++
 cxl/json.c                       |   32 +++++++++++++++++++++++
 cxl/lib/libcxl.c                 |   39 +++++++++++++++++++++++++++++
 cxl/lib/libcxl.sym               |    2 +
 cxl/libcxl.h                     |    2 +
 test/cxl-region-sysfs.sh         |   52 +++++++++++++++++++++++++++++++++++++-
 7 files changed, 156 insertions(+), 2 deletions(-)

Comments

Dave Jiang Sept. 20, 2022, 9:19 p.m. UTC | #1
On 8/5/2022 1:37 PM, Dan Williams wrote:
> Expand cxl-region-sysfs.sh to validate that all decoders in the test
> region are setup per expectations. In support of that testing, decoder
> listings gain 'interleave_ways', 'interleave_granularity', and 'region'
> attributes, while port listings gain a 'depth' attribute. Decoders can
> now be filtered by their associated region.
>
> ---
>
> Dan Williams (6):
>        cxl/test: Validate endpoint interleave geometry
>        cxl/list: Add interleave parameters to decoder listings
>        cxl/list: Add region to decoder listings
>        cxl/list: Filter decoders by region
>        cxl/list: Add 'depth' to port listings
>        cxl/test: Validate switch port settings in cxl-region-sysfs.sh
Reviewed-by: Dave Jiang <dave.jiang@intel.com> for the series
>
>
>   Documentation/cxl/lib/libcxl.txt |    8 ++++++
>   cxl/filter.c                     |   23 +++++++++++++++++
>   cxl/json.c                       |   32 +++++++++++++++++++++++
>   cxl/lib/libcxl.c                 |   39 +++++++++++++++++++++++++++++
>   cxl/lib/libcxl.sym               |    2 +
>   cxl/libcxl.h                     |    2 +
>   test/cxl-region-sysfs.sh         |   52 +++++++++++++++++++++++++++++++++++++-
>   7 files changed, 156 insertions(+), 2 deletions(-)