Skip to contentSkip to conversation

ACPI: RISC-V: Remove unnecessary CPPC debug message

PATCH Applied Sunil V L 4 participants 4 messages Jul 11, 2025 – Jul 16, 2025

Subsystems (3)
lore
Share & tools
lore

Sunil V L

author maintainer
#0 lore raw

PATCH 1/1 ACPI: RISC-V: Remove unnecessary CPPC debug message

The presence or absence of the CPPC SBI extension is currently logged on every boot. This message is not particularly useful and can clutter the boot log. Remove this debug message to reduce noise during boot.

This change has no functional impact.

---
 drivers/acpi/riscv/cppc.c | 2 --
 1 file changed, 2 deletions(-)
drivers/acpi/riscv/cppc.c +0 -2
index 4cdff387deff..440cf9fb91aa 100644
@@ -37,10 +37,8 @@ static int __init sbi_cppc_init(void)
 {
 	if (sbi_spec_version >= sbi_mk_version(2, 0) &&
 	    sbi_probe_extension(SBI_EXT_CPPC) > 0) {
-		pr_info("SBI CPPC extension detected\n");
 		cppc_ext_present = true;
 	} else {
-		pr_info("SBI CPPC extension NOT detected!!\n");
 		cppc_ext_present = false;
 	}
 
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Sunil V L

The presence or absence of the CPPC SBI extension is currently logged on every boot. This message is not particularly useful and can clutter the boot log. Remove this debug message to reduce noise during boot.

This change has no functional impact.

LGTM.

Regards,
Anup

Quoted 23 lines
---
 drivers/acpi/riscv/cppc.c | 2 --
 1 file changed, 2 deletions(-)
drivers/acpi/riscv/cppc.c +0 -3
index 4cdff387deff..440cf9fb91aa 100644
@@ -37,10 +37,8 @@ static int __init sbi_cppc_init(void)
 {
        if (sbi_spec_version >= sbi_mk_version(2, 0) &&
            sbi_probe_extension(SBI_EXT_CPPC) > 0) {
-               pr_info("SBI CPPC extension detected\n");
                cppc_ext_present = true;
        } else {
-               pr_info("SBI CPPC extension NOT detected!!\n");
                cppc_ext_present = false;
        }
 
--

2.43.0

Tested-by on v1 1/1
#2 lore raw
In reply to Sunil V L
Quoted 7 lines · Sunil V L

The presence or absence of the CPPC SBI extension is currently logged on every boot. This message is not particularly useful and can clutter the boot log. Remove this debug message to reduce noise during boot.

This change has no functional impact.

Thanks, I'm pleased to no longer see the "NOT dectected!!" when testing defconfig on systems which don't have the CPPC extension.

#3 lore raw
In reply to Sunil V L
This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt <[email protected]>:

Hello:

This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <[email protected]>:

Quoted 9 lines · On Fri, 11 Jul 2025 19:30:13 +0530 you wrote:

The presence or absence of the CPPC SBI extension is currently logged on every boot. This message is not particularly useful and can clutter the boot log. Remove this debug message to reduce noise during boot.

This change has no functional impact.

[...]

Here is the summary with links:
- ACPI: RISC-V: Remove unnecessary CPPC debug message

    https://git.kernel.org/riscv/c/16d743606dba

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html