]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drivers/base/node: Add a helper function node_update_perf_attrs()
authorDave Jiang <dave.jiang@intel.com>
Fri, 29 Aug 2025 22:29:05 +0000 (15:29 -0700)
committerDave Jiang <dave.jiang@intel.com>
Tue, 2 Sep 2025 21:46:47 +0000 (14:46 -0700)
commitb57fc652ca24ada3b0c888327f9944ed21559286
tree5d4aa5b74b1b52c30bd83907488b91bab500d8cf
parent65128868bb3b0621d2d8e71f19852675a064b373
drivers/base/node: Add a helper function node_update_perf_attrs()

Add helper function node_update_perf_attrs() to allow update of node access
coordinates computed by an external agent such as CXL. The helper allows
updating of coordinates after the attribute being created by HMAT.

Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://patch.msgid.link/20250829222907.1290912-3-dave.jiang@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/base/node.c
include/linux/node.h