summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorYazen Ghannam <yazen.ghannam@amd.com>2024-12-06 19:12:06 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2025-01-08 13:02:28 +0300
commit79821b907f8d7fbc991554fc940075dc1b29a0f4 (patch)
tree902a79f5043e9a43672894d94f1c0d14a5a12b6c /tools/perf/scripts/python/task-analyzer.py
parent77466b798d59d6761501ff36094cf430d3876549 (diff)
downloadlinux-79821b907f8d7fbc991554fc940075dc1b29a0f4.tar.xz
x86/amd_node: Use defines for SMN register offsets
There are more than one SMN index/data pair available for software use. The register offsets are different, but the protocol is the same. Use defines for the SMN offset values and allow the index/data offsets to be passed to the read/write helper function. This eases code reuse with other SMN users in the kernel. Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20241206161210.163701-14-yazen.ghannam@amd.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions