diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2024-12-09 20:54:32 +0300 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2025-03-06 22:01:25 +0300 |
commit | 9f5daa2f2f6dddd2a847d077bfddc7dc0d9dab10 (patch) | |
tree | 70091e6571f713f353f9aa08326c74f6f9e3d4f4 /tools/perf/scripts/python/syscall-counts.py | |
parent | b4cc466b973590114b4bf49025d362ad9618a23e (diff) | |
download | linux-9f5daa2f2f6dddd2a847d077bfddc7dc0d9dab10.tar.xz |
cpufreq/amd-pstate: Cache CPPC request in shared mem case too
In order to prevent a potential write for shmem_update_perf()
cache the request into the cppc_req_cached variable normally only
used for the MSR case.
This adds symmetry into the code and potentially avoids extra writes.
Reviewed-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions