diff mbox series

[v2] ACPI: Downgrade Intel _OSC and _PDC messages to debug

Message ID 20240618214225.50953-1-mario.limonciello@amd.com (mailing list archive)
State In Next
Delegated to: Rafael Wysocki
Headers show
Series [v2] ACPI: Downgrade Intel _OSC and _PDC messages to debug | expand

Commit Message

Mario Limonciello June 18, 2024, 9:42 p.m. UTC
commit 95272641338a ("ACPI: processor: Use _OSC to convey OSPM processor
support information") introduced messages related to determining processor
support from the firmware.

The UUID 4077A616-290C-47BE-9EBD-D87058713953 and _PDC methods are
only used on Intel platforms, but all X86 platforms emit the messages.

Attempting to evaluate them and showing messages on which are used is
unnecessary for most users.  Downgrade the messages to debug instead.

Cc: PradeepVineshReddy (Pradeep Vinesh Reddy) Kodamati <PradeepVineshReddy.Kodamati@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
---
 drivers/acpi/acpi_processor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Rafael J. Wysocki June 19, 2024, 2:57 p.m. UTC | #1
On Tue, Jun 18, 2024 at 11:42 PM Mario Limonciello
<mario.limonciello@amd.com> wrote:
>
> commit 95272641338a ("ACPI: processor: Use _OSC to convey OSPM processor
> support information") introduced messages related to determining processor
> support from the firmware.
>
> The UUID 4077A616-290C-47BE-9EBD-D87058713953 and _PDC methods are
> only used on Intel platforms, but all X86 platforms emit the messages.
>
> Attempting to evaluate them and showing messages on which are used is
> unnecessary for most users.  Downgrade the messages to debug instead.
>
> Cc: PradeepVineshReddy (Pradeep Vinesh Reddy) Kodamati <PradeepVineshReddy.Kodamati@amd.com>
> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
> ---
>  drivers/acpi/acpi_processor.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/acpi/acpi_processor.c b/drivers/acpi/acpi_processor.c
> index 7a0dd35d62c9..e82ec4f126bc 100644
> --- a/drivers/acpi/acpi_processor.c
> +++ b/drivers/acpi/acpi_processor.c
> @@ -598,9 +598,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 for all CPUs\n");
> +               pr_debug("_OSC evaluated successfully for all CPUs\n");
>         } else {
> -               pr_info("_OSC evaluation for CPUs failed, trying _PDC\n");
> +               pr_debug("_OSC evaluation for CPUs failed, trying _PDC\n");
>                 acpi_early_processor_set_pdc();
>         }
>  }
> --

Applied as 6.11 material, thanks!
diff mbox series

Patch

diff --git a/drivers/acpi/acpi_processor.c b/drivers/acpi/acpi_processor.c
index 7a0dd35d62c9..e82ec4f126bc 100644
--- a/drivers/acpi/acpi_processor.c
+++ b/drivers/acpi/acpi_processor.c
@@ -598,9 +598,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 for all CPUs\n");
+		pr_debug("_OSC evaluated successfully for all CPUs\n");
 	} else {
-		pr_info("_OSC evaluation for CPUs failed, trying _PDC\n");
+		pr_debug("_OSC evaluation for CPUs failed, trying _PDC\n");
 		acpi_early_processor_set_pdc();
 	}
 }