]> git.baikalelectronics.ru Git - kernel.git/commit
x86/PCI: VMD: Allocate IRQ lists with correct MSI-X count
authorJon Derrick <jonathan.derrick@intel.com>
Mon, 29 Aug 2016 17:19:01 +0000 (11:19 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 19 Sep 2016 18:14:05 +0000 (13:14 -0500)
commit440403e3d9c4a32499b2531be2a9f7161772a9f9
tree12af9daa5a8c40032daf3e55a3dc7d76ea199a6a
parent4b9e5287f038a0e445f3c2c6962bde574139eee5
x86/PCI: VMD: Allocate IRQ lists with correct MSI-X count

To reduce the amount of memory required for IRQ lists, only allocate their
space after calling pci_msix_enable_range() which may reduce the number of
MSI-X vectors allocated.

Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
arch/x86/pci/vmd.c