public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] acpi: numa: Add target support for generic port to HMAT parsing
@ 2023-05-19 16:24 Dave Jiang
  2023-05-19 16:24 ` [PATCH v2 1/4] acpi: numa: Create enum for memory_target access coordinates indexing Dave Jiang
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Dave Jiang @ 2023-05-19 16:24 UTC (permalink / raw)
  To: linux-acpi, linux-cxl
  Cc: Jonathan Cameron, rafael, lenb, dan.j.williams, ira.weiny,
	vishal.l.verma, alison.schofield, lukas, Jonathan.Cameron

v2:
- Add check for memory type for setting GENPORT access data. (Jonathan)
- NODE_ACCESS_CLASS_GENPORT to NODE_ACCESS_CLASS_GENPORT_SINK
- Change strncmp() to memcmp() for device handle compare

Hi Rafael,
Please consider this series for the v6.5 merge window.
This is the second set of ACPI changes that's part of the "cxl: Add support for
QTG ID retrieval for CXL subsystem" [1]. It has dependency on the patch [2]
that was sent to you and GregKH. But it's independent of the first set of
ACPI changes [3]. The series adds support to store the device handle from the
SRAT Generic Port Affinity Structure in correlation with a proximity domain. And
later on the HMAT is parsed and the performance data is stored associated with
the proximity domain. A helper function is added to allow the CXL driver to
retrieve the performance data that matches with the device handle later on. The
full series of CXL code is at this git repo [4] for usage reference. Please
review and consider for v6.5 inclusion if acceptable. Thank you!


[1]: https://lore.kernel.org/linux-cxl/168193556660.1178687.15477509915255912089.stgit@djiang5-mobl3/T/#t 
[2]: https://lore.kernel.org/lkml/168332248685.2190392.1983307884583782116.stgit@djiang5-mobl3/
[3]: https://lore.kernel.org/linux-acpi/168330787964.2042604.17648905811002211147.stgit@djiang5-mobl3/T/#t
[4]: https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git/log/?h=cxl-qtg

---

Dave Jiang (4):
      acpi: numa: Create enum for memory_target access coordinates indexing
      acpi: numa: Add genport target allocation to the HMAT parsing
      acpi: numa: Add setting of generic port system locality attributes
      acpi: numa: Add helper function to retrieve the performance attributes


 drivers/acpi/numa/hmat.c | 133 ++++++++++++++++++++++++++++++++++-----
 include/acpi/actbl3.h    |   4 +-
 include/linux/acpi.h     |  12 ++++
 3 files changed, 134 insertions(+), 15 deletions(-)

--


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

end of thread, other threads:[~2023-06-01 16:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-19 16:24 [PATCH v2 0/4] acpi: numa: Add target support for generic port to HMAT parsing Dave Jiang
2023-05-19 16:24 ` [PATCH v2 1/4] acpi: numa: Create enum for memory_target access coordinates indexing Dave Jiang
2023-05-19 16:24 ` [PATCH v2 2/4] acpi: numa: Add genport target allocation to the HMAT parsing Dave Jiang
2023-05-19 16:24 ` [PATCH v2 3/4] acpi: numa: Add setting of generic port system locality attributes Dave Jiang
2023-06-01 14:38   ` Jonathan Cameron
2023-06-01 16:04     ` Dave Jiang
2023-06-01 16:48       ` Jonathan Cameron
2023-05-19 16:24 ` [PATCH v2 4/4] acpi: numa: Add helper function to retrieve the performance attributes Dave Jiang

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