Linux CXL
 help / color / mirror / Atom feed
* ndctl: Add support of qos_class for CXL CLI
@ 2024-02-01 23:05 Dave Jiang
  2024-02-01 23:05 ` [NDCTL PATCH v5 1/4] ndctl: cxl: Add QoS class retrieval for the root decoder Dave Jiang
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Dave Jiang @ 2024-02-01 23:05 UTC (permalink / raw)
  To: linux-cxl, nvdimm; +Cc: vishal.l.verma

v5:
- split out test to its own bash script. (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.

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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-02-06 21:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-01 23:05 ndctl: Add support of qos_class for CXL CLI Dave Jiang
2024-02-01 23:05 ` [NDCTL PATCH v5 1/4] ndctl: cxl: Add QoS class retrieval for the root decoder Dave Jiang
2024-02-01 23:05 ` [NDCTL PATCH v5 2/4] ndctl: cxl: Add QoS class support for the memory device Dave Jiang
2024-02-01 23:05 ` [NDCTL PATCH v5 3/4] ndctl: cxl: add QoS class check for CXL region creation Dave Jiang
2024-02-06  6:00   ` Wonjae Lee
2024-02-06 21:05     ` Dave Jiang
2024-02-01 23:05 ` [NDCTL PATCH v5 4/4] ndctl: add test for qos_class in CXL test suite Dave Jiang
2024-02-02 16:17   ` Alison Schofield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox