diff options
author | 2024-12-09 11:54:32 -0600 | |
---|---|---|
committer | 2025-03-06 13:01:25 -0600 | |
commit | 9f5daa2f2f6dddd2a847d077bfddc7dc0d9dab10 (patch) | |
tree | 70091e6571f713f353f9aa08326c74f6f9e3d4f4 /scripts/lib/kdoc/kdoc_re.py | |
parent | cpufreq/amd-pstate: Replace all AMD_CPPC_* macros with masks (diff) | |
download | wireguard-linux-9f5daa2f2f6dddd2a847d077bfddc7dc0d9dab10.tar.xz wireguard-linux-9f5daa2f2f6dddd2a847d077bfddc7dc0d9dab10.zip |
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 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions