diff mbox series

[bionic:linux-kvm,1/1] UBUNTU: [Config] kvm: enable PCI_MSI

Message ID 20210203225637.18614-2-gpiccoli@canonical.com
State New
Headers show
Series Enable CONFIG_PCI_MSI in the linux-kvm derivative | expand

Commit Message

Guilherme G. Piccoli Feb. 3, 2021, 10:56 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1914283

Currently linux-kvm does not have CONFIG_PCI_MSI (and the necessary
ancillary flags) enabled, due to the nature of this derivative (to have
as few configs enabled as possible, being a minimal kernel). But after
some experiments, we've noticed that after enabling PCI_MSI we had
slighlty faster boot times and a small performance increase in virtual
devices (virtio-blk and virtio-net were tested).

Hence, this commit enables such options.

Signed-off-by: Guilherme G. Piccoli <gpiccoli@canonical.com>
---
 debian.kvm/config/config.common.ubuntu | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
index a650ad095efa..24e7d8ef685f 100644
--- a/debian.kvm/config/config.common.ubuntu
+++ b/debian.kvm/config/config.common.ubuntu
@@ -1858,7 +1858,12 @@  CONFIG_PCI_DOMAINS=y
 CONFIG_PCI_LABEL=y
 CONFIG_PCI_LOCKLESS_CONFIG=y
 # CONFIG_PCI_MMCONFIG is not set
-# CONFIG_PCI_MSI is not set
+CONFIG_PCI_MSI=y
+CONFIG_GENERIC_MSI_IRQ=y
+CONFIG_PCI_MSI_IRQ_DOMAIN=y
+CONFIG_GENERIC_MSI_IRQ_DOMAIN=y
+# CONFIG_PCIE_DW_PLAT is not set
+# CONFIG_VMD is not set
 # CONFIG_PCI_PASID is not set
 # CONFIG_PCI_PRI is not set
 CONFIG_PCI_QUIRKS=y