summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpi_processor.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-07-19 18:02:44 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-07-20 21:05:00 +0200
commit003e0694fcd3d51ee2d55dafb2def501f9965cbd (patch)
tree1750177239a8017257a2617054f28fbe09078007 /drivers/acpi/acpi_processor.c
parentACPI: processor: Remove acpi_hwp_native_thermal_lvt_osc() (diff)
downloadlinux-003e0694fcd3d51ee2d55dafb2def501f9965cbd.tar.xz
linux-003e0694fcd3d51ee2d55dafb2def501f9965cbd.zip
ACPI: processor: Refine messages in acpi_early_processor_control_setup()
The source and meaning of the messages printed by acpi_early_processor_control_setup() is unclear, so add a pr_fmt() definition to acpi_processor.c and expand the messages to make it clear that they are about CPUs. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Michal Wilczynski <michal.wilczynski@intel.com>
Diffstat (limited to 'drivers/acpi/acpi_processor.c')
-rw-r--r--drivers/acpi/acpi_processor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/acpi/acpi_processor.c b/drivers/acpi/acpi_processor.c
index 9e35b8d8d334..c711db8a9c33 100644
--- a/drivers/acpi/acpi_processor.c
+++ b/drivers/acpi/acpi_processor.c
@@ -9,6 +9,7 @@
* Copyright (C) 2013, Intel Corporation
* Rafael J. Wysocki <rafael.j.wysocki@intel.com>
*/
+#define pr_fmt(fmt) "ACPI: " fmt
#include <linux/acpi.h>
#include <linux/device.h>
@@ -611,9 +612,9 @@ static bool __init acpi_early_processor_osc(void)
void __init acpi_early_processor_control_setup(void)
{
if (acpi_early_processor_osc()) {
- pr_info("_OSC evaluated successfully\n");
+ pr_info("_OSC evaluated successfully for all CPUs\n");
} else {
- pr_info("_OSC evaluation failed, trying _PDC\n");
+ pr_info("_OSC evaluation for CPUs failed, trying _PDC\n");
acpi_early_processor_set_pdc();
}
}