diff options
author | Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com> | 2024-07-02 11:14:14 +0300 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2024-07-07 18:32:48 +0300 |
commit | 738d7d03571c7e38565bd245c0815a2c74665018 (patch) | |
tree | f00130341544ae8944b3b086d9bbba3d19a56510 /rust/helpers/task.c | |
parent | f21ab5ed4e8758b06230900f44b9dcbcfdc0c3ae (diff) | |
download | linux-738d7d03571c7e38565bd245c0815a2c74665018.tar.xz |
cpufreq/amd-pstate: Fix the scaling_max_freq setting on shared memory CPPC systems
On shared memory CPPC systems, with amd_pstate=active mode, the change
in scaling_max_freq doesn't get written to the shared memory
region. Due to this, the writes to the scaling_max_freq sysfs file
don't take effect. Fix this by propagating the scaling_max_freq
changes to the shared memory region.
Fixes: ffa5096a7c33 ("cpufreq: amd-pstate: implement Pstate EPP support for the AMD processors")
Reported-by: David Arcari <darcari@redhat.com>
Signed-off-by: Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20240702081413.5688-3-Dhananjay.Ugwekar@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions