diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2025-02-18 02:17:41 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-03-19 13:18:48 +0300 |
commit | 4476e7f81467b2c1b0aea7383e657181a3f9e652 (patch) | |
tree | c5c550e673b095481dd41d282e8601004cf42347 /tools/perf/scripts/python/task-analyzer.py | |
parent | 9c19cc1f5f571b03cc56338ed12836531a4989a4 (diff) | |
download | linux-4476e7f81467b2c1b0aea7383e657181a3f9e652.tar.xz |
x86/amd_node: Add a smn_read_register() helper
Some of the ACP drivers will poll registers through SMN using
read_poll_timeout() which requires returning the result of the register read
as the argument.
Add a helper to do just that.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20250217231747.1656228-2-superm1@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions