From patchwork Tue Aug 4 12:44:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 11700361 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 223C61575 for ; Tue, 4 Aug 2020 12:44:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0CA44208A9 for ; Tue, 4 Aug 2020 12:44:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="DfT+qzie"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="T8YDxwS+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0CA44208A9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=swGnAeoeeuSdZd30CxaKtb92g0VJSnujF6Cf4phMq5A=; b=DfT+qzieps3G5kQT8o4gFLtcQ xBVNI3H1sLkssZRuXq7HBxRdbYSho5SUKpdKQkOW3rF+/5RJ0urQ5Bbrcgwzp88B4V+gvLJMnbzUc vyQQJ3rLgS8cpV3DetwkZmsyfjKtScBTD/+d4/e49toddzhTeQ8I2jEKHqye51+Fhw5p/Ug+yM6n0 l3p6LKJWx8g1/g+nO+QBCXzG/mWDzlSZ3NowZftfJ8FafxyQT+diU+b0w/88sGL65BRkOn/3136j+ c4StuZdjwLPrh+QM0erleZhv5M92qZP3+SCQqGacf6l1R76p64bhXbVTATUC9//gvsAjcq0HunHlM 1eFSSKsvg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2wIy-0003LD-9q; Tue, 04 Aug 2020 12:44:32 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2wIs-0003JY-J5 for linux-arm-kernel@lists.infradead.org; Tue, 04 Aug 2020 12:44:27 +0000 Received: by mail-wm1-x342.google.com with SMTP id c19so2120721wmd.1 for ; Tue, 04 Aug 2020 05:44:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bN3d8Ia77BH2nBiHDQ6zBNPByWQO01hAGf1Nc3k/FjU=; b=T8YDxwS+GAi/l87EqEDVnHA6L2vWdoJLRomogp4zswguktwRhtfY6a3S80oC+la+7Y uBOGZPkWUazcUyhEPQsfO3QZ16muTbOfxNxa4uXdYwfXdmkfVzoMRSW4m/T7f0i4RLf7 dX+k8C7kUSi09yoGq/WkXRUuQWQIUOu80qSJ8B9K9QLhl5toYoFUrNUqUcTwdRw8GrmH fMUA0SnmjEveRBv57i02a+TxYyxNXCrEDBzYs7JuFuOONWrjDdCFY0ND5r47wpeLc24V fJMl0bur8BNgusZj++pQeoEnXBDmf1q7b4PbFj3Wzq0ri29fof8CCFp8ai4icK9pDdY1 JhtQ== 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=bN3d8Ia77BH2nBiHDQ6zBNPByWQO01hAGf1Nc3k/FjU=; b=bBB8XVq0lpZ35gLWOQu1H3JXvOoV2VWRcbVaCieGEntWJel9GgVlrwsHJYxXMO9+Nz sE/o3bRu3u4nCy+PBiinOef9IJvU4daxyymyJjrB0iwJI9i7XR4gep2zuwBFyCpIi0qG mJjs5VRyDe4RR0xWwWwrR5VI3+ozxpKODU5JzASpYer1uvaxWNpq2BRri5PZz5fNKOz8 pJKXtYB1O+o04CdPGasUNVHud7yta6TLTpx02nfrQmR6kOObY5mUrUTjZEZMuuVyd8Gk QqNiekavQzxvuTfcrl7XTro7X7m28xO+EdCXvRaJvBsGe5WcXs2gCDoqt4OF7bzoaEV5 Bvqg== X-Gm-Message-State: AOAM530F5H4+jChv4PGKGfWbrNOXEWFMOJ8UcdH8OD8r17BW7ckb08u5 VxRq7BnR5/bcl/D8Lc8MrWzZfQ== X-Google-Smtp-Source: ABdhPJz9A0fUr0s+57vaSQaPT8GQEVwMIBWtT6cib6RQGYxAGZypLJ4R2NHV8/yEEKGRo0R1n0bqCQ== X-Received: by 2002:a7b:c257:: with SMTP id b23mr3829607wmj.164.1596545062751; Tue, 04 Aug 2020 05:44:22 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id b137sm4843577wmb.9.2020.08.04.05.44.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Aug 2020 05:44:18 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 860581FF87; Tue, 4 Aug 2020 13:44:17 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 1/3] arm64: allow de-selection of ThunderX PCI controllers Date: Tue, 4 Aug 2020 13:44:15 +0100 Message-Id: <20200804124417.27102-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200804124417.27102-1-alex.bennee@linaro.org> References: <20200804124417.27102-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200804_084426_695057_B07465C0 X-CRM114-Status: GOOD ( 15.32 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:342 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: maz@kernel.org, christoffer.dall@arm.com, linux-kernel@vger.kernel.org, Robert Richter , linux-pci@vger.kernel.org, =?utf-8?q?Alex_Benn=C3=A9e?= , kvmarm@lists.cs.columbia.edu Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org For a pure VirtIO guest bringing in all the PCI quirk handling adds a significant amount of bloat to kernel we don't need. Solve this by adding a CONFIG symbol for the ThunderX PCI devices and allowing it to be turned off. Saving over 300k from the uncompressed vmlinux: -rwxr-xr-x 1 alex alex 85652472 Aug 3 16:48 vmlinux* -rwxr-xr-x 1 alex alex 86033880 Aug 3 16:39 vmlinux.orig* Signed-off-by: Alex Bennée Cc: Robert Richter Cc: linux-pci@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org --- arch/arm64/Kconfig.platforms | 2 ++ arch/arm64/configs/defconfig | 1 + drivers/pci/controller/Kconfig | 7 +++++++ drivers/pci/controller/Makefile | 4 ++-- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 8dd05b2a925c..a328eebdaa59 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -253,12 +253,14 @@ config ARCH_SPRD config ARCH_THUNDER bool "Cavium Inc. Thunder SoC Family" + select PCI_THUNDER help This enables support for Cavium's Thunder Family of SoCs. config ARCH_THUNDER2 bool "Cavium ThunderX2 Server Processors" select GPIOLIB + select PCI_THUNDER help This enables support for Cavium's ThunderX2 CN99XX family of server processors. diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 2ca7ba69c318..d840cba99941 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -199,6 +199,7 @@ CONFIG_PCI_HOST_GENERIC=y CONFIG_PCI_XGENE=y CONFIG_PCIE_ALTERA=y CONFIG_PCIE_ALTERA_MSI=y +CONFIG_PCI_THUNDER=y CONFIG_PCI_HOST_THUNDER_PEM=y CONFIG_PCI_HOST_THUNDER_ECAM=y CONFIG_PCIE_ROCKCHIP_HOST=m diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig index adddf21fa381..28335ffa5d48 100644 --- a/drivers/pci/controller/Kconfig +++ b/drivers/pci/controller/Kconfig @@ -286,6 +286,13 @@ config PCI_LOONGSON Say Y here if you want to enable PCI controller support on Loongson systems. +config PCI_THUNDER + bool "Thunder X PCIE controllers" + depends on ARM64 + select PCI_QUIRKS + help + Say Y here to enable ThunderX ECAM and PEM PCI controllers. + source "drivers/pci/controller/dwc/Kconfig" source "drivers/pci/controller/mobiveil/Kconfig" source "drivers/pci/controller/cadence/Kconfig" diff --git a/drivers/pci/controller/Makefile b/drivers/pci/controller/Makefile index efd9733ead26..8fad4781a5d3 100644 --- a/drivers/pci/controller/Makefile +++ b/drivers/pci/controller/Makefile @@ -45,8 +45,8 @@ obj-y += mobiveil/ # ARM64 and use internal ifdefs to only build the pieces we need # depending on whether ACPI, the DT driver, or both are enabled. +obj-$(CONFIG_PCI_THUNDER) += pci-thunder-ecam.o +obj-$(CONFIG_PCI_THUNDER) += pci-thunder-pem.o ifdef CONFIG_PCI -obj-$(CONFIG_ARM64) += pci-thunder-ecam.o -obj-$(CONFIG_ARM64) += pci-thunder-pem.o obj-$(CONFIG_ARM64) += pci-xgene.o endif From patchwork Tue Aug 4 12:44:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 11700359 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ECF2D722 for ; Tue, 4 Aug 2020 12:44:44 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D7BC92067D for ; Tue, 4 Aug 2020 12:44:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="c130mta9"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="nMnqkLp9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D7BC92067D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=tIFjahGukQ7CZn9G/HPXufVqE34adK5IRCttRtz8w68=; b=c130mta9HjGQ/uuwsYvbdGLOO WeNjK9qE2LQeVeetQI3GLpUh8xJ5+Qc+KpYKyGYbRuNqmQ7R+NqoMaEI5u16ff+c2JaCK4+gjQXjG oXGrCXrkjptKCBAc7F+5RgO+p82SSREwF8gqM3s8GX8cDXBdTe28qT3cbRjpbJMRCzf5j+IJHW/Oy 8FaF0iCaVHxvH9gN4L8g6yUT2jbKRLpVsgWnd/GosrU0VEjTTMxRPPED2SnBcI54yABRuK/CDz3WC LxUaOKVYZK3nY/uLd42kBBjNMvtVp2W7sHmCZkbcrPXn318RzoKrYlBniAjFVh9hOvJg7wVHAtBr2 ONIbKPD6w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2wIw-0003Ko-8w; Tue, 04 Aug 2020 12:44:30 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2wIp-0003Iz-GU for linux-arm-kernel@lists.infradead.org; Tue, 04 Aug 2020 12:44:26 +0000 Received: by mail-wm1-x341.google.com with SMTP id 3so2784575wmi.1 for ; Tue, 04 Aug 2020 05:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kh3fLdhtAK8iltYl6aGsCpfSwDzQcJQDII6+Lr3Ir4w=; b=nMnqkLp9MyaD7mVBWPOdpipOJAA/A+eqGB2+7v2AnGvajHcTmtJGzfEa8AObnk3OGO X6yzj+zqibdmVd52uW6BsVLE1twlWOD8iHOgBNZ4VGgtFVF3pWYXGAqPfb8l+53YHRNG fkEUw2haM1Xyld8Y5Y4NGy7cZi9KRdEu+s1yEngpns9vBqo+5u5vyUfrDXyt3ivwb/rB clg/7E3xKGUCx24uRr1RBdN9jkogBMFaY3KQRg6bWxxmOvo5fYHBnXt+k0Nf+/PDBu2f s6HexrWOx4jElhs7Dd34qf7UdiQd6LCDGnCq2XOnNawU9uylFjuZkOHE2fgbsJFmSbff SnFA== 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=kh3fLdhtAK8iltYl6aGsCpfSwDzQcJQDII6+Lr3Ir4w=; b=F/x8rsVtA4NUJklCiTI+atbtoAFP12Wi3S4qcsFt0kLI9rcmk/9K4lqPWUYzA39Tu0 CjMzBIKAhHKLsdluS+1+5XAWo55SME5u2FQrqmLnEO0KhJksD3vLrOQO4rl5XRJay0xF swH1ySbaOE+QXhVMVuhbA8wer315axqdSFqkGu9uOW6u+B7QB3Wo8PhF3wQR/6i8o1nY JI58WQCRjQ6wn6L0aY+6C1uTQwbdzyQeNnjfbhiGRpDdFvZLKnnTNUOQyZawOjPQS64r W/HM7dGzXC8pbIAksPdWmyCb/n+PhwoSFFWJa8hsXDq4fgJ4AiMLDUV7vhdY60c29BRL m/2A== X-Gm-Message-State: AOAM530kAKVYutOZkPvy3nqdSNB27l5qpdAXOs5ViEl3W7gLyLqubt4Z lQTV0xnlEQ3mfTaDCEnzMFfy7R0W2og= X-Google-Smtp-Source: ABdhPJxlETqHM58ekeF7YRtlEWgL6bu7W0dZE0N/3gry/XAbgEfMhCjsPaytXate5VOSsOPSdbiQrg== X-Received: by 2002:a1c:7702:: with SMTP id t2mr3859731wmi.169.1596545060810; Tue, 04 Aug 2020 05:44:20 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id r206sm4554096wma.6.2020.08.04.05.44.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Aug 2020 05:44:18 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9218B1FF8C; Tue, 4 Aug 2020 13:44:17 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 2/3] arm64: gate the whole of pci-xgene on CONFIG_PCI_XGENE Date: Tue, 4 Aug 2020 13:44:16 +0100 Message-Id: <20200804124417.27102-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200804124417.27102-1-alex.bennee@linaro.org> References: <20200804124417.27102-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200804_084423_564689_5B940F20 X-CRM114-Status: GOOD ( 11.84 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:341 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: maz@kernel.org, christoffer.dall@arm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , linux-kernel@vger.kernel.org, kvmarm@lists.cs.columbia.edu Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This is a little weirder as bits of the file are already conditioned on the exiting symbol. Either way they are not actually needed for non-xgene machines saving another 12k: -rwxr-xr-x 1 alex alex 86033880 Aug 3 16:39 vmlinux.orig* -rwxr-xr-x 1 alex alex 85652472 Aug 3 16:54 vmlinux.rm-thunder* -rwxr-xr-x 1 alex alex 85639808 Aug 3 17:12 vmlinux* Signed-off-by: Alex Bennée --- drivers/pci/controller/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/pci/controller/Makefile b/drivers/pci/controller/Makefile index 8fad4781a5d3..3b9b72f5773a 100644 --- a/drivers/pci/controller/Makefile +++ b/drivers/pci/controller/Makefile @@ -47,6 +47,4 @@ obj-y += mobiveil/ obj-$(CONFIG_PCI_THUNDER) += pci-thunder-ecam.o obj-$(CONFIG_PCI_THUNDER) += pci-thunder-pem.o -ifdef CONFIG_PCI -obj-$(CONFIG_ARM64) += pci-xgene.o -endif +obj-$(CONFIG_PCI_XGENE) += pci-xgene.o From patchwork Tue Aug 4 12:44:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 11700367 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B08B9138C for ; Tue, 4 Aug 2020 12:46:30 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 99FB4208A9 for ; Tue, 4 Aug 2020 12:46:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BFU1/5NA"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Riv8iutg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 99FB4208A9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YhlSuRMAQXCbBp2dyH30sI0JxSD0SgHUFxzy/wy0SUM=; b=BFU1/5NAfox3BahI+7LIifI43 O5lGrORBIcnx3fo0ktIgnlyhnutpqDAhJ0NHT36rNfKzLhf/jleNJr2ARYXSBX8N4MeoYN80RpyS4 C03Bajs42oPPzjrQ6VpAsO9IKLBzC47Fq/QKDBTMW6zedmXlMY3cwbtOPYarOHvp3uKVUV2fvhseh iIGWLa3fQBPu4oLdOtCdiTct1J0LkjL0EavWXQHBHkJSCugYb6kZxXUMFWZe8dgnFN5yupHka7V/l OUIZqedY23wq2pVDWTPII4itudn/obejZ2DlutxMWdUgaNbYHmJTuhWb7gyN9UWcNf4OqikLNUWJ5 WAF99si7A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2wIv-0003Kc-7n; Tue, 04 Aug 2020 12:44:29 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2wIo-0003Ix-Es for linux-arm-kernel@lists.infradead.org; Tue, 04 Aug 2020 12:44:25 +0000 Received: by mail-wr1-x441.google.com with SMTP id l2so26724556wrc.7 for ; Tue, 04 Aug 2020 05:44:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CYDox3KQ1JETO7R6nCajEi5q9XM0wuEKwlQrdfldtzE=; b=Riv8iutgfQUgNDMN92DtQvb/ueHJ6AIreMGAIsPCtm4ILvbZOn+PBNFru/JxFRQn+a 9TfiKx4DTAO1/mtV9wsMqag4ynofuu+qJ8KcnT0H01tQepbNaqDTZvqQvMuZtPQBOduf CxLDVXhPdqFLT0zbGguTGrJKZfH+S/lGnAzhvNTBi0FcUKC5HJp/+r/qZDgMqCN1u61M ZIBRfcVMUR48Uz0nrWv/JeBjsaFxjG5I/w8jfhHReJuMa+Pm25oX2mloao7+N1Yr/e42 uovU2IyFUipCeXc7bYv0WjUNANHbOH3ka4foDQ5we7li93TpmE8H4yyBhs21Q8mbmEQA 00PQ== 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=CYDox3KQ1JETO7R6nCajEi5q9XM0wuEKwlQrdfldtzE=; b=qiionck0ClTzdY1rgNCQvOinaTd0uJMQZkgwy2GKFUI3wT99LvhUyBbGwolrpbS8k4 Bd2tLYpzO9gqwPTj2K2McT32l0PTOaedQoUhphsMwBBF81i+zhURQFIOpVHc2fZJrzPm e0LM611lBJhnTLTI7mESm0lI37X6EQvwszrBEfkfMQpvdzUg2OxnyAexcAyeZHKWhKhv lD0tpgGH8B72nOd/kAVPJwkaXewzGC2BQjS8j1eD0xqBXt5xCDZKdscbQVZWatGTFlmb TnYtlUO2W+eRPZaXjrACNWOjeAGSCF8NVPiwMDPxBq/2kN2P3ugAFgVTokjArtIqncQN RpHw== X-Gm-Message-State: AOAM531JG1jpk35Wr2hUzAnkXVHbbqbXBZ5zEoT34yWv1iOtHJqrbDV7 pTnQd5a9AxwYjOSGU+PeJiJxjw== X-Google-Smtp-Source: ABdhPJy369HvI22rb0UHPSZq9AsVjFavkg1pT+b1lsUC4Du192zTR5pC4Bv0+KzFRIkrLbZspUmmgg== X-Received: by 2002:a5d:6a4a:: with SMTP id t10mr20525689wrw.360.1596545059657; Tue, 04 Aug 2020 05:44:19 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z207sm4576048wmc.2.2020.08.04.05.44.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Aug 2020 05:44:18 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9DC9E1FF8F; Tue, 4 Aug 2020 13:44:17 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v1 3/3] kernel/configs: don't include PCI_QUIRKS in KVM guest configs Date: Tue, 4 Aug 2020 13:44:17 +0100 Message-Id: <20200804124417.27102-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200804124417.27102-1-alex.bennee@linaro.org> References: <20200804124417.27102-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200804_084422_794296_C9279B10 X-CRM114-Status: GOOD ( 11.51 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:441 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: maz@kernel.org, christoffer.dall@arm.com, =?utf-8?q?Alex_Benn=C3=A9e?= , linux-kernel@vger.kernel.org, kvmarm@lists.cs.columbia.edu Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The VIRTIO_PCI support is an idealised PCI bus, we don't need a bunch of bloat for real world hardware for a VirtIO guest. Signed-off-by: Alex Bennée --- kernel/configs/kvm_guest.config | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/configs/kvm_guest.config b/kernel/configs/kvm_guest.config index 208481d91090..672863a2fdf1 100644 --- a/kernel/configs/kvm_guest.config +++ b/kernel/configs/kvm_guest.config @@ -13,6 +13,7 @@ CONFIG_IP_PNP_DHCP=y CONFIG_BINFMT_ELF=y CONFIG_PCI=y CONFIG_PCI_MSI=y +CONFIG_PCI_QUIRKS=n CONFIG_DEBUG_KERNEL=y CONFIG_VIRTUALIZATION=y CONFIG_HYPERVISOR_GUEST=y