Re: [RFC 1/2] PCI: Introduce new MSI chip infrastructure

2013-03-22 Thread Thierry Reding
On Fri, Mar 22, 2013 at 09:37:50AM +, Andrew Murray wrote: > On Fri, Mar 22, 2013 at 08:51:46AM +, Thierry Reding wrote: > > index ce93a34..ea4a5be 100644 > > --- a/include/linux/msi.h > > +++ b/include/linux/msi.h > > @@ -58,5 +58,15 @@ extern int arch_setup_msi_irqs(struct pci_dev *dev, i

Re: [RFC 1/2] PCI: Introduce new MSI chip infrastructure

2013-03-22 Thread Andrew Murray
On Fri, Mar 22, 2013 at 08:51:46AM +, Thierry Reding wrote: > index ce93a34..ea4a5be 100644 > --- a/include/linux/msi.h > +++ b/include/linux/msi.h > @@ -58,5 +58,15 @@ extern int arch_setup_msi_irqs(struct pci_dev *dev, int > nvec, int type); > extern void arch_teardown_msi_irqs(struct pci_d

[RFC 1/2] PCI: Introduce new MSI chip infrastructure

2013-03-22 Thread Thierry Reding
The new struct msi_chip is used to associated an MSI controller with a PCI bus. It is automatically handed down from the root to its children during bus enumeration. This patch provides default (weak) implementations for the architecture- specific MSI functions (arch_setup_msi_irq(), arch_teardown