PCI: vmd: Free up IRQs on suspend path
authorScott Bauer <scott.bauer@intel.com>
Fri, 11 Aug 2017 20:54:32 +0000 (14:54 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 14 Aug 2017 17:56:46 +0000 (12:56 -0500)
commite2b1820bd5d0962d6f271b0d47c3a0e38647df2f
tree1d37bde20677aaed7d504319cdb3a93bedd7b08c
parentf2586c678cb29f40a37c9c88a22b13d35484ffdc
PCI: vmd: Free up IRQs on suspend path

Free up the IRQs we request on the suspend path and reallocate them on the
resume path.

Fixes this error:

  CPU 111 disable failed: CPU has 9 vectors assigned and there are only 0 available.
  Error taking CPU111 down: -34
  Non-boot CPUs are not disabled
  Enabling non-boot CPUs ...

Signed-off-by: Scott Bauer <scott.bauer@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Keith Busch <keith.busch@intel.com>
drivers/pci/host/vmd.c