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

Guilherme G. Piccoli gpiccoli at canonical.com
Wed Feb 3 22:56:34 UTC 2021


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 at canonical.com>
---
 debian.kvm/config/config.common.ubuntu | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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
-- 
2.29.0




More information about the kernel-team mailing list