Re: [Patch Part2 v4 00/31] Enable hierarchy irqdomian on x86 platforms
From: Joerg Roedel
Date: Wed Nov 05 2014 - 06:10:24 EST
Hi Jiang,
On Wed, Nov 05, 2014 at 06:28:45PM +0800, Jiang Liu wrote:
> diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c
> index 7423ee16972f..62ba8a6f6e79 100644
> --- a/drivers/pci/msi.c
> +++ b/drivers/pci/msi.c
> @@ -1211,7 +1211,7 @@ int msi_irq_domain_alloc_irqs(struct irq_domain
> *domain, int type,
> msidesc->nvec_used > 1) ? 1 : -ENOSPC;
> }
> for (i = 0; i < msidesc->nvec_used; i++)
> - irq_set_msi_desc_off(virq + i, i, msidesc);
> + irq_set_msi_desc_off(virq, i, msidesc);
> }
>
> list_for_each_entry(msidesc, &dev->msi_list, list)
Yes, this fixes the issue, thanks :)
Joerg
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/