diff options
author | Yazen Ghannam <[email protected]> | 2021-01-11 11:04:29 +0100 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2021-01-12 12:21:01 +0100 |
commit | 76e2fc63ca40977af893b724b00cc2f8e9ce47a4 (patch) | |
tree | e78f4bd49aa93dd8fb6652b78e1148228b7736d1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7024f60d655272bd2ca1d3a4c9e0a63319b1eea1 (diff) |
x86/cpu/amd: Set __max_die_per_package on AMD
Set the maximum DIE per package variable on AMD using the
NodesPerProcessor topology value. This will be used by RAPL, among
others, to determine the maximum number of DIEs on the system in order
to do per-DIE manipulations.
[ bp: Productize into a proper patch. ]
Fixes: 028c221ed190 ("x86/CPU/AMD: Save AMD NodeId as cpu_die_id")
Reported-by: Johnathan Smithinovic <[email protected]>
Reported-by: Rafael Kitover <[email protected]>
Signed-off-by: Yazen Ghannam <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Tested-by: Johnathan Smithinovic <[email protected]>
Tested-by: Rafael Kitover <[email protected]>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=210939
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions