summaryrefslogtreecommitdiff
path: root/include/linux/node.h
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2024-03-09 00:59:20 +0300
committerDan Williams <dan.j.williams@intel.com>2024-03-12 22:34:11 +0300
commit54b9460b0a28c4c76a7b455ec1b3b61a13e97291 (patch)
tree3b3b5aa6eca84ac895e64d5c3cdf9dde3860c71d /include/linux/node.h
parentd206a76d7d2726f3b096037f2079ce0bd3ba329b (diff)
downloadlinux-54b9460b0a28c4c76a7b455ec1b3b61a13e97291.tar.xz
ACPI: HMAT: Remove register of memory node for generic target
For generic targets, there's no reason to call register_memory_node_under_compute_node() with the access levels that are only visible to HMAT handling code. Only update the attributes and rename hmat_register_generic_target_initiators() to hmat_update_generic_target(). The original call path ends up triggering register_memory_node_under_compute_node(). Although the access level would be "3" and not impact any current node arrays, it introduces unwanted data into the numa node access_coordinate array. Fixes: a3a3e341f169 ("acpi: numa: Add setting of generic port system locality attributes") Cc: Rafael J. Wysocki <rafael@kernel.org> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Tested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/20240308220055.2172956-2-dave.jiang@intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/node.h')
0 files changed, 0 insertions, 0 deletions