diff options
author | Barry Song <[email protected]> | 2020-06-19 15:00:45 +1200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-07-10 14:14:37 +0200 |
commit | 4a60406d3592373b8fd27ddfd010c5e62ad6c674 (patch) | |
tree | c222443b64feee47c2db0bb8cedc8b96d3fa1c77 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 079ad2fb4bf9eba8a0aaab014b49705cd7f07c66 (diff) |
driver core: platform: expose numa_node to users in sysfs
Some platform devices like ARM SMMU are memory-mapped and populated by ACPI/IORT.
In this case, NUMA topology of those platform devices are exported by firmware as
well. Software might care about the numa_node of those devices in order to achieve
NUMA locality.
This patch will show the numa_node for this kind of devices in sysfs. For those
platform devices without numa, numa_node won't be visible.
Cc: Prime Zeng <[email protected]>
Cc: Robin Murphy <[email protected]>
Signed-off-by: Barry Song <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions