]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Revert "ACPI: CPPC: Adjust debug messages in amd_set_max_freq_ratio() to warn"
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 4 May 2026 23:01:37 +0000 (18:01 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 8 May 2026 19:14:19 +0000 (21:14 +0200)
Some older systems don't support CPPC in the firmware and this just makes
noise for them when booting.  Drop back to debug.

This reverts commit 21fb59ab4b9767085f4fe1edbdbe3177fbb9ec97.

Fixes: 21fb59ab4b976 ("ACPI: CPPC: Adjust debug messages in amd_set_max_freq_ratio() to warn")
Suggested-by: Kim Phillips <kim.phillips@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Tested-by: Kim Phillips <kim.phillips@amd.com>
Cc: All applicable <stable@vger.kernel.org>
Link: https://patch.msgid.link/20260504230141.484743-2-mario.limonciello@amd.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/kernel/acpi/cppc.c

index d7c8ef1e354d30e7647f6993ae2c8d81ae9194f6..be4c5e9e5ff6f9c696ab2212a1fd08c3531666cb 100644 (file)
@@ -88,19 +88,19 @@ static void amd_set_max_freq_ratio(void)
 
        rc = cppc_get_perf_caps(0, &perf_caps);
        if (rc) {
-               pr_warn("Could not retrieve perf counters (%d)\n", rc);
+               pr_debug("Could not retrieve perf counters (%d)\n", rc);
                return;
        }
 
        rc = amd_get_boost_ratio_numerator(0, &numerator);
        if (rc) {
-               pr_warn("Could not retrieve highest performance (%d)\n", rc);
+               pr_debug("Could not retrieve highest performance (%d)\n", rc);
                return;
        }
        nominal_perf = perf_caps.nominal_perf;
 
        if (!nominal_perf) {
-               pr_warn("Could not retrieve nominal performance\n");
+               pr_debug("Could not retrieve nominal performance\n");
                return;
        }