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

From: Wim Osterholt
Date: Tue Jun 21 2016 - 08:49:39 EST


> 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@xxxxxxxxxxxxxx -----