ndctl: Add support of qos_class for CXL CLI
Dave Jiang
maintainerPATCH v8 4/4 ndctl: Add support of qos_class for CXL CLI
Hi Vishal,
With the QoS class series merged to the v6.8 kernel, can you please review and apply this series to ndctl if acceptable?
v8:
- Move qos_class comparison to libcxl. (Vishal)
- Move check to validate_decoder(). (Vishal)
- Update test to pick decoder that will always work. (Vishal)
- Fix script style. (Vishal)
v7:
- Removed qos restriction flag entirely (Alison)
- Added check for invalid qos_class when doing json output
- Change -q to -Q (Vishal)
- Add qos_class_mismatched to region output for cxl list (Vishal)
- Add -Q test in cxl-qos-class.sh test (Vishal)
- Change verify behavior to only do qos matching with -Q (Vishal/Dan) v6:
- Check return value of create_region_validate_qos_class() (Wonjae) v5:
- split out test from cxl-topology.sh (Vishal)
v4:
- Update against changes in kernel from multi to single qos_class entry
- Add test in cxl-topology.sh (Dan)
- See individual patch log for details
v3:
- Rebase against latest ndctl/pending branch.
The series adds support for the kernel enabling of QoS class in the v6.8 kernel. The kernel exports a qos_class token for the root decoders (CFMWS) and as well as for the CXL memory devices. The qos_class exported for a device is calculated by the driver during device probe. Currently a qos_class is exported for the volatile partition (ram) and another for the persistent partition (pmem). In the future qos_class will be exported for DCD regions. Display of qos_class is through the CXL CLI list command with -vvv for extra verbose.
A qos_class check as also been added for region creation. A warning is emitted when the qos_class of a memory range of a CXL memory device being included in the CXL region assembly does not match the qos_class of the root decoder. Options are available to suppress the warning or to fail the region creation. This enabling provides a guidance on flagging memory ranges being used is not optimal for performance for the CXL region to be formed.
Dave Jiang
maintainerPATCH v8 1/4 ndctl: cxl: Add QoS class retrieval for the root decoder
Add libcxl API to retrieve the QoS class for the root decoder. Also add support to display the QoS class for the root decoder through the 'cxl list' command. The qos_class is the QTG ID of the CFMWS window that represents the root decoder.
--- cxl/json.c | 10 ++++++++++ cxl/lib/libcxl.c | 14 ++++++++++++++ cxl/lib/libcxl.sym | 1 + cxl/lib/private.h | 1 + cxl/libcxl.h | 3 +++ 5 files changed, 29 insertions(+)
cxl/json.c +10 -0
@@ -1062,6 +1062,16 @@ struct json_object *util_cxl_decoder_to_json(struct cxl_decoder *decoder, jobj); } +if (cxl_port_is_root (port)) { +int qos_class =cxl_root_decoder_get_qos_class (decoder); + +if (qos_class !=CXL_QOS_CLASS_NONE ) { + jobj =json_object_new_int (qos_class); +if (jobj) +json_object_object_add (jdecoder,"qos_class" , jobj); + } + } +json_object_set_userdata (jdecoder, decoder,NULL );return jdecoder; }
cxl/lib/libcxl.c +14 -0
@@ -2229,6 +2229,12 @@ static void *add_cxl_decoder(void *parent, int id, const char *cxldecoder_base)else decoder->interleave_ways =strtoul (buf,NULL ,0 ); +sprintf (path,"%s/qos_class" , cxldecoder_base); +if (sysfs_read_attr (ctx, path, buf) <0 ) + decoder->qos_class =CXL_QOS_CLASS_NONE ; +else + decoder->qos_class =atoi (buf); +switch (port->type) {case CXL_PORT_ENDPOINT :sprintf (path,"%s/dpa_resource" , cxldecoder_base);
@@ -2423,6 +2429,14 @@ CXL_EXPORT unsigned long long cxl_decoder_get_size(struct cxl_decoder *decoder)return decoder->size; } +CXL_EXPORT int cxl_root_decoder_get_qos_class(struct cxl_decoder *decoder) +{ +if (!cxl_port_is_root (decoder->port)) +return -EINVAL ; + +return decoder->qos_class; +} +CXL_EXPORT unsigned long long cxl_decoder_get_dpa_resource (struct cxl_decoder *decoder) {
cxl/lib/libcxl.sym +1 -0
@@ -282,4 +282,5 @@ global: LIBCXL_8 { global: cxl_memdev_wait_sanitize; + cxl_root_decoder_get_qos_class; } LIBCXL_7;
cxl/lib/private.h +1 -0
@@ -144,6 +144,7 @@ struct cxl_decoder {struct list_head targets;struct list_head regions;struct list_head stale_regions; +int qos_class; };enum cxl_decode_state {
cxl/libcxl.h +3 -0
@@ -173,6 +173,8 @@ struct cxl_dport *cxl_port_get_dport_by_memdev(struct cxl_port *port,for (dport =cxl_dport_get_first (port); dport !=NULL ; \ dport = cxl_dport_get_next(dport)) +#define CXL_QOS_CLASS_NONE -1 +struct cxl_decoder ;struct cxl_decoder *cxl_decoder_get_first (struct cxl_port *port);struct cxl_decoder *cxl_decoder_get_next (struct cxl_decoder *decoder);
@@ -184,6 +186,7 @@ unsigned long long cxl_decoder_get_dpa_resource(struct cxl_decoder *decoder);unsigned long long cxl_decoder_get_dpa_size (struct cxl_decoder *decoder);unsigned long long cxl_decoder_get_max_available_extent (struct cxl_decoder *decoder); +int cxl_root_decoder_get_qos_class (struct cxl_decoder *decoder);enum cxl_decoder_mode {CXL_DECODER_MODE_NONE ,
Signature · 1 line
2.43.0
Dave Jiang
maintainerPATCH v8 2/4 ndctl: cxl: Add QoS class support for the memory device
In reply to Dave JiangAdd libcxl API to retrieve the QoS class tokens for the memory devices. Two API calls are added. One for 'ram' or 'volatile' mode and another for 'pmem' or 'persistent' mode. Support also added for displaying the QoS class tokens through the 'cxl list' command.
--- cxl/json.c | 15 +++++++++++++++ cxl/lib/libcxl.c | 22 ++++++++++++++++++++++ cxl/lib/libcxl.sym | 2 ++ cxl/lib/private.h | 2 ++ cxl/libcxl.h | 2 ++ 5 files changed, 43 insertions(+)
cxl/json.c +15 -0
@@ -777,6 +777,7 @@ struct json_object *util_cxl_memdev_to_json(struct cxl_memdev *memdev,struct json_object *jdev, *jobj;unsigned long long serial, size;int numa_node; +int qos_class; jdev =json_object_new_object ();if (!jdev)
@@ -791,6 +792,13 @@ struct json_object *util_cxl_memdev_to_json(struct cxl_memdev *memdev, jobj =util_json_object_size (size, flags);if (jobj)json_object_object_add (jdev,"pmem_size" , jobj); + + qos_class =cxl_memdev_get_pmem_qos_class (memdev); +if (qos_class !=CXL_QOS_CLASS_NONE ) { + jobj =json_object_new_int (qos_class); +if (jobj) +json_object_object_add (jdev,"pmem_qos_class" , jobj); + } } size =cxl_memdev_get_ram_size (memdev);
@@ -798,6 +806,13 @@ struct json_object *util_cxl_memdev_to_json(struct cxl_memdev *memdev, jobj =util_json_object_size (size, flags);if (jobj)json_object_object_add (jdev,"ram_size" , jobj); + + qos_class =cxl_memdev_get_ram_qos_class (memdev); +if (qos_class !=CXL_QOS_CLASS_NONE ) { + jobj =json_object_new_int (qos_class); +if (jobj) +json_object_object_add (jdev,"ram_qos_class" , jobj); + } }if (flags &UTIL_JSON_HEALTH ) {
cxl/lib/libcxl.c +22 -0
@@ -1260,6 +1260,18 @@ static void *add_cxl_memdev(void *parent, int id, const char *cxlmem_base) goto err_read; memdev->ram_size =strtoull (buf,NULL ,0 ); +sprintf (path,"%s/pmem/qos_class" , cxlmem_base); +if (sysfs_read_attr (ctx, path, buf) <0 ) + memdev->pmem_qos_class =CXL_QOS_CLASS_NONE ; +else + memdev->pmem_qos_class =atoi (buf); + +sprintf (path,"%s/ram/qos_class" , cxlmem_base); +if (sysfs_read_attr (ctx, path, buf) <0 ) + memdev->ram_qos_class =CXL_QOS_CLASS_NONE ; +else + memdev->ram_qos_class =atoi (buf); +sprintf (path,"%s/payload_max" , cxlmem_base);if (sysfs_read_attr (ctx, path, buf) <0 ) goto err_read;
@@ -1483,6 +1495,16 @@ CXL_EXPORT unsigned long long cxl_memdev_get_ram_size(struct cxl_memdev *memdev)return memdev->ram_size; } +CXL_EXPORT int cxl_memdev_get_pmem_qos_class(struct cxl_memdev *memdev) +{ +return memdev->pmem_qos_class; +} + +CXL_EXPORT int cxl_memdev_get_ram_qos_class(struct cxl_memdev *memdev) +{ +return memdev->ram_qos_class; +} + CXL_EXPORT const char *cxl_memdev_get_firmware_verison(struct cxl_memdev *memdev) {return memdev->firmware_version;
cxl/lib/libcxl.sym +2 -0
@@ -283,4 +283,6 @@ LIBCXL_8 { global: cxl_memdev_wait_sanitize; cxl_root_decoder_get_qos_class; + cxl_memdev_get_pmem_qos_class; + cxl_memdev_get_ram_qos_class; } LIBCXL_7;
cxl/lib/private.h +2 -0
@@ -47,6 +47,8 @@ struct cxl_memdev {struct list_node list;unsigned long long pmem_size;unsigned long long ram_size; +int ram_qos_class; +int pmem_qos_class;int payload_max;size_t lsa_size;struct kmod_module *module;
cxl/libcxl.h +2 -0
@@ -72,6 +72,8 @@ int cxl_memdev_get_minor(struct cxl_memdev *memdev);struct cxl_ctx *cxl_memdev_get_ctx (struct cxl_memdev *memdev);unsigned long long cxl_memdev_get_pmem_size (struct cxl_memdev *memdev);unsigned long long cxl_memdev_get_ram_size (struct cxl_memdev *memdev); +int cxl_memdev_get_pmem_qos_class (struct cxl_memdev *memdev); +int cxl_memdev_get_ram_qos_class (struct cxl_memdev *memdev);const char *cxl_memdev_get_firmware_verison (struct cxl_memdev *memdev);bool cxl_memdev_fw_update_in_progress (struct cxl_memdev *memdev);size_t cxl_memdev_fw_update_get_remaining (struct cxl_memdev *memdev);
Signature · 1 line
2.43.0
Dave Jiang
maintainerPATCH v8 3/4 ndctl: cxl: add QoS class check for CXL region creation
In reply to Dave JiangThe CFMWS provides a QTG ID. The kernel driver creates a root decoder that represents the CFMWS. A qos_class attribute is exported via sysfs for the root decoder.
One or more qos_class tokens are retrieved via QTG ID _DSM from the ACPI0017 device for a CXL memory device. The input for the _DSM is the read and write latency and bandwidth for the path between the device and the CPU. The numbers are constructed by the kernel driver for the _DSM input. When a device is probed, QoS class tokens are retrieved. This is useful for a hot-plugged CXL memory device that does not have regions created.
Add a QoS check during region creation. If --enforce-qos/-Q is set and the qos_class mismatches, the region creation will fail.
---
v8:
- Add qos_class comparison in libcxl instead of user set flag. (Vishal)
- Move check into validate_decoder(). (Vishal)
--- Documentation/cxl/cxl-create-region.txt | 6 +++ cxl/json.c | 6 +++ cxl/lib/libcxl.c | 29 ++++++++++++++ cxl/lib/libcxl.sym | 1 + cxl/libcxl.h | 1 + cxl/region.c | 53 ++++++++++++++++++++++++- 6 files changed, 95 insertions(+), 1 deletion(-)
Documentation/cxl/cxl-create-region.txt +6 -0
@@ -105,6 +105,12 @@ include::bus-option.txt[] supplied, the first cross-host bridge (if available), decoder that supports the largest interleave will be chosen. +-Q:: +--enforce-qos:: + Parameter to enforce qos_class mismatch failure. Region create operation + will fail of the qos_class of the root decoder and one of the memdev that + backs the region mismatches. + include::human-option.txt[] include::debug-option.txt[]
cxl/json.c +6 -0
@@ -1238,6 +1238,12 @@ struct json_object *util_cxl_region_to_json(struct cxl_region *region, } } +if (!cxl_region_qos_class_matches (region)) { + jobj =json_object_new_boolean (true); +if (jobj) +json_object_object_add (jregion,"qos_class_mismatches" , jobj); + } +json_object_set_userdata (jregion, region,NULL );
cxl/lib/libcxl.c +29 -0
@@ -414,6 +414,35 @@ CXL_EXPORT int cxl_region_is_enabled(struct cxl_region *region)return is_enabled (path); } +CXL_EXPORT bool cxl_region_qos_class_matches(struct cxl_region *region) +{ +struct cxl_decoder *root_decoder =cxl_region_get_decoder (region); +struct cxl_memdev_mapping *mapping; + + cxl_mapping_foreach(region, mapping) { +struct cxl_decoder *decoder; +struct cxl_memdev *memdev; + + decoder =cxl_mapping_get_decoder (mapping); +if (!decoder) +continue ; + + memdev =cxl_decoder_get_memdev (decoder); +if (!memdev) +continue ; + +if (region->mode ==CXL_DECODER_MODE_RAM ) { +if (root_decoder->qos_class != memdev->ram_qos_class) +return false; + }else if (region->mode ==CXL_DECODER_MODE_PMEM ) { +if (root_decoder->qos_class != memdev->pmem_qos_class) +return false; + } + } + +return true; +} + CXL_EXPORT int cxl_region_disable(struct cxl_region *region) {const char *devname =cxl_region_get_devname (region);
cxl/lib/libcxl.sym +1 -0
@@ -285,4 +285,5 @@ global: cxl_root_decoder_get_qos_class; cxl_memdev_get_pmem_qos_class; cxl_memdev_get_ram_qos_class; + cxl_region_qos_class_matches; } LIBCXL_7;
cxl/libcxl.h +1 -0
@@ -335,6 +335,7 @@ int cxl_region_clear_target(struct cxl_region *region, int position);int cxl_region_clear_all_targets (struct cxl_region *region);int cxl_region_decode_commit (struct cxl_region *region);int cxl_region_decode_reset (struct cxl_region *region); +bool cxl_region_qos_class_matches (struct cxl_region *region);#define cxl_region_foreach (decoder, region) \ for (region = cxl_region_get_first(decoder); region != NULL; \
cxl/region.c +52 -1
93 lines not on this page · raw message
Signature · 1 line
2.43.0
Verma, Vishal L
maintainerRe: [NDCTL PATCH v8 3/4] ndctl: cxl: add QoS class check for CXL region creation
Quoted 54 lines · Dave Jiang
The CFMWS provides a QTG ID. The kernel driver creates a root decoder that represents the CFMWS. A
qos_classattribute is exported via sysfs for the root decoder.One or more
qos_classtokens are retrieved via QTG ID_DSMfrom the ACPI0017 device for a CXL memory device. The input for the_DSMis the read and write latency and bandwidth for the path between the device and the CPU. The numbers are constructed by the kernel driver for the_DSMinput. When a device is probed, QoS class tokens are retrieved. This is useful for a hot-plugged CXL memory device that does not have regions created.Add a QoS check during region creation. If --enforce-qos/-Q is set and the
qos_classmismatches, the region creation will fail.Reviewed-by Alison Schofield <[email protected]>Signed-off-by Dave Jiang <[email protected]>---
v8:
- Addqos_classcomparison in libcxl instead of user set flag. (Vishal)
- Move check intovalidate_decoder(). (Vishal)
---
Documentation/cxl/cxl-create-region.txt | 6 +++
cxl/json.c | 6 +++ cxl/lib/libcxl.c | 29 ++++++++++++++ cxl/lib/libcxl.sym | 1 +
cxl/libcxl.h | 1 +
cxl/region.c | 53 ++++++++++++++++++++++++-6 files changed, 95 insertions(+), 1 deletion(-)Documentation/cxl/cxl-create-region.txt +0
-0@@ -105,6 +105,12 @@ include::bus-option.txt[]supplied, the first cross-host bridge (if available), decoder that supports the largest interleave will be chosen.
+-Q:: +--enforce-qos::Documentation/cxl/cxl-create-region.txt +4
-0+ Parameter to enforce qos_class mismatch failure. Region create operation + will fail of the qos_class of the root decoder and one of the memdev that + backs the region mismatches. +include::human-option.txt[]
include::debug-option.txt[]cxl/json.c +0
-0@@ -1238,6 +1238,12 @@ struct json_object *util_cxl_region_to_json(struct cxl_region *region, } }
cxl/json.c struct json_object *util_cxl_region_to_json(struct cxl_region *region, · line 1244
Quoted 4 lines
cxl/json.c +4
-0+if (!cxl_region_qos_class_matches (region)) { + jobj =json_object_new_boolean (true); +if (jobj) +json_object_object_add (jregion,"qos_class_mismatches" , jobj);
Fairly minor but I think 'mismatched' (i.e. present continuous) for a json attribute reads weirdly to me. Prefer it to be just 'qos_class_mismatch'
Quoted 12 lines
cxl/json.c +2
-0+ } +
json_object_set_userdata(jregion, region, NULL);cxl/lib/libcxl.c +0
-0@@ -414,6 +414,35 @@ CXL_EXPORT int cxl_region_is_enabled(struct cxl_region *region) return is_enabled(path); }
Quoted 2 lines
+CXL_EXPORT boolcxl_region_qos_class_matches(struct cxl_region *region)
..and since the primary purpose of this API is to see if there is a mismatch, I think it would be nice to invert the logic, and call it cxl_region_qos_class_mismatch()
Quoted 58 lines
cxl/lib/libcxl.c +28
-0+{ +struct cxl_decoder *root_decoder =cxl_region_get_decoder (region); +struct cxl_memdev_mapping *mapping; + + cxl_mapping_foreach(region, mapping) { +struct cxl_decoder *decoder; +struct cxl_memdev *memdev; + + decoder =cxl_mapping_get_decoder (mapping); +if (!decoder) +continue ; + + memdev =cxl_decoder_get_memdev (decoder); +if (!memdev) +continue ; + +if (region->mode ==CXL_DECODER_MODE_RAM ) { +if (root_decoder->qos_class != memdev->ram_qos_class) +return false; + }else if (region->mode ==CXL_DECODER_MODE_PMEM ) { +if (root_decoder->qos_class != memdev->pmem_qos_class) +return false; + } + } + +return true; +} +CXL_EXPORT int
cxl_region_disable(struct cxl_region *region){
const char *devname =cxl_region_get_devname(region);cxl/lib/libcxl.sym +1
-0@@ -285,4 +285,5 @@ global: cxl_root_decoder_get_qos_class; cxl_memdev_get_pmem_qos_class; cxl_memdev_get_ram_qos_class; + cxl_region_qos_class_matches; } LIBCXL_7;cxl/libcxl.h +1
-0@@ -335,6 +335,7 @@ int cxl_region_clear_target(struct cxl_region *region, int position); int cxl_region_clear_all_targets(struct cxl_region *region); int cxl_region_decode_commit(struct cxl_region *region); int cxl_region_decode_reset(struct cxl_region *region); +bool cxl_region_qos_class_matches (struct cxl_region *region);
#definecxl_region_foreach(decoder, region)\
for (region =cxl_region_get_first(decoder); region != NULL; \cxl/region.c +0
-0
cxl/region.c static struct region_params { · line 35
Quoted 4 lines
cxl/region.c +1
-0@@ -32,6 +32,7 @@ static struct region_params { bool force; bool human; bool debug; +bool qos_enforce;
Minor nit: just for parity, since the option is --enforce-qos, it would be nice to call this enforce_qos (and down below as well).
Quoted 54 lines
cxl/region.c +1
-0} param = { .ways = INT_MAX, .granularity = INT_MAX,@@ -49,6 +50,7 @@ struct parsed_params { const char **argv; struct cxl_decoder *root_decoder; enum cxl_decoder_mode mode; +bool qos_enforce; };
enumregion_actions{cxl/region.c +2
-1@@ -81,7 +83,8 @@ OPT_STRING('U', "uuid", ¶m.uuid, \ "region uuid", "uuid for the new region (default: autogenerate)"), \ OPT_BOOLEAN('m', "memdevs", ¶m.memdevs, \ "non-option arguments are memdevs"), \ -OPT_BOOLEAN ('u' ,"human" , ¶m.human,"use human friendly number formats" ) +OPT_BOOLEAN ('u' ,"human" , ¶m.human,"use human friendly number formats" ), \ +OPT_BOOLEAN ('Q' ,"enforce-qos" , ¶m.qos_enforce,"enforce of qos_class matching" )
static const struct option create_options[] = {
BASE_OPTIONS(),cxl/region.c +0
-0@@ -360,6 +363,8 @@ static int parse_create_options(struct cxl_ctx *ctx, int count, } }cxl/region.c +2
-0+ p->qos_enforce = param.qos_enforce; +return 0;
err:cxl/region.c +0
-0@@ -423,10 +428,52 @@ static void collect_minsize(struct cxl_ctx *ctx, struct parsed_params *p) } }cxl/region.c +20
-0+static int create_region_validate_qos_class (struct parsed_params *p) +{ +int root_qos_class; +int qos_class; +int i; + +if (!p->qos_enforce) +return 0 ; + + root_qos_class =cxl_root_decoder_get_qos_class (p->root_decoder); +if (root_qos_class ==CXL_QOS_CLASS_NONE ) +return 0 ; + +for (i =0 ; i < p->ways; i++) { +struct json_object *jobj = +json_object_array_get_idx (p->memdevs, i); +struct cxl_memdev *memdev =json_object_get_userdata (jobj); + +if (p->mode ==CXL_DECODER_MODE_RAM ) + qos_class =cxl_memdev_get_ram_qos_class (memdev);
cxl/region.c static void collect_minsize(struct cxl_ctx *ctx, struct parsed_params *p) · line 460
Quoted 10 lines
cxl/region.c +10
-0+else + qos_class =cxl_memdev_get_pmem_qos_class (memdev); + +/* No qos_class entries. Possibly no kernel support */ +if (qos_class ==CXL_QOS_CLASS_NONE ) +break ; + +if (qos_class != root_qos_class) { +if (p->qos_enforce) { + log_err(&rl, "%s QoS Class mismatches %s\n",
Probably s/mismatches/mismatch/ here too.
Quoted 30 lines
cxl/region.c +11
-0+cxl_decoder_get_devname (p->root_decoder), + cxl_memdev_get_devname(memdev)); + +return -ENXIO ; + } + } + } + +return 0 ; +} +static int
validate_decoder(struct cxl_decoder *decoder, struct parsed_params *p){
const char *devname =cxl_decoder_get_devname(decoder);cxl/region.c +1
-0+int rc;
switch(p->mode){
caseCXL_DECODER_MODE_RAM:cxl/region.c +0
-0@@ -446,6 +493,10 @@ static int validate_decoder(struct cxl_decoder *decoder, return -EINVAL; }cxl/region.c +4
-0+ rc =create_region_validate_qos_class (p); +if (rc) +return rc; +/* TODO check if the interleave config is possible under this decoder */
return 0;
Dave Jiang
maintainerPATCH v8 4/4 ndctl: add test for qos_class in CXL test suite
In reply to Dave JiangAdd tests in cxl-qos-class.sh to verify qos_class are set with the fake qos_class create by the kernel. Root decoders should have qos_class attribute set. Memory devices should have ram_qos_class or pmem_qos_class set depending on which partitions are valid.
---
v8:
- Change way to pick decoder to be consistent. (Vishal)
- Change way to read memdev qos_class. (Vishal)
- Move "done" on same line. (Vishal)
--- test/common | 4 ++ test/cxl-qos-class.sh | 99 +++++++++++++++++++++++++++++++++++++++++++ test/meson.build | 2 + 3 files changed, 105 insertions(+) create mode 100755 test/cxl-qos-class.sh
test/common +4 -0
@@ -150,3 +150,7 @@ check_dmesg() grep -q "Call Trace" <<< $log && err $1 true } + + +# CXL COMMON +TEST_QOS_CLASS=42
test/cxl-qos-class.sh new file +99 -0
99 lines not on this page · raw message
test/meson.build +2 -0
@@ -160,6 +160,7 @@ cxl_events = find_program('cxl-events.sh') cxl_poison = find_program('cxl-poison.sh') cxl_sanitize = find_program('cxl-sanitize.sh') cxl_destroy_region = find_program('cxl-destroy-region.sh') +cxl_qos_class = find_program('cxl-qos-class.sh') tests = [ [ 'libndctl', libndctl, 'ndctl' ],
@@ -192,6 +193,7 @@ tests = [ [ 'cxl-poison.sh', cxl_poison, 'cxl' ], [ 'cxl-sanitize.sh', cxl_sanitize, 'cxl' ], [ 'cxl-destroy-region.sh', cxl_destroy_region, 'cxl' ], + [ 'cxl-qos-class.sh', cxl_qos_class, 'cxl' ], ] if get_option('destructive').enabled()
Signature · 1 line
2.43.0