PCI: vmd: White list for fast interrupt handlers
authorKeith Busch <keith.busch@intel.com>
Tue, 8 May 2018 16:00:22 +0000 (10:00 -0600)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 28 Jun 2018 16:25:33 +0000 (17:25 +0100)
commita7f58b9ecfd3c0f63703ec10f4a592cc38dbd1b8
tree01d129814594762f718149de65d8e3fc2d436455
parentce397d215ccd07b8ae3f71db689aedb85d56ab40
PCI: vmd: White list for fast interrupt handlers

Devices with slow interrupt handlers are significantly harming
performance when their interrupt vector is shared with a fast device.

Create a class code white list for devices with known fast interrupt
handlers and let all other devices share a single vector so that they
don't interfere with performance.

At the moment, only the NVM Express class code is on the list, but more
may be added if VMD users desire to use other low-latency devices in
these domains.

Signed-off-by: Keith Busch <keith.busch@intel.com>
[lorenzo.pieralisi@arm.com: changelog]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Jon Derrick: <jonathan.derrick@intel.com>
drivers/pci/controller/vmd.c