[PATCH] ACPI: processor: Silence per-cpu acpi_handle_info about idle states

Subsystems: acpi, the rest · Maintainers: "Rafael J. Wysocki", Linus Torvalds

STALE817d LANDED

Status: Landed in mainline as 5ac5f3f80aea on 2024-08-02.

2 messages, 2 authors, 2024-08-02 · open the first message on its own page

[PATCH] ACPI: processor: Silence per-cpu acpi_handle_info about idle states

From: Li RongQing <hidden>
Date: 2024-07-19 15:10:57

This made the CPU bootup faster, otherwise Linux spends lots
of time to printing nonsense information for each CPU when
there are lots of CPUs

Signed-off-by: Li RongQing <redacted>
---
 drivers/acpi/acpi_processor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/acpi_processor.c b/drivers/acpi/acpi_processor.c
index 9916cc7..a19ace9 100644
--- a/drivers/acpi/acpi_processor.c
+++ b/drivers/acpi/acpi_processor.c
@@ -985,7 +985,7 @@ int acpi_processor_evaluate_cst(acpi_handle handle, u32 cpu,
 		memcpy(&info->states[++last_index], &cx, sizeof(cx));
 	}
 
-	acpi_handle_info(handle, "Found %d idle states\n", last_index);
+	acpi_handle_debug(handle, "Found %d idle states\n", last_index);
 
 	info->count = last_index;
 
-- 
2.9.4

Re: [PATCH] ACPI: processor: Silence per-cpu acpi_handle_info about idle states

From: Rafael J. Wysocki <rafael@kernel.org>
Date: 2024-08-02 15:00:55

On Fri, Jul 19, 2024 at 4:53 PM Li RongQing [off-list ref] wrote:
quoted hunk
This made the CPU bootup faster, otherwise Linux spends lots
of time to printing nonsense information for each CPU when
there are lots of CPUs

Signed-off-by: Li RongQing <redacted>
---
 drivers/acpi/acpi_processor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/acpi_processor.c b/drivers/acpi/acpi_processor.c
index 9916cc7..a19ace9 100644
--- a/drivers/acpi/acpi_processor.c
+++ b/drivers/acpi/acpi_processor.c
@@ -985,7 +985,7 @@ int acpi_processor_evaluate_cst(acpi_handle handle, u32 cpu,
                memcpy(&info->states[++last_index], &cx, sizeof(cx));
        }

-       acpi_handle_info(handle, "Found %d idle states\n", last_index);
+       acpi_handle_debug(handle, "Found %d idle states\n", last_index);

        info->count = last_index;

--
Applied (with edited subject) as 6.12 material, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help