Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-10-04 Thread Ondrej Zary
On Saturday 01 October 2016 19:49:17 Sinan Kaya wrote: > On 9/30/2016 5:27 PM, Rafael J. Wysocki wrote: > >>> >> What's the drawback, if any? > >> > > >> > I don't see any drawback to be honest. > > > > I'd go for it then, if Bjorn doesn't hate it. > > I posted a follow up patch a minute ago. > > [

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-10-04 Thread Sinan Kaya
Hi Ondrej, On 10/3/2016 3:25 AM, Ondrej Zary wrote: > On Monday 03 October 2016, Sinan Kaya wrote: >> On 10/2/2016 12:53 PM, Ondrej Zary wrote: Can we have some testing coverage? and eventually have tested-by? >>> >>> Works on two affected machines. More tests tomorrow. >> >> Thanks, apprecia

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-10-03 Thread Ondrej Zary
On Monday 03 October 2016, Sinan Kaya wrote: > On 10/2/2016 12:53 PM, Ondrej Zary wrote: > >> Can we have some testing coverage? and eventually have tested-by? > > > > Works on two affected machines. More tests tomorrow. > > Thanks, appreciate the feedback. Looking forward to hear your other test >

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-10-02 Thread Sinan Kaya
On 10/2/2016 12:53 PM, Ondrej Zary wrote: >> Can we have some testing coverage? and eventually have tested-by? > Works on two affected machines. More tests tomorrow. Thanks, appreciate the feedback. Looking forward to hear your other test results. -- Sinan Kaya Qualcomm Datacenter Technologies,

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-10-02 Thread Ondrej Zary
On Saturday 01 October 2016 19:49:17 Sinan Kaya wrote: > On 9/30/2016 5:27 PM, Rafael J. Wysocki wrote: > >>> >> What's the drawback, if any? > >> > > >> > I don't see any drawback to be honest. > > > > I'd go for it then, if Bjorn doesn't hate it. > > I posted a follow up patch a minute ago. > > [

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-10-01 Thread Sinan Kaya
On 9/30/2016 5:27 PM, Rafael J. Wysocki wrote: >>> >> What's the drawback, if any? >> > >> > I don't see any drawback to be honest. > I'd go for it then, if Bjorn doesn't hate it. > I posted a follow up patch a minute ago. [PATCH 1/3] Revert "ACPI,PCI,IRQ: reduce static IRQ array size to 16" [P

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-30 Thread Sinan Kaya
On 9/30/2016 5:27 PM, Rafael J. Wysocki wrote: > On Fri, Sep 30, 2016 at 11:14 PM, Sinan Kaya wrote: >> On 9/30/2016 5:04 PM, Rafael J. Wysocki wrote: > > I hope it makes sense now. I tend to skip details sometimes. Feel free to > send more questions. >>> Thanks for the information! >>

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-30 Thread Rafael J. Wysocki
On Fri, Sep 30, 2016 at 11:14 PM, Sinan Kaya wrote: > On 9/30/2016 5:04 PM, Rafael J. Wysocki wrote: >>> > >>> > I hope it makes sense now. I tend to skip details sometimes. Feel free to >>> > send more questions. >> Thanks for the information! >> >> IIUC, basically, what you are proposing would b

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-30 Thread Sinan Kaya
On 9/30/2016 5:04 PM, Rafael J. Wysocki wrote: >> > >> > I hope it makes sense now. I tend to skip details sometimes. Feel free to >> > send more questions. > Thanks for the information! > > IIUC, basically, what you are proposing would be to restore the old > penalizing method for IRQs in the 0-2

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-30 Thread Rafael J. Wysocki
On Fri, Sep 30, 2016 at 10:24 PM, Sinan Kaya wrote: > On 9/30/2016 3:39 PM, Rafael J. Wysocki wrote: >>> how do we feel about increasing the ISA IRQ range to 256 so that >>> > we are safe for all SCI interrupts? >> I'm not sure how this is related to the problem at hand. Care to elaborate? >> > >

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-30 Thread Sinan Kaya
On 9/30/2016 3:39 PM, Rafael J. Wysocki wrote: >> how do we feel about increasing the ISA IRQ range to 256 so that >> > we are safe for all SCI interrupts? > I'm not sure how this is related to the problem at hand. Care to elaborate? > Sure, let me explain. The code maintains a static array pe

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-30 Thread Rafael J. Wysocki
On Fri, Sep 30, 2016 at 9:30 PM, Sinan Kaya wrote: > Rafael, Bjorn; > > On 9/30/2016 11:56 AM, Ondrej Zary wrote: It seems to work, at least on one machine. >>> > >>> > Ok, that comfirms my suspicion. We are having trouble detecting sci >>> > interrupt type and we end up penalizing the wron

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-30 Thread Sinan Kaya
Rafael, Bjorn; On 9/30/2016 11:56 AM, Ondrej Zary wrote: >>> It seems to work, at least on one machine. >> > >> > Ok, that comfirms my suspicion. We are having trouble detecting sci >> > interrupt type and we end up penalizing the wrong value. >> > >> > Can you try your other machines too? > Wor

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-30 Thread Ondrej Zary
On Friday 30 September 2016 15:14:42 ok...@codeaurora.org wrote: > On 2016-09-30 02:44, Ondrej Zary wrote: > > On Friday 30 September 2016, Sinan Kaya wrote: > >> On 9/29/2016 2:00 PM, Ondrej Zary wrote: > >> >> The previous two patches were in the right direction. > >> >> > >> >> > Can we also get

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-30 Thread okaya
On 2016-09-30 02:44, Ondrej Zary wrote: On Friday 30 September 2016, Sinan Kaya wrote: On 9/29/2016 2:00 PM, Ondrej Zary wrote: >> The previous two patches were in the right direction. >> >> > Can we also get the same output from 4.6 kernel with the attached >> > patch for the same machine you s

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-29 Thread Ondrej Zary
On Friday 30 September 2016, Sinan Kaya wrote: > On 9/29/2016 2:00 PM, Ondrej Zary wrote: > >> The previous two patches were in the right direction. > >> > >> > Can we also get the same output from 4.6 kernel with the attached > >> > patch for the same machine you sent these? > > > > Here it is. >

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-29 Thread Sinan Kaya
On 9/29/2016 2:00 PM, Ondrej Zary wrote: >> The previous two patches were in the right direction. >> > >> > Can we also get the same output from 4.6 kernel with the attached patch for >> > the same machine you sent these? > Here it is. > >> > Something about SCI still doesn't feel right. >> > >> >

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-29 Thread Ondrej Zary
On Thursday 29 September 2016 19:18:43 Sinan Kaya wrote: > On 9/29/2016 12:48 PM, Ondrej Zary wrote: > >> Let's see the new set. If this doesn't work, I'll have to provide you > >> with > >> > >> > another patch to get the penalty counts again. The original debug aids > >> > patch may not apply aft

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-29 Thread Sinan Kaya
On 9/29/2016 12:48 PM, Ondrej Zary wrote: >> Let's see the new set. If this doesn't work, I'll have to provide you with >> > another patch to get the penalty counts again. The original debug aids >> > patch may not apply after these. > It boots but the IRQ problem still remains the same. See the at

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-29 Thread Ondrej Zary
On Thursday 29 September 2016 16:28:23 Sinan Kaya wrote: > On 9/29/2016 9:49 AM, Ondrej Zary wrote: > >> Ok, since I have not seen the full boot log I am guessing that isa api > >> > >> > gets called before the link objects are initialized. > > > > Netconsole did not work (probably because it crash

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-29 Thread Sinan Kaya
On 9/29/2016 10:28 AM, Sinan Kaya wrote: > + if (irq < ACPI_MAX_ISA_IRQS) BTW, can you change this line to if (link->irq.active < ACPI_MAX_ISA_IRQS) after applying. > + acpi_isa_irq_penalty[link->irq.active] += > + PIRQ_PENALTY

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-29 Thread Sinan Kaya
On 9/29/2016 10:18 AM, Wim Osterholt wrote: > On Wed, Sep 28, 2016 at 07:38:41PM -0400, Sinan Kaya wrote: >> >> Can you try these patches on your machines please? > > I applied the included patches on vanilla 4.8-rc8 and my machine booted > fine. (I saw a remark about SCSI interrupts, but I have n

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-29 Thread Sinan Kaya
On 9/29/2016 9:49 AM, Ondrej Zary wrote: >> Ok, since I have not seen the full boot log I am guessing that isa api >> > gets called before the link objects are initialized. > Netconsole did not work (probably because it crashes too early?) and I don't > have a null-modem cable. > Probably, this

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-29 Thread Wim Osterholt
On Wed, Sep 28, 2016 at 07:38:41PM -0400, Sinan Kaya wrote: > > Can you try these patches on your machines please? I applied the included patches on vanilla 4.8-rc8 and my machine booted fine. (I saw a remark about SCSI interrupts, but I have no SCSI.) Regards, Wim.

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-29 Thread Ondrej Zary
On Thursday 29 September 2016, ok...@codeaurora.org wrote: > On 2016-09-29 05:10, Ondrej Zary wrote: > > On Thursday 29 September 2016, Sinan Kaya wrote: > >> On 9/28/2016 3:23 PM, Ondrej Zary wrote: > >> > On Wednesday 28 September 2016 20:22:40 Sinan Kaya wrote: > >> >> On 9/28/2016 1:02 PM, Ondr

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-29 Thread okaya
On 2016-09-29 05:10, Ondrej Zary wrote: On Thursday 29 September 2016, Sinan Kaya wrote: On 9/28/2016 3:23 PM, Ondrej Zary wrote: > On Wednesday 28 September 2016 20:22:40 Sinan Kaya wrote: >> On 9/28/2016 1:02 PM, Ondrej Zary wrote: Thanks, It sounds like you have more than one machine wit

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-29 Thread Ondrej Zary
On Thursday 29 September 2016, Sinan Kaya wrote: > On 9/28/2016 3:23 PM, Ondrej Zary wrote: > > On Wednesday 28 September 2016 20:22:40 Sinan Kaya wrote: > >> On 9/28/2016 1:02 PM, Ondrej Zary wrote: > Thanks, It sounds like you have more than one machine with similar > > > problems.

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-28 Thread Sinan Kaya
On 9/28/2016 3:23 PM, Ondrej Zary wrote: > On Wednesday 28 September 2016 20:22:40 Sinan Kaya wrote: >> On 9/28/2016 1:02 PM, Ondrej Zary wrote: Thanks, It sounds like you have more than one machine with similar > problems. Can you collect the log from the other machines with > 4.

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-28 Thread Ondrej Zary
On Wednesday 28 September 2016 20:22:40 Sinan Kaya wrote: > On 9/28/2016 1:02 PM, Ondrej Zary wrote: > >> Thanks, It sounds like you have more than one machine with similar > >> > >> > problems. Can you collect the log from the other machines with > >> > 4.8-rc8? > >> > > >> > and also a boot log w

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-28 Thread Sinan Kaya
On 9/28/2016 1:02 PM, Ondrej Zary wrote: >> Thanks, It sounds like you have more than one machine with similar >> > problems. Can you collect the log from the other machines with 4.8-rc8? >> > >> > and also a boot log with 4.6 kernel where things are working? > The attached logs are from another ma

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-28 Thread Ondrej Zary
On Wednesday 28 September 2016 16:11:39 Sinan Kaya wrote: > On 9/28/2016 4:32 AM, Ondrej Zary wrote: > >>> OK > >>> > >>> > > Sinan, can you help, please? > >> > > >> > Sure, let's see what's going on. I was writing an email. > >> > > >> > Can we apply this and collect the kernel log? It also helps

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-28 Thread Sinan Kaya
On 9/28/2016 4:32 AM, Ondrej Zary wrote: >>> OK >>> > > >>> > > Sinan, can you help, please? >> > >> > Sure, let's see what's going on. I was writing an email. >> > >> > Can we apply this and collect the kernel log? It also helps to see the >> > kernel log from a working combination. > This is from

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-28 Thread Ondrej Zary
On Wednesday 28 September 2016, Sinan Kaya wrote: > On 9/27/2016 6:58 PM, Rafael J. Wysocki wrote: > >> :04 04 9bf16c388d23bb66e087809f069eafed18e46a8c > >> : bcac95fb33ee834aec7d23eab9eb0dc5e330c68c M drivers > > > > OK > > > > Sinan, can you help, please? > > Sure, let's see what's g

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-27 Thread Sinan Kaya
On 9/27/2016 6:58 PM, Rafael J. Wysocki wrote: >> :04 04 9bf16c388d23bb66e087809f069eafed18e46a8c >> bcac95fb33ee834aec7d23eab9eb0dc5e330c68c M drivers > OK > > Sinan, can you help, please? > > Sure, let's see what's going on. I was writing an email. Can we apply this and collec

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-27 Thread Rafael J. Wysocki
On Wednesday, September 28, 2016 12:23:31 AM Ondrej Zary wrote: > On Tuesday 27 September 2016 23:32:26 Rafael J. Wysocki wrote: > > On Tuesday, September 27, 2016 11:02:22 PM Ondrej Zary wrote: > > > On Monday 26 September 2016 14:23:01 Rafael J. Wysocki wrote: > > > > On Sunday, September 25, 201

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-27 Thread Ondrej Zary
On Tuesday 27 September 2016 23:32:26 Rafael J. Wysocki wrote: > On Tuesday, September 27, 2016 11:02:22 PM Ondrej Zary wrote: > > On Monday 26 September 2016 14:23:01 Rafael J. Wysocki wrote: > > > On Sunday, September 25, 2016 03:12:05 PM Ondrej Zary wrote: > > > > Hello, > > > > I've upgraded ke

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-27 Thread Rafael J. Wysocki
On Tuesday, September 27, 2016 11:02:22 PM Ondrej Zary wrote: > On Monday 26 September 2016 14:23:01 Rafael J. Wysocki wrote: > > On Sunday, September 25, 2016 03:12:05 PM Ondrej Zary wrote: > > > Hello, > > > I've upgraded kernel (Debian Squeeze - backports) from 4.6 > > > (4.6.4-1~bpo8+1) to 4.7

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-27 Thread Ondrej Zary
On Monday 26 September 2016 14:23:01 Rafael J. Wysocki wrote: > On Sunday, September 25, 2016 03:12:05 PM Ondrej Zary wrote: > > Hello, > > I've upgraded kernel (Debian Squeeze - backports) from 4.6 > > (4.6.4-1~bpo8+1) to 4.7 (4.7.2-1~bpo8+1) and IRQs stopped working with > > error messages like t

Re: 4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-26 Thread Rafael J. Wysocki
On Sunday, September 25, 2016 03:12:05 PM Ondrej Zary wrote: > Hello, > I've upgraded kernel (Debian Squeeze - backports) from 4.6 (4.6.4-1~bpo8+1) > to 4.7 (4.7.2-1~bpo8+1) and IRQs stopped working with error messages like > this: > > ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci

4.7 regression: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off

2016-09-25 Thread Ondrej Zary
Hello, I've upgraded kernel (Debian Squeeze - backports) from 4.6 (4.6.4-1~bpo8+1) to 4.7 (4.7.2-1~bpo8+1) and IRQs stopped working with error messages like this: ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off The same thing appeared on two different machines. Is