diff options
author | 2022-03-16 16:55:48 -0500 | |
---|---|---|
committer | 2022-03-17 14:54:11 +0100 | |
commit | 3870a44d50feeb5118a2698617d251123d9cde4c (patch) | |
tree | 26e82b44812547d7507ea41a6884c9dc7e7821ab /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cpufreq: intel_pstate: Use firmware default EPP (diff) | |
download | wireguard-linux-3870a44d50feeb5118a2698617d251123d9cde4c.tar.xz wireguard-linux-3870a44d50feeb5118a2698617d251123d9cde4c.zip |
cpufreq: powernow-k8: Re-order the init checks
The powernow-k8 driver will do checks at startup that the current
active driver is acpi-cpufreq and show a warning when they're not
expected.
Because of this the following warning comes up on systems that
support amd-pstate and compiled in both drivers:
`WTF driver: amd-pstate`
The systems that support powernow-k8 will not support amd-pstate,
so re-order the checks to validate the CPU model number first to
avoid this warning being displayed on modern SOCs.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions