From patchwork Tue Aug 4 12:44:14 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: 11700357 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 C0277722 for ; Tue, 4 Aug 2020 12:44:43 +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 AA4132067D for ; Tue, 4 Aug 2020 12:44:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YfecP5jJ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xmDdxPVB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AA4132067D 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: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:In-Reply-To:References:List-Owner; bh=WTWrwce28My09FOoxnpKPGWKQnVYkGhrq8Z5opHPlMA=; b=YfecP5jJinPu+3eRhVyZ0Lo0pn PQFnWpA8z9BVcyY8JTgsLPlUPL4a6CsiB3C04i5S1G3920YR0tAYD6kjf2oY6/jm/iX6bnxOpvFgR qcNAF3M908TP/wQmIAu4oCW9g5jcaD3amq49AUSs99Cr+GdaM5nPZ1MYq2RMLD/f+XqPCUBsaOopq 3O2KhZtEkftDe4PHMtlplYD/Ln+6g1GTONpVuRpy9VrBA12Y+hjT86fgWFFre4NRVaLAaEgr1QRr+ oGJnkqpRZxqlTmVdbg0nG+9EahRX+Eag4VcVEhcWoxXlSb5h0/x10brnB3uD5Ow1qwyqV9KqcmESX Y2dksNdA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2wIt-0003KL-P5; Tue, 04 Aug 2020 12:44:27 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2wIo-0003J1-Pw for linux-arm-kernel@lists.infradead.org; Tue, 04 Aug 2020 12:44:25 +0000 Received: by mail-wm1-x344.google.com with SMTP id q76so2766108wme.4 for ; Tue, 04 Aug 2020 05:44:22 -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:mime-version :content-transfer-encoding; bh=pXFf5i+ccqczXVXTg/nZ29LHnMvff9vMvvoJKipTK/k=; b=xmDdxPVBebllwYSXr8MTF5/0WVgZGKSZUMcEmtg1Yb6lXQo90+6kVdw3cQCf4XLw2a M7kb5BeEfu2MZRYypdtYVL7FuPiQ9THnz2WAl4CNEiw92SXD1Gp2UD3XZwg82u3Ec4mv t3ZWzvYQJ2a0G4okutZQe+5ypiJzpjGTq3/5YMxxkhi1n/QDZTKpGr0WFAPJg4NFSYxF rzXEuRDF0jzSKq3FW5Wgttxs2iCjBLDtl0PSrYbT2lfK2UrFozrTRxtfl4VFYOEwim7v WZZ0lo3eI2JwOsiFmXAMwp3UwPLdLcwIVZCe4upmuSA1YTH3p9bYdrrABYOA4zvUNdI1 7UHA== 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:mime-version :content-transfer-encoding; bh=pXFf5i+ccqczXVXTg/nZ29LHnMvff9vMvvoJKipTK/k=; b=ETtGXiPeozP5NUzPjTiWD7PStpLU8zeCEKFKSAqBJLoyuqMGIM/EcH3gvdxnhZrAi8 JLLnhnQ/vGsMg1O5tIbI7cAAQBHsThhUGoiINbxg/79pUmUouZMclDZrQb1qOlq3rLe9 QDcYvHCcnd1TA1267n2cLasWTXKD+nGRx970NchVq36OkbI63FH3u3PIAjJS3x27y83v mHYmXW+hYpe9fr2pgNG3Ew8CSGeSG5y2j+eUnwjPhL7W69A6XPMpCiuV63d0HMOEEOzU qKATbkp5iBMy9/BjYMekg3/YXBwcW/H+ZbwTw661JZlmcnlgujVulwzBEV1KgtiH1gC3 0dKw== X-Gm-Message-State: AOAM530LOSvfyv/tuLgvFBuKhwZ370HM56PlV4MdnoIaNYr3n5j4RVFC KvMLKhXR3lnEHTa7rhHTYYgQvFDVpV0= X-Google-Smtp-Source: ABdhPJxSYL3nLFynYC8/0kcrhha40SMBrbJj4GceYNd50xdCxUrISm9qcztn279uGdoJsV28A5ASGg== X-Received: by 2002:a1c:1bc4:: with SMTP id b187mr3879098wmb.175.1596545061671; Tue, 04 Aug 2020 05:44:21 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id 15sm4107897wmo.33.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 77F6D1FF7E; 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: [RFC PATCH v1 0/3] put arm64 kvm_config on a diet Date: Tue, 4 Aug 2020 13:44:14 +0100 Message-Id: <20200804124417.27102-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200804_084422_874073_8AE7A6F2 X-CRM114-Status: GOOD ( 14.02 ) 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:344 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 Hi, When building guest kernels for virtualisation we were bringing in a bunch of stuff from physical hardware which we don't need for our idealised fixable virtual PCI devices. This series makes some Kconfig changes to allow the ThunderX and XGene PCI drivers to be compiled out. It also drops PCI_QUIRKS from the KVM guest build as a virtual PCI device should be quirk free. This is my first time hacking around Kconfig so I hope I've got the balance between depends and selects right but please let be know if it could be specified in a cleaner way. Alex Bennée (3): arm64: allow de-selection of ThunderX PCI controllers arm64: gate the whole of pci-xgene on CONFIG_PCI_XGENE kernel/configs: don't include PCI_QUIRKS in KVM guest configs arch/arm64/Kconfig.platforms | 2 ++ arch/arm64/configs/defconfig | 1 + drivers/pci/controller/Kconfig | 7 +++++++ drivers/pci/controller/Makefile | 8 +++----- kernel/configs/kvm_guest.config | 1 + 5 files changed, 14 insertions(+), 5 deletions(-)