]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2018 19:12:41 +0000 (11:12 -0800)
commita5d415583c307818e62a34ca16d37c93e003fb34
treeb7cb59207b5e860cb285e8ed2908e9caec8d4ccb
parenta06dfc8d5e184b48972a5e8c44385ab787b8e5b3
PCI: vmd: White list for fast interrupt handlers

commit a7f58b9ecfd3c0f63703ec10f4a592cc38dbd1b8 upstream.

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>
Cc: "Heitke, Kenneth" <kenneth.heitke@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/controller/vmd.c