Skip to content
Commit 46a6561b authored by Keith Busch's avatar Keith Busch Committed by Bjorn Helgaas
Browse files

PCI: vmd: Remove IRQ affinity so we can allocate more IRQs



VMD hardware has to share its vectors among child devices in its PCI
domain so we should allocate as many as possible rather than just ones
that can be affinitized.

pci_alloc_irq_vectors_affinity() limits the number of affinitized IRQs to
the number of present CPUs (see irq_calc_affinity_vectors()).  But we'd
prefer to have more vectors, even if they aren't distributed across the
CPUs, so use pci_alloc_irq_vectors() instead.

Reported-by: default avatarBrad Goodman <Bradley.Goodman@dell.com>
Signed-off-by: default avatarKeith Busch <keith.busch@intel.com>
[bhelgaas: add irq_calc_affinity_vectors() reference to changelog]
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent e2b1820b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment