ACPI/PCI: pci_link: reduce verbosity when IRQ is enabled
Subsystems (3)
PATCH 1/1 ACPI/PCI: pci_link: reduce verbosity when IRQ is enabled
When ACPI Link object is enabled, the message is printed with a warning prefix. Some test tools are capturing warning and test error types as errors. Let's reduce the verbosity of success case.
--- drivers/acpi/pci_link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/pci_link.c +1 -1
@@ -612,7 +612,7 @@ static int acpi_pci_link_allocate(struct acpi_pci_link *link) acpi_isa_irq_penalty[link->irq.active] +=PIRQ_PENALTY_PCI_USING ; - printk(KERN_WARNING PREFIX "%s [%s] enabled at IRQ %d\n", +pr_info ("%s [%s] enabled at IRQ %d\n" ,acpi_device_name (link->device),acpi_device_bid (link->device), link->irq.active); }
Signature · 1 line
1.9.1
Correcting linux-pci email.
Quoted 23 lines · Sinan Kaya
When ACPI Link object is enabled, the message is printed with a warning prefix. Some test tools are capturing warning and test error types as errors. Let's reduce the verbosity of success case.
Signed-off-by Sinan Kaya <[email protected]>--- drivers/acpi/pci_link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/acpi/pci_link.c +1
-1@@ -612,7 +612,7 @@ static int acpi_pci_link_allocate(struct acpi_pci_link *link) acpi_isa_irq_penalty[link->irq.active] +=PIRQ_PENALTY_PCI_USING ; - printk(KERN_WARNING PREFIX "%s [%s] enabled at IRQ %d\n", +pr_info ("%s [%s] enabled at IRQ %d\n" ,acpi_device_name (link->device),acpi_device_bid (link->device), link->irq.active); }
Signature · 3 lines
Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
Bjorn Helgaas
Acked-byQuoted 8 lines · Sinan Kaya
Correcting linux-pci email.
Quoted 5 lines · Sinan Kaya
When ACPI Link object is enabled, the message is printed with a warning prefix. Some test tools are capturing warning and test error types as errors. Let's reduce the verbosity of success case.
Signed-off-by Sinan Kaya <[email protected]>
Looks like this was a result of 4d9391557b68 ("ACPI: add missing KERN_* constants to printks"), which I think added the wrong level in this case.
Quoted 28 lines
Quoted 18 lines
--- drivers/acpi/pci_link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/acpi/pci_link.c +1
-1@@ -612,7 +612,7 @@ static int acpi_pci_link_allocate(struct acpi_pci_link *link) acpi_isa_irq_penalty[link->irq.active] +=PIRQ_PENALTY_PCI_USING ; - printk(KERN_WARNING PREFIX "%s [%s] enabled at IRQ %d\n", +pr_info ("%s [%s] enabled at IRQ %d\n" ,acpi_device_name (link->device),acpi_device_bid (link->device), link->irq.active); }Signature · 7 lines
Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project. -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Rafael,
Quoted 8 lines · Bjorn Helgaas
Quoted 7 lines · Sinan Kaya
Correcting linux-pci email.
Quoted 4 lines · Sinan Kaya
When ACPI Link object is enabled, the message is printed with a warning prefix. Some test tools are capturing warning and test error types as errors. Let's reduce the verbosity of success case.
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Signed-off-by Sinan Kaya <[email protected]>Acked-by Bjorn Helgaas <[email protected]>Looks like this was a result of
4d9391557b68("ACPI: add missing KERN_* constants to printks"), which I think added the wrong level in this case.
Any chance of merging this for 4.16?
Sinan
Signature · 3 lines
Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
Rafael J. Wysocki
maintainerQuoted 11 lines · Sinan Kaya
Rafael,
Quoted 8 lines · Bjorn Helgaas
Quoted 7 lines · Sinan Kaya
Correcting linux-pci email.
Quoted 4 lines · Sinan Kaya
When ACPI Link object is enabled, the message is printed with a warning prefix. Some test tools are capturing warning and test error types as errors. Let's reduce the verbosity of success case.
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Signed-off-by Sinan Kaya <[email protected]>Acked-by Bjorn Helgaas <[email protected]>Looks like this was a result of
4d9391557b68("ACPI: add missing KERN_* constants to printks"), which I think added the wrong level in this case.Any chance of merging this for 4.16?
There is.
I've just got back home from travels and will be looking at patches to pick up for 4.16 shortly.
Rafael J. Wysocki
maintainerQuoted 15 lines · Rafael J. Wysocki
Quoted 14 lines · Sinan Kaya
Rafael,
Quoted 11 lines · Bjorn Helgaas
Quoted 8 lines · Sinan Kaya
Correcting linux-pci email.
Quoted 5 lines · Sinan Kaya
When ACPI Link object is enabled, the message is printed with a warning prefix. Some test tools are capturing warning and test error types as errors. Let's reduce the verbosity of success case.
Signed-off-by Sinan Kaya <[email protected]>Acked-by Bjorn Helgaas <[email protected]>
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Looks like this was a result of
4d9391557b68("ACPI: add missing KERN_* constants to printks"), which I think added the wrong level in this case.Any chance of merging this for 4.16?
There is.
This one is already there in the Linus' tree AFAICS.
Quoted 26 lines · Rafael J. Wysocki
Quoted 24 lines · Rafael J. Wysocki
Quoted 22 lines · Sinan Kaya
Rafael,
Quoted 18 lines · Bjorn Helgaas
Quoted 10 lines · Sinan Kaya
Correcting linux-pci email.
Quoted 7 lines · Sinan Kaya
When ACPI Link object is enabled, the message is printed with a warning
prefix. Some test tools are capturing warning and test error types as
errors. Let's reduce the verbosity of success case.Signed-off-by Sinan Kaya <[email protected]>Acked-by Bjorn Helgaas <[email protected]>Looks like this was a result of
4d9391557b68("ACPI: add missing KERN_*
constants to printks"), which I think added the wrong level in this case.
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Any chance of merging this for 4.16?
There is.
This one is already there in the Linus' tree AFAICS.
You are right. I see it there. I have not seen an applied email. I thought it was still outstanding.
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html