Skip to contentSkip to conversation

mailbox: pcc: Drop uninformative output during boot

PATCH RESEND Applied Punit Agrawal 2 participants 2 messages Aug 1, 2017 – Aug 10, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 mailbox: pcc: Drop uninformative output during boot

When booting on an ACPI enabled system that does not provide the Platform Communications Channel Table (PCCT), the pcc mailbox driver prints -

[    0.484261] PCCT header not found.

during probe before returning -ENODEV.

This message clutters the bootlog and doesn't provide any useful information. Drop this message.

---

Hi Rafael,

Re-sending the patch with linux-acpi on cc and tags applied as requested. If there are no objections please consider merging.

Thanks,
Punit

 drivers/mailbox/pcc.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/mailbox/pcc.c +1 -3
index ac91fd0d62c6..3d83cdc11ab5 100644
@@ -457,10 +457,8 @@ static int __init acpi_pcc_probe(void)
 	/* Search for PCCT */
 	status = acpi_get_table(ACPI_SIG_PCCT, 0, &pcct_tbl);
 
-	if (ACPI_FAILURE(status) || !pcct_tbl) {
-		pr_warn("PCCT header not found.\n");
+	if (ACPI_FAILURE(status) || !pcct_tbl)
 		return -ENODEV;
-	}
 
 	count = acpi_table_parse_entries(ACPI_SIG_PCCT,
 			sizeof(struct acpi_table_pcct),
Signature · 1 line
2.11.0
#1 lore raw
Quoted 34 lines · CEST Punit Agrawal

When booting on an ACPI enabled system that does not provide the Platform Communications Channel Table (PCCT), the pcc mailbox driver prints -

[    0.484261] PCCT header not found.

during probe before returning -ENODEV.

This message clutters the bootlog and doesn't provide any useful information. Drop this message.

---

Hi Rafael,

Re-sending the patch with linux-acpi on cc and tags applied as requested. If there are no objections please consider merging.

Thanks,
Punit

 drivers/mailbox/pcc.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/mailbox/pcc.c +0 -0
index ac91fd0d62c6..3d83cdc11ab5 100644
@@ -457,10 +457,8 @@ static int __init acpi_pcc_probe(void)
 	/* Search for PCCT */

drivers/mailbox/pcc.c static int __init acpi_pcc_probe(void) · line 464

Quoted 10 lines
drivers/mailbox/pcc.c +1 -3
 	status = acpi_get_table(ACPI_SIG_PCCT, 0, &pcct_tbl);
 
-	if (ACPI_FAILURE(status) || !pcct_tbl) {
-		pr_warn("PCCT header not found.\n");
+	if (ACPI_FAILURE(status) || !pcct_tbl)
 		return -ENODEV;
-	}
 
 	count = acpi_table_parse_entries(ACPI_SIG_PCCT,
 			sizeof(struct acpi_table_pcct),

Applied, thanks!