diff options
author | Dan Williams <dan.j.williams@intel.com> | 2024-03-13 10:07:36 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2024-03-13 10:07:36 +0300 |
commit | d5c0078033e2adf30e897d985fd29084ecb56b51 (patch) | |
tree | 4db9109b51457c17972fa262f1ac1bfc80aad9da /drivers/base/node.c | |
parent | c6c3187d66bc4e87086036266def4170742d7214 (diff) | |
parent | debdce20c4f28b7e5aa48512e7abf270a00e9051 (diff) | |
download | linux-d5c0078033e2adf30e897d985fd29084ecb56b51.tar.xz |
Merge branch 'for-6.9/cxl-qos' into for-6.9/cxl
Pick up support for CXL "HMEM reporting" for v6.9, i.e. build an HMAT
from CXL CDAT and PCIe switch information.
Diffstat (limited to 'drivers/base/node.c')
-rw-r--r-- | drivers/base/node.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/base/node.c b/drivers/base/node.c index 1c05640461dd..eb72580288e6 100644 --- a/drivers/base/node.c +++ b/drivers/base/node.c @@ -126,7 +126,7 @@ static void node_access_release(struct device *dev) } static struct node_access_nodes *node_init_node_access(struct node *node, - unsigned int access) + enum access_coordinate_class access) { struct node_access_nodes *access_node; struct device *dev; @@ -191,7 +191,7 @@ static struct attribute *access_attrs[] = { * @access: The access class the for the given attributes */ void node_set_perf_attrs(unsigned int nid, struct access_coordinate *coord, - unsigned int access) + enum access_coordinate_class access) { struct node_access_nodes *c; struct node *node; @@ -215,6 +215,7 @@ void node_set_perf_attrs(unsigned int nid, struct access_coordinate *coord, } } } +EXPORT_SYMBOL_GPL(node_set_perf_attrs); /** * struct node_cache_info - Internal tracking for memory node caches @@ -689,7 +690,7 @@ int register_cpu_under_node(unsigned int cpu, unsigned int nid) */ int register_memory_node_under_compute_node(unsigned int mem_nid, unsigned int cpu_nid, - unsigned int access) + enum access_coordinate_class access) { struct node *init_node, *targ_node; struct node_access_nodes *initiator, *target; |