diff options
author | Alexander Gordeev <agordeev@redhat.com> | 2014-04-14 15:28:35 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-05-01 00:56:47 +0200 |
commit | 034cd97ebda4062eb4402a6cf963ccd262caa86a (patch) | |
tree | f9d9d74d58c21b68bd875d192d18d915196531d0 /drivers/pci/setup-bus.c | |
parent | GenWQE: Use pci_enable_msi_exact() instead of pci_enable_msi_block() (diff) | |
download | linux-034cd97ebda4062eb4402a6cf963ccd262caa86a.tar.xz linux-034cd97ebda4062eb4402a6cf963ccd262caa86a.zip |
PCI/MSI: Remove pci_enable_msi_block()
There are no users of pci_enable_msi_block() function left. Obsolete it in
favor of pci_enable_msi_range() and pci_enable_msi_exact() functions.
Previously, we called arch_setup_msi_irqs() once, requesting the same
vector count we passed to arch_msi_check_device(). Now we may call it
several times: if it returns failure, we may retry and request fewer
vectors.
We don't keep track of the vector count we initially passed to
arch_msi_check_device(). We only keep track of the number of vectors
successfully set up by arch_setup_msi_irqs(), and this is what we use to
clean things up when disabling MSI. Therefore, we assume that
arch_msi_check_device() does nothing that will have to be cleaned up later.
[bhelgaas: changelog]
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/setup-bus.c')
0 files changed, 0 insertions, 0 deletions