Re: [PATCH] x86/PCI: Don't alloc pcibios-irq when MSI is enabled

2015-10-23 Thread Joerg Roedel
On Fri, Oct 23, 2015 at 10:02:11AM +0800, Jiang Liu wrote: > There's another patch already merged into mainstream kernel, > which solves this issue in another way by making use of > pci_dev->match_driver flag. Please refer to: > cbbc00be2ce3 ("iommu/amd: Prevent binding other PCI drivers to I

Re: [PATCH] x86/PCI: Don't alloc pcibios-irq when MSI is enabled

2015-10-22 Thread Jiang Liu
On 2015/10/22 0:23, Bjorn Helgaas wrote: > On Fri, Oct 09, 2015 at 12:23:34PM +0200, Joerg Roedel wrote: >> From: Joerg Roedel >> >> The pcibios-irq and MSI both use dev->irq to store the IRQ >> number. While the MSI code checks for that and frees the >> pcibios-irq before overwriting dev->irq, th

Re: [PATCH] x86/PCI: Don't alloc pcibios-irq when MSI is enabled

2015-10-21 Thread Bjorn Helgaas
On Fri, Oct 09, 2015 at 12:23:34PM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > The pcibios-irq and MSI both use dev->irq to store the IRQ > number. While the MSI code checks for that and frees the > pcibios-irq before overwriting dev->irq, the > pcibios_alloc_irq function does not. > > U

Re: [PATCH] x86/PCI: Don't alloc pcibios-irq when MSI is enabled

2015-10-09 Thread Thomas Gleixner
On Fri, 9 Oct 2015, Joerg Roedel wrote: > From: Joerg Roedel > > The pcibios-irq and MSI both use dev->irq to store the IRQ > number. While the MSI code checks for that and frees the > pcibios-irq before overwriting dev->irq, the > pcibios_alloc_irq function does not. > > Usually this is not a p