Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-30 Thread okaya
On 2016-06-30 05:30, Wim Osterholt wrote: On Wed, Jun 29, 2016 at 04:34:14AM -0400, Sinan Kaya wrote: > I posted this [PATCH V2 0/4] ACPI,PCI,IRQ: correct ISA penalty calculation Can you test this and give me a tested-by? Kernel-4.7-rc5 plus this patch works like a charm on my Inspiron 41

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-29 Thread Wim Osterholt
On Wed, Jun 29, 2016 at 04:34:14AM -0400, Sinan Kaya wrote: > > > > I posted this [PATCH V2 0/4] ACPI,PCI,IRQ: correct ISA penalty calculation > > Can you test this and give me a tested-by? Kernel-4.7-rc5 plus this patch works like a charm on my Inspiron 4100. Dmesg output is quite similar to

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-29 Thread Sinan Kaya
On 6/27/2016 5:05 PM, ok...@codeaurora.org wrote: > On 2016-06-27 16:04, Wim Osterholt wrote: >> On Mon, Jun 27, 2016 at 04:22:18AM -0400, ok...@codeaurora.org wrote: >>> > However, an earlier try on my Inspiron 510m did not work. >>> > I'll do a clean retry later today, just to make sure. >>> >>>

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-27 Thread okaya
On 2016-06-27 16:04, Wim Osterholt wrote: On Mon, Jun 27, 2016 at 04:22:18AM -0400, ok...@codeaurora.org wrote: > However, an earlier try on my Inspiron 510m did not work. > I'll do a clean retry later today, just to make sure. Ok, let me know. I can post a clean patch series. I was trying to

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-27 Thread Wim Osterholt
On Mon, Jun 27, 2016 at 04:22:18AM -0400, ok...@codeaurora.org wrote: > > However, an earlier try on my Inspiron 510m did not work. > > I'll do a clean retry later today, just to make sure. > > > Ok, let me know. I can post a clean patch series. I was trying to get > you something to test before

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-27 Thread okaya
On 2016-06-27 02:27, Wim Osterholt wrote: On Sat, Jun 25, 2016 at 04:51:03AM -0400, ok...@codeaurora.org wrote: On 2016-06-24 21:39, Wim Osterholt wrote: Please apply the patches on top of clean 4.7-rc4 tree and apply them in order with git am 0001... git am 0002... It doesn't work that wa

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-26 Thread Wim Osterholt
On Sat, Jun 25, 2016 at 04:51:03AM -0400, ok...@codeaurora.org wrote: > On 2016-06-24 21:39, Wim Osterholt wrote: > > Please apply the patches on top of clean 4.7-rc4 tree and apply them in > order with > > git am 0001... > git am 0002... It doesn't work that way. Beginners problems with git. T

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-25 Thread okaya
On 2016-06-24 21:39, Wim Osterholt wrote: On Fri, Jun 24, 2016 at 02:09:15AM -0400, Sinan Kaya wrote: Can you give it a try? Whell, I tried to no avail. Wether it is on 4.6 or 4.7, with or without your previous patch, I keep getting rejected hunks. For example, here the line to be deleted is

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-24 Thread Wim Osterholt
On Fri, Jun 24, 2016 at 02:09:15AM -0400, Sinan Kaya wrote: > > Can you give it a try? Whell, I tried to no avail. Wether it is on 4.6 or 4.7, with or without your previous patch, I keep getting rejected hunks. For example, here the line to be deleted is nowhere to be found: > diff --git a/driv

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-23 Thread Sinan Kaya
On 6/23/2016 7:25 PM, Wim Osterholt wrote: > On Thu, Jun 23, 2016 at 11:45:47AM -0400, Sinan Kaya wrote: >>> >>> Sure, let me get a patch for you. >> >> Here it is > > http://webserver.djo.tudelft.nl/dmesg460+printpatch2 > Thanks, this was very helpful. I was able to fix the problem by using the

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-23 Thread Wim Osterholt
On Thu, Jun 23, 2016 at 11:45:47AM -0400, Sinan Kaya wrote: > > > > Sure, let me get a patch for you. > > Here it is http://webserver.djo.tudelft.nl/dmesg460+printpatch2 > I am trying to find a system with similar characteristics for debug All from the same laptop, Dell Inspiron 4100. The sam

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-23 Thread Alex Williamson
On Thu, 23 Jun 2016 11:21:58 -0500 Bjorn Helgaas wrote: > [+cc Alex, FYI] > > This thread is about a regression that we'll want to fix before v4.7 > releases. It looks like it's related to these changes which were > merged via the ACPI tree: > > 9e5ed6d1fb87 ACPI,PCI,IRQ: remove SCI penalize

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-23 Thread Bjorn Helgaas
[+cc Alex, FYI] This thread is about a regression that we'll want to fix before v4.7 releases. It looks like it's related to these changes which were merged via the ACPI tree: 9e5ed6d1fb87 ACPI,PCI,IRQ: remove SCI penalize function 1fcb6a813c4f ACPI,PCI,IRQ: remove redundant code in acpi_irq

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-23 Thread Sinan Kaya
On 6/23/2016 10:55 AM, Sinan Kaya wrote: > On 6/23/2016 10:12 AM, Wim Osterholt wrote: >> On Wed, Jun 22, 2016 at 11:54:39PM -0400, ok...@codeaurora.org wrote: >>> On 2016-06-21 18:13, Wim Osterholt wrote: > > pr_info("%s:%d irq = %d penalty = %d\n", __func__, __LINE__, irq, >

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-23 Thread Sinan Kaya
On 6/23/2016 10:12 AM, Wim Osterholt wrote: > On Wed, Jun 22, 2016 at 11:54:39PM -0400, ok...@codeaurora.org wrote: >> On 2016-06-21 18:13, Wim Osterholt wrote: pr_info("%s:%d irq = %d penalty = %d\n", __func__, __LINE__, irq, penalty); >>> >>> This produced some 6

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-23 Thread Wim Osterholt
On Wed, Jun 22, 2016 at 11:54:39PM -0400, ok...@codeaurora.org wrote: > On 2016-06-21 18:13, Wim Osterholt wrote: > >> > >>pr_info("%s:%d irq = %d penalty = %d\n", __func__, __LINE__, irq, > >>penalty); > >> > > > > This produced some 60 lines extra > > Thanks, let's go back

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-22 Thread okaya
On 2016-06-21 18:13, Wim Osterholt wrote: On Tue, Jun 21, 2016 at 09:40:10AM -0400, Sinan Kaya wrote: Thanks, It was a guess with no proof. Let's undo the change above and start adding some print statements to collect data from your system. Can you add this to the end of acpi_irq_get_penalt

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-21 Thread Wim Osterholt
On Tue, Jun 21, 2016 at 09:40:10AM -0400, Sinan Kaya wrote: > > Thanks, It was a guess with no proof. > > Let's undo the change above and start adding some print statements to collect > data from your system. > > Can you add this to the end of acpi_irq_get_penalty function and then send > the ou

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-21 Thread Sinan Kaya
On 6/21/2016 8:47 AM, Wim Osterholt wrote: >> Can you try the following and see if it makes any difference? >> >> >> --- a/drivers/acpi/pci_link.c >> +++ b/drivers/acpi/pci_link.c >> @@ -500,7 +500,7 @@ static int acpi_irq_get_penalty(int irq) >> int penalty = 0; >> >> if (irq < ACP

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-21 Thread Wim Osterholt
> Can you try the following and see if it makes any difference? > > > --- a/drivers/acpi/pci_link.c > +++ b/drivers/acpi/pci_link.c > @@ -500,7 +500,7 @@ static int acpi_irq_get_penalty(int irq) > int penalty = 0; > > if (irq < ACPI_MAX_ISA_IRQS) > - penalty += acpi

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-20 Thread Sinan Kaya
On 6/20/2016 5:25 PM, Bjorn Helgaas wrote: > [+cc Sinan] > > On Mon, Jun 20, 2016 at 03:02:57AM +0200, Rafael J. Wysocki wrote: >> You should CC the linux-pci too (done now) >> >> On Monday, June 20, 2016 02:35:30 AM Wim Osterholt wrote: >>> L.S. >>> up to vanilla kernel-4.6.2 sound was working fi

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-20 Thread Bjorn Helgaas
[+cc Sinan] On Mon, Jun 20, 2016 at 03:02:57AM +0200, Rafael J. Wysocki wrote: > You should CC the linux-pci too (done now) > > On Monday, June 20, 2016 02:35:30 AM Wim Osterholt wrote: > > L.S. > > up to vanilla kernel-4.6.2 sound was working fine. > > Switching to kernel-4.7.0-rc3 made sound di

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-19 Thread Rafael J. Wysocki
You should CC the linux-pci too (done now) On Monday, June 20, 2016 02:35:30 AM Wim Osterholt wrote: > L.S. > up to vanilla kernel-4.6.2 sound was working fine. > Switching to kernel-4.7.0-rc3 made sound disappear. No /dev/mixer etc. > There appears to be a bug in the Intel sound driver and/or ACP