Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI: processor: use dev_dbg() instead of dev_warn() when CPPC probe failed

_CPC is a optinal object for processor device so it's
fine for processor devices in DSDT without CPPC data,
but when booting the system with CPPC enabled in the
kernel but without its support in the firmware, I got
lots of warnings on a 64 core system:

[ 6.346016] acpi ACPI0007:00: CPPC data invalid or not present
[ 6.346028] acpi ACPI0007:01: CPPC data invalid or not present
[ 6.346039] acpi ACPI0007:02: CPPC data invalid or not present
[ 6.346050] acpi ACPI0007:03: CPPC data invalid or not present
[ 6.346063] acpi ACPI0007:04: CPPC data invalid or not present
...
[ 6.346737] acpi ACPI0007:3f: CPPC data invalid or not present

This isn't much useful and a little bit noise, so
switch the dev_warn() to dev_dbg().

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Hanjun Guo and committed by
Rafael J. Wysocki
512bb03f 520eccdf

+1 -1
+1 -1
drivers/acpi/processor_driver.c
··· 237 237 238 238 result = acpi_cppc_processor_probe(pr); 239 239 if (result && !IS_ENABLED(CONFIG_ACPI_CPU_FREQ_PSS)) 240 - dev_warn(&device->dev, "CPPC data invalid or not present\n"); 240 + dev_dbg(&device->dev, "CPPC data invalid or not present\n"); 241 241 242 242 if (!cpuidle_get_driver() || cpuidle_get_driver() == &acpi_idle_driver) 243 243 acpi_processor_power_init(pr);