* Re: [PATCH] ACPI/PCI: pci_link: reduce verbosity when IRQ is enabled
[not found] <1516128664-23634-1-git-send-email-okaya@codeaurora.org>
@ 2018-01-16 18:53 ` Sinan Kaya
2018-01-16 21:49 ` Bjorn Helgaas
0 siblings, 1 reply; 6+ messages in thread
From: Sinan Kaya @ 2018-01-16 18:53 UTC (permalink / raw)
To: linux-acpi, timur
Cc: linux-arm-msm, linux-arm-kernel, Linux PCI, Rafael J. Wysocki,
Len Brown, linux-kernel
Correcting linux-pci email.
On 1/16/2018 1:51 PM, Sinan Kaya wrote:
> 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 <okaya@codeaurora.org>
> ---
> drivers/acpi/pci_link.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/acpi/pci_link.c b/drivers/acpi/pci_link.c
> index bc3d914..85ad679 100644
> --- a/drivers/acpi/pci_link.c
> +++ b/drivers/acpi/pci_link.c
> @@ -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);
> }
>
--
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ACPI/PCI: pci_link: reduce verbosity when IRQ is enabled
2018-01-16 18:53 ` [PATCH] ACPI/PCI: pci_link: reduce verbosity when IRQ is enabled Sinan Kaya
@ 2018-01-16 21:49 ` Bjorn Helgaas
2018-01-29 19:01 ` Sinan Kaya
0 siblings, 1 reply; 6+ messages in thread
From: Bjorn Helgaas @ 2018-01-16 21:49 UTC (permalink / raw)
To: Sinan Kaya
Cc: Linux PCI, timur, Rafael J. Wysocki, linux-kernel, linux-acpi,
linux-arm-msm, linux-arm-kernel, Len Brown
On Tue, Jan 16, 2018 at 01:53:00PM -0500, Sinan Kaya wrote:
> Correcting linux-pci email.
>
> On 1/16/2018 1:51 PM, Sinan Kaya wrote:
> > 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 <okaya@codeaurora.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
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.
> > ---
> > drivers/acpi/pci_link.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/acpi/pci_link.c b/drivers/acpi/pci_link.c
> > index bc3d914..85ad679 100644
> > --- a/drivers/acpi/pci_link.c
> > +++ b/drivers/acpi/pci_link.c
> > @@ -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);
> > }
> >
>
>
> --
> 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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ACPI/PCI: pci_link: reduce verbosity when IRQ is enabled
2018-01-16 21:49 ` Bjorn Helgaas
@ 2018-01-29 19:01 ` Sinan Kaya
2018-02-01 7:32 ` Rafael J. Wysocki
0 siblings, 1 reply; 6+ messages in thread
From: Sinan Kaya @ 2018-01-29 19:01 UTC (permalink / raw)
To: Bjorn Helgaas, Rafael J. Wysocki
Cc: linux-acpi, timur, linux-arm-msm, linux-arm-kernel, Linux PCI,
Rafael J. Wysocki, Len Brown, linux-kernel
Rafael,
On 1/16/2018 4:49 PM, Bjorn Helgaas wrote:
> On Tue, Jan 16, 2018 at 01:53:00PM -0500, Sinan Kaya wrote:
>> Correcting linux-pci email.
>>
>> On 1/16/2018 1:51 PM, Sinan Kaya wrote:
>>> 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 <okaya@codeaurora.org>
> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
>
> 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
--
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ACPI/PCI: pci_link: reduce verbosity when IRQ is enabled
2018-01-29 19:01 ` Sinan Kaya
@ 2018-02-01 7:32 ` Rafael J. Wysocki
2018-02-04 9:03 ` Rafael J. Wysocki
0 siblings, 1 reply; 6+ messages in thread
From: Rafael J. Wysocki @ 2018-02-01 7:32 UTC (permalink / raw)
To: Sinan Kaya
Cc: Bjorn Helgaas, Rafael J. Wysocki, ACPI Devel Maling List,
Timur Tabi, linux-arm-msm, linux-arm-kernel, Linux PCI, Len Brown,
Linux Kernel Mailing List
On Mon, Jan 29, 2018 at 8:01 PM, Sinan Kaya <okaya@codeaurora.org> wrote:
> Rafael,
>
> On 1/16/2018 4:49 PM, Bjorn Helgaas wrote:
>> On Tue, Jan 16, 2018 at 01:53:00PM -0500, Sinan Kaya wrote:
>>> Correcting linux-pci email.
>>>
>>> On 1/16/2018 1:51 PM, Sinan Kaya wrote:
>>>> 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 <okaya@codeaurora.org>
>> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
>>
>> 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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ACPI/PCI: pci_link: reduce verbosity when IRQ is enabled
2018-02-01 7:32 ` Rafael J. Wysocki
@ 2018-02-04 9:03 ` Rafael J. Wysocki
2018-02-04 13:43 ` okaya
0 siblings, 1 reply; 6+ messages in thread
From: Rafael J. Wysocki @ 2018-02-04 9:03 UTC (permalink / raw)
To: Sinan Kaya
Cc: Bjorn Helgaas, Rafael J. Wysocki, ACPI Devel Maling List,
Timur Tabi, linux-arm-msm, linux-arm-kernel, Linux PCI, Len Brown,
Linux Kernel Mailing List
On Thu, Feb 1, 2018 at 8:32 AM, Rafael J. Wysocki <rafael@kernel.org> wrote:
> On Mon, Jan 29, 2018 at 8:01 PM, Sinan Kaya <okaya@codeaurora.org> wrote:
>> Rafael,
>>
>> On 1/16/2018 4:49 PM, Bjorn Helgaas wrote:
>>> On Tue, Jan 16, 2018 at 01:53:00PM -0500, Sinan Kaya wrote:
>>>> Correcting linux-pci email.
>>>>
>>>> On 1/16/2018 1:51 PM, Sinan Kaya wrote:
>>>>> 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 <okaya@codeaurora.org>
>>> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
>>>
>>> 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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ACPI/PCI: pci_link: reduce verbosity when IRQ is enabled
2018-02-04 9:03 ` Rafael J. Wysocki
@ 2018-02-04 13:43 ` okaya
0 siblings, 0 replies; 6+ messages in thread
From: okaya @ 2018-02-04 13:43 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Bjorn Helgaas, Rafael J. Wysocki, ACPI Devel Maling List,
Timur Tabi, linux-arm-msm, linux-arm-kernel, Linux PCI, Len Brown,
Linux Kernel Mailing List, linux-acpi-owner
On 2018-02-04 04:03, Rafael J. Wysocki wrote:
> On Thu, Feb 1, 2018 at 8:32 AM, Rafael J. Wysocki <rafael@kernel.org>
> wrote:
>> On Mon, Jan 29, 2018 at 8:01 PM, Sinan Kaya <okaya@codeaurora.org>
>> wrote:
>>> Rafael,
>>>
>>> On 1/16/2018 4:49 PM, Bjorn Helgaas wrote:
>>>> On Tue, Jan 16, 2018 at 01:53:00PM -0500, Sinan Kaya wrote:
>>>>> Correcting linux-pci email.
>>>>>
>>>>> On 1/16/2018 1:51 PM, Sinan Kaya wrote:
>>>>>> 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 <okaya@codeaurora.org>
>>>> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
>>>>
>>>> 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.
You are right. I see it there. I have not seen an applied email. I
thought it was still outstanding.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi"
> in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-02-04 13:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1516128664-23634-1-git-send-email-okaya@codeaurora.org>
2018-01-16 18:53 ` [PATCH] ACPI/PCI: pci_link: reduce verbosity when IRQ is enabled Sinan Kaya
2018-01-16 21:49 ` Bjorn Helgaas
2018-01-29 19:01 ` Sinan Kaya
2018-02-01 7:32 ` Rafael J. Wysocki
2018-02-04 9:03 ` Rafael J. Wysocki
2018-02-04 13:43 ` okaya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).