From patchwork Wed Feb 3 22:56:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Guilherme G. Piccoli" X-Patchwork-Id: 1435668 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DWH9t1jY1z9sj1; Thu, 4 Feb 2021 09:56:49 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1l7R4p-0004hH-29; Wed, 03 Feb 2021 22:56:47 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1l7R4n-0004gs-Kh for kernel-team@lists.ubuntu.com; Wed, 03 Feb 2021 22:56:45 +0000 Received: from mail-qv1-f69.google.com ([209.85.219.69]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1l7R4n-0005gb-A8 for kernel-team@lists.ubuntu.com; Wed, 03 Feb 2021 22:56:45 +0000 Received: by mail-qv1-f69.google.com with SMTP id q37so681643qvf.14 for ; Wed, 03 Feb 2021 14:56:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=EF+jNHLHq8ozfGZj8Si468elLC0+9PXgPGDRF1FV2tQ=; b=AdELa5m2uXaj1RjykCd8dHYfvmk/RSg/pxR5VXBUMT0N+aWOF8r/ZwifO4wjh94QSD XsHbAfBv7MYZ1bjhokdDJOJSHYnZozJ2NxGWLwxOjrZD//8X2EMjHndnB0hkbS8gdwT3 tKYyNsHWN22YW+oCYwYY0NpPC/ZowfzruTk1GoWoDtTU+3gRUWPDBg/KH2rcglv/6aOv L+vHyiZC0LZXcUKY2oMEpIFRDjr48vOoLDO1kkTeBvy/2R7rMiwXSwBpVf9ioFkrwGhI tFZ5E2EYNu1+ipIizntV/xDL8i2CmJK+cRZuN+QTAm1IwIcvt6F3/oYFlt5G5ZJTKxy1 2YJA== X-Gm-Message-State: AOAM531hwGDO3cvnsROUUzPkmCm3zxeZEf1C4iFu5/ncugOp98cFJq7O o+cFUtcDdkahkKPhHDxp5muRLfAMmTvZpiCWGtKJ3YcXFysKILRoM0cZMXs0ec4atDv53eU/4El SOrJsorhNjPTywVe5s7BrPPr7kh0uGDywA6P3yTqofw== X-Received: by 2002:a37:d202:: with SMTP id f2mr4969616qkj.81.1612393004470; Wed, 03 Feb 2021 14:56:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJyNV8ne4cbo0VtOpM9hqLRlTbtHv+MVbCNW8ODHmms7IbYvJSJLuZoUTAD+6PzkxxXOu617Lw== X-Received: by 2002:a37:d202:: with SMTP id f2mr4969598qkj.81.1612393004189; Wed, 03 Feb 2021 14:56:44 -0800 (PST) Received: from localhost ([179.110.97.151]) by smtp.gmail.com with ESMTPSA id d5sm2691889qti.66.2021.02.03.14.56.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Feb 2021 14:56:43 -0800 (PST) From: "Guilherme G. Piccoli" To: kernel-team@lists.ubuntu.com Subject: [bionic:linux-kvm][PATCH 1/1] UBUNTU: [Config] kvm: enable PCI_MSI Date: Wed, 3 Feb 2021 19:56:34 -0300 Message-Id: <20210203225637.18614-2-gpiccoli@canonical.com> X-Mailer: git-send-email 2.29.0 In-Reply-To: <20210203225637.18614-1-gpiccoli@canonical.com> References: <20210203225637.18614-1-gpiccoli@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" 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 --- 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