diff options
| author | Thomas Gleixner <[email protected]> | 2024-02-13 22:04:10 +0100 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2024-02-15 22:07:37 +0100 |
| commit | 7e3ec6286753b404666af9a58d283690302c9321 (patch) | |
| tree | 71e08009165cf85b5bc036fe2b3472f0aeab0db2 /tools/perf/scripts/python/flamegraph.py | |
| parent | 22d63660c35eb751c63a709bf901a64c1726592a (diff) | |
x86/cpu/amd: Provide a separate accessor for Node ID
AMD (ab)uses topology_die_id() to store the Node ID information and
topology_max_dies_per_pkg to store the number of nodes per package.
This collides with the proper processor die level enumeration which is
coming on AMD with CPUID 8000_0026, unless there is a correlation between
the two. There is zero documentation about that.
So provide new storage and new accessors which for now still access die_id
and topology_max_die_per_pkg(). Will be mopped up after AMD and HYGON are
converted over.
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Juergen Gross <[email protected]>
Tested-by: Sohil Mehta <[email protected]>
Tested-by: Michael Kelley <[email protected]>
Tested-by: Zhang Rui <[email protected]>
Tested-by: Wang Wendy <[email protected]>
Tested-by: K Prateek Nayak <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions