linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] cxl, acpi/hmat, node: Update CXL access coordinates to node directly
@ 2025-08-29 22:29 Dave Jiang
  2025-08-29 22:29 ` [PATCH v3 1/4] mm/memory_hotplug: Update comment for hotplug memory callback priorities Dave Jiang
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Dave Jiang @ 2025-08-29 22:29 UTC (permalink / raw)
  To: linux-cxl, linux-acpi, linux-kernel
  Cc: gregkh, rafael, dakr, dave, jonathan.cameron, alison.schofield,
	vishal.l.verma, ira.weiny, dan.j.williams, marc.herbert, akpm,
	david

I plan to take this series through the CXL tree when all the necessary tags
are received.

Rafael, please ack patches 3/4 and 4/4 if you are happy with the changes.

Thank you!

v3:
- Fix grammar in comment. (DavidH)
- Use nodemask instead of xarray. (Jonathan)

v2:
- Use clearer comment from DavidH for 1/4. (DavidH)
- Fix comment in 2/4. (DavidH)
- Streamline code in 2/4. (DavidH)
- Add description to observed issue. (Dan)
- Add correct Fixes tag. (Dan)
- Add cc to stable for fix patch. (Dan)
- Add mechansim to only update on first region for the node. (Jonathan)

The series aim to clean up the current CXL memory region hotplug notifier by
removing the update path through HMAT and updating the node access coordinates
directly. With the existing implementation, the CXL memory hotplug notifier
gets called first. It updates the HMAT target access coordinates. And then
the HMAT notifier gets called and create the node sysfs attribs. The new
implemenation flips the callback ordering and directly updates the sysfs
attribs already created in the node and leaves HMAT data structures alone.

Dave Jiang (4):
  mm/memory_hotplug: Update comment for hotplug memory callback
    priorities
  drivers/base/node: Add a helper function node_update_perf_attrs()
  cxl, acpi/hmat: Update CXL access coordinates directly instead of
    through HMAT
  acpi/hmat: Remove now unused hmat_update_target_coordinates()

 drivers/acpi/numa/hmat.c  | 34 ----------------------------------
 drivers/base/node.c       | 38 ++++++++++++++++++++++++++++++++++++++
 drivers/cxl/core/cdat.c   | 11 -----------
 drivers/cxl/core/core.h   |  3 ---
 drivers/cxl/core/region.c | 20 ++++++++++++--------
 include/linux/acpi.h      | 12 ------------
 include/linux/memory.h    |  6 +++---
 include/linux/node.h      |  8 ++++++++
 8 files changed, 61 insertions(+), 71 deletions(-)


base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
-- 
2.50.1


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

end of thread, other threads:[~2025-09-02 23:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-29 22:29 [PATCH v3 0/4] cxl, acpi/hmat, node: Update CXL access coordinates to node directly Dave Jiang
2025-08-29 22:29 ` [PATCH v3 1/4] mm/memory_hotplug: Update comment for hotplug memory callback priorities Dave Jiang
2025-08-29 22:29 ` [PATCH v3 2/4] drivers/base/node: Add a helper function node_update_perf_attrs() Dave Jiang
2025-08-29 22:29 ` [PATCH v3 3/4] cxl, acpi/hmat: Update CXL access coordinates directly instead of through HMAT Dave Jiang
2025-09-02 15:24   ` Jonathan Cameron
2025-08-29 22:29 ` [PATCH v3 4/4] acpi/hmat: Remove now unused hmat_update_target_coordinates() Dave Jiang
2025-09-02 23:16 ` [PATCH v3 0/4] cxl, acpi/hmat, node: Update CXL access coordinates to node directly Dave Jiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).