Re: [PATCH 2/2] PCI/MSI: Remove arch_msi_check_device()

2014-07-17 Thread Alexander Gordeev
On Wed, Jul 16, 2014 at 04:20:24PM -0600, Bjorn Helgaas wrote: > > @@ -809,22 +799,23 @@ out_free: > > } > > > > /** > > - * pci_msi_check_device - check whether MSI may be enabled on a device > > + * msi_check_device - check whether MSI may be enabled on a device > > * @dev: pointer to the p

Re: [PATCH 2/2] PCI/MSI: Remove arch_msi_check_device()

2014-07-16 Thread Bjorn Helgaas
On Sat, Jul 12, 2014 at 01:21:08PM +0200, Alexander Gordeev wrote: > There are no archs that override arch_msi_check_device() > hook. Remove it as it is completely redundant. > > If an arch would need to check MSI/MSI-X possibility for a > device it should make it within arch_setup_msi_irqs() hook

Re: [PATCH 2/2] PCI/MSI: Remove arch_msi_check_device()

2014-07-14 Thread Alexander Gordeev
On Mon, Jul 14, 2014 at 10:11:57AM +0800, Yijing Wang wrote: > > /** > > - * pci_msi_check_device - check whether MSI may be enabled on a device > > + * msi_check_device - check whether MSI may be enabled on a device > > * @dev: pointer to the pci_dev data structure of MSI device function > >

Re: [PATCH 2/2] PCI/MSI: Remove arch_msi_check_device()

2014-07-13 Thread Yijing Wang
> /** > - * pci_msi_check_device - check whether MSI may be enabled on a device > + * msi_check_device - check whether MSI may be enabled on a device > * @dev: pointer to the pci_dev data structure of MSI device function > * @nvec: how many MSIs have been requested ? > - * @type: are we checki