[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250814171650.3002930-1-dave.jiang@intel.com>
Date: Thu, 14 Aug 2025 10:16:46 -0700
From: Dave Jiang <dave.jiang@...el.com>
To: linux-cxl@...r.kernel.org,
linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: gregkh@...uxfoundation.org,
rafael@...nel.org,
dakr@...nel.org,
dave@...olabs.net,
jonathan.cameron@...wei.com,
alison.schofield@...el.com,
vishal.l.verma@...el.com,
ira.weiny@...el.com,
dan.j.williams@...el.com,
marc.herbert@...ux.intel.com,
akpm@...ux-foundation.org,
david@...hat.com
Subject: [PATCH 0/4] cxl, acpi/hmat, node: Update CXL access coordinates to node directly
I plan to take this series through the CXL tree when all the necessary tags
are received.
Andrew or David, can you please ack patch 1/4 if you are okay with it.
Greg or Rafael, please ack patch 2/4 if you are satisfied with it. The helper
function's usage is in patch 3/4.
Rafael, please ack patches 3/4 and 4/4 if you are happy with the changes.
Thank you all!
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 | 39 +++++++++++++++++++++++++++++++++++++++
# drivers/cxl/core/cdat.c | 11 -----------
# drivers/cxl/core/core.h | 3 ---
# drivers/cxl/core/region.c | 10 ++--------
# include/linux/acpi.h | 12 ------------
# include/linux/memory.h | 4 ++--
# include/linux/node.h | 8 ++++++++
# 8 files changed, 51 insertions(+), 70 deletions(-)
# </REPLACE>
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 | 39 +++++++++++++++++++++++++++++++++++++++
drivers/cxl/core/cdat.c | 11 -----------
drivers/cxl/core/core.h | 3 ---
drivers/cxl/core/region.c | 10 ++--------
include/linux/acpi.h | 12 ------------
include/linux/memory.h | 4 ++--
include/linux/node.h | 8 ++++++++
8 files changed, 51 insertions(+), 70 deletions(-)
base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
--
2.50.1
Powered by blists - more mailing lists