All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND] mailbox: pcc: Drop uninformative output during boot
@ 2017-08-01 12:43 Punit Agrawal
  2017-08-10 23:08 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Punit Agrawal @ 2017-08-01 12:43 UTC (permalink / raw)
  To: rafael.j.wysocki
  Cc: Punit Agrawal, linux-acpi, Alexey Klimov, linux-kernel,
	lorenzo.pieralisi, sudeep.holla, Jassi Brar

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.

Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Cc: Jassi Brar <jassisinghbrar@gmail.com>
Acked-by: Alexey Klimov <alexey.klimov@arm.com>
---

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(-)

diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c
index ac91fd0d62c6..3d83cdc11ab5 100644
--- a/drivers/mailbox/pcc.c
+++ b/drivers/mailbox/pcc.c
@@ -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),
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH RESEND] mailbox: pcc: Drop uninformative output during boot
  2017-08-01 12:43 [PATCH RESEND] mailbox: pcc: Drop uninformative output during boot Punit Agrawal
@ 2017-08-10 23:08 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2017-08-10 23:08 UTC (permalink / raw)
  To: Punit Agrawal
  Cc: rafael.j.wysocki, linux-acpi, Alexey Klimov, linux-kernel,
	lorenzo.pieralisi, sudeep.holla, Jassi Brar

On Tuesday, August 1, 2017 2:43:57 PM CEST Punit Agrawal wrote:
> 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.
> 
> Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
> Cc: Jassi Brar <jassisinghbrar@gmail.com>
> Acked-by: Alexey Klimov <alexey.klimov@arm.com>
> ---
> 
> 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(-)
> 
> diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c
> index ac91fd0d62c6..3d83cdc11ab5 100644
> --- a/drivers/mailbox/pcc.c
> +++ b/drivers/mailbox/pcc.c
> @@ -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),
> 

Applied, thanks!



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-10 23:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-01 12:43 [PATCH RESEND] mailbox: pcc: Drop uninformative output during boot Punit Agrawal
2017-08-10 23:08 ` Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.