summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_driver.c
diff options
context:
space:
mode:
authorHanjun Guo <hanjun.guo@linaro.org>2017-07-26 18:40:12 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-07-27 01:51:06 +0200
commit512bb03f4957b0ea6ebcd82f6d34147fc7f83128 (patch)
tree0ada1fba6d3fc3e7f5654012340b788d80d8c92b /drivers/acpi/processor_driver.c
parent520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 (diff)
downloadblackbird-obmc-linux-512bb03f4957b0ea6ebcd82f6d34147fc7f83128.tar.gz
blackbird-obmc-linux-512bb03f4957b0ea6ebcd82f6d34147fc7f83128.zip
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>
Diffstat (limited to 'drivers/acpi/processor_driver.c')
-rw-r--r--drivers/acpi/processor_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c
index 591d1dd3f04e..9d6aff22684e 100644
--- a/drivers/acpi/processor_driver.c
+++ b/drivers/acpi/processor_driver.c
@@ -237,7 +237,7 @@ static int __acpi_processor_start(struct acpi_device *device)
result = acpi_cppc_processor_probe(pr);
if (result && !IS_ENABLED(CONFIG_ACPI_CPU_FREQ_PSS))
- dev_warn(&device->dev, "CPPC data invalid or not present\n");
+ dev_dbg(&device->dev, "CPPC data invalid or not present\n");
if (!cpuidle_get_driver() || cpuidle_get_driver() == &acpi_idle_driver)
acpi_processor_power_init(pr);
OpenPOWER on IntegriCloud