Re: [PATCH v3 1/3] PCI/MSI: Move MSI/MSI-X init to msi.c

2020-12-04 Thread Bjorn Helgaas
On Fri, Dec 04, 2020 at 12:05:15PM +0100, Thierry Reding wrote: > On Thu, Dec 03, 2020 at 12:51:08PM -0600, Bjorn Helgaas wrote: > > From: Bjorn Helgaas > > > > Move pci_msi_setup_pci_dev(), which disables MSI and MSI-X interrupts, from > > probe.c to msi.c so it's with all the other MSI code and

Re: [PATCH v3 1/3] PCI/MSI: Move MSI/MSI-X init to msi.c

2020-12-04 Thread Thierry Reding
On Thu, Dec 03, 2020 at 12:51:08PM -0600, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > Move pci_msi_setup_pci_dev(), which disables MSI and MSI-X interrupts, from > probe.c to msi.c so it's with all the other MSI code and more consistent > with other capability initialization. This means we mu

[PATCH v3 1/3] PCI/MSI: Move MSI/MSI-X init to msi.c

2020-12-03 Thread Bjorn Helgaas
From: Bjorn Helgaas Move pci_msi_setup_pci_dev(), which disables MSI and MSI-X interrupts, from probe.c to msi.c so it's with all the other MSI code and more consistent with other capability initialization. This means we must compile msi.c always, even without CONFIG_PCI_MSI, so wrap the rest of