Linux CXL
 help / color / mirror / Atom feed
* [NDCTL PATCH 0/3] ndctl: Add support of QoS Throttling Group (QTG) id for CXL CLI
@ 2023-04-14 17:42 Dave Jiang
  2023-04-14 17:43 ` [NDCTL PATCH 1/3] ndctl: Add QTG ID support for the root decoder Dave Jiang
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Dave Jiang @ 2023-04-14 17:42 UTC (permalink / raw)
  To: vishal.l.verma; +Cc: linux-cxl

The series adds support for the kernel enabling [1] of QoS Throttling Group
(QTG) id. The kernel exports a QTG id for the root decoders (CFMWS) and as
well as for the CXL memory devices. The QTG id exported for a device is
calculated by the driver during device probe. Currently a QTG id is exported
for the volatile partition and another for the persistent partition. In the
future QTG id(s) will be exported for DCD regions. Display of QTG id is
through the CXL CLI list command.

A QTG id check as also been added for region creation. A warning is emitted
when the QTG id of a memory range of a CXL memory device being included in
the CXL region assembly does not match the QTG id 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.

[1]: https://lore.kernel.org/linux-cxl/168088732996.1441063.10107817505475386072.stgit@djiang5-mobl3/T/#t

---

Dave Jiang (3):
      ndctl: Add QTG ID support for the root decoder
      ndctl: Add QTG ID support for the memory device
      ndctl: add QTG ID check for region creation


 Documentation/cxl/cxl-create-region.txt |  9 ++++
 cxl/json.c                              | 22 +++++++++-
 cxl/lib/libcxl.c                        | 31 ++++++++++++++
 cxl/lib/libcxl.sym                      |  3 ++
 cxl/lib/private.h                       |  3 ++
 cxl/libcxl.h                            |  5 +++
 cxl/region.c                            | 57 ++++++++++++++++++++++++-
 7 files changed, 128 insertions(+), 2 deletions(-)

--


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

end of thread, other threads:[~2023-04-20 16:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-14 17:42 [NDCTL PATCH 0/3] ndctl: Add support of QoS Throttling Group (QTG) id for CXL CLI Dave Jiang
2023-04-14 17:43 ` [NDCTL PATCH 1/3] ndctl: Add QTG ID support for the root decoder Dave Jiang
2023-04-20 16:05   ` Alison Schofield
2023-04-14 17:43 ` [NDCTL PATCH 2/3] ndctl: Add QTG ID support for the memory device Dave Jiang
2023-04-14 17:43 ` [NDCTL PATCH 3/3] ndctl: add QTG ID check for region creation Dave Jiang
2023-04-14 21:49 ` [NDCTL PATCH 0/3] ndctl: Add support of QoS Throttling Group (QTG) id for CXL CLI Alison Schofield
2023-04-14 23:27   ` Dave Jiang
2023-04-20 16:15     ` Alison Schofield

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