From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wim Osterholt Subject: Re: kernel-4.7 bug in Intel sound and/or ACPI Date: Tue, 21 Jun 2016 14:47:15 +0200 Message-ID: <20160621124715.GB3528@djo.tudelft.nl> References: <20160620003530.GA19571@djo.tudelft.nl> <2999417.fp4mqtxYS2@vostro.rjw.lan> <20160620212507.GA24086@localhost> <57686D67.8010201@codeaurora.org> Reply-To: wim@djo.tudelft.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from x127155.tudelft.net ([131.180.127.155]:58962 "EHLO djo.tudelft.nl" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751167AbcFUMsK (ORCPT ); Tue, 21 Jun 2016 08:48:10 -0400 Content-Disposition: inline In-Reply-To: <57686D67.8010201@codeaurora.org> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Sinan Kaya Cc: Bjorn Helgaas , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, perex@perex.cz, linux-pci@vger.kernel.org, Takashi Iwai , 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_isa_irq_penalty[irq]; > + return acpi_isa_irq_penalty[irq]; > > /* > * Penalize IRQ used by ACPI SCI. If ACPI SCI pin attributes conflict > @@ -586,6 +586,10 @@ static int acpi_pci_link_allocate(struct acpi_pci_link *link) > acpi_device_bid(link->device)); > return -ENODEV; > } else { > + if (irq < ACPI_MAX_ISA_IRQS) > + acpi_isa_irq_penalty[irq] = acpi_irq_get_penalty(irq) + > + PIRQ_PENALTY_PCI_USING; > + > > > > > Bjorn I tried this on kernel 4.7.0-rc4, but that didn't help. It still tried to grab irq7. Regards, Wim. ----- wim@djo.tudelft.nl -----