Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp287076pxa; Tue, 4 Aug 2020 05:47:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9+3qa2XGpg2AZJBYllUejk0Ba+BbiwCT800KE2l3mCTFJmOLDvMCn1XHFAFvvFrjAg8zf X-Received: by 2002:a05:6402:13d4:: with SMTP id a20mr5559209edx.161.1596545267028; Tue, 04 Aug 2020 05:47:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596545267; cv=none; d=google.com; s=arc-20160816; b=GkkeOGPBaoTbMeaKTG7jD5+aRdFSWZltGvrgz0CZVx74JA/ebSCA6e37Zr6y2ZelcU 7LBsNCWyXS+0uVm5AyU1hUsw5NG43VwOIZ1y9qneQ+xRIXbyySN1fsppAhLdpxUNstyt uWDGoo2EI3xGA7+ijAU3f9x9ZH6FcdrRw2pShE1W/9W26kSBcJ5efh9KpWoDJRuBO+2c jKq+zUEbEnAHpdosZHR03VUEkE883QhEf3GCOfn1v7Q5Xdh3a5b+ffRg8FLq0onsqOuQ xqUNc7krWiM5SCxABJn0Peoqjc36GO9GTEDQ5rp1Ljg0ZFUf1ma6jTXaDeg5GWxcyLdb YYzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=pXFf5i+ccqczXVXTg/nZ29LHnMvff9vMvvoJKipTK/k=; b=RfTazW767dLvGEBGuy33omzwVINRQ0Cgq51EQqJxf1xaNYoejyWEVkJ5Dyt/2YUjNF Gf6N3+4dZOfrBd4mMBf/GWXzbRAmD0kvxf9LBLoxKw568g+IFmtiYmp5XhYadGuEhmOY ZtCbPxtarSQ3xLbA62Heuv39qi9luCprVXTrtqRrww/tAtxZtVLpZDD3icv9JTWNJKQd f3LGF/ZSbIQqIsbA555XTItQS8Gb35y6umy8VyHl6/Z3Rf1zb28bJswESy8bPhDZo2fk 7sJileTQPQ4yFW4xHoyjy823ZIebn3VMqe+GPucTlm2KcC2Uj88pK6XdVW1Crqr34KOg fe+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xmDdxPVB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id do15si4231698ejc.571.2020.08.04.05.47.23; Tue, 04 Aug 2020 05:47:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xmDdxPVB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727997AbgHDMrG (ORCPT + 99 others); Tue, 4 Aug 2020 08:47:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728254AbgHDMoX (ORCPT ); Tue, 4 Aug 2020 08:44:23 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8EF6C061756 for ; Tue, 4 Aug 2020 05:44:22 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id t14so2778808wmi.3 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=MXDZwsWSCACI8ea/4WSQZ6fRg0bmR0AJmcO+S0z6fPxVnPzVKrGAjOYc9ae07eBi9S skPLO6A3ijoDcnEqbUJzF/y7ZSjBkok0N01f9b4ypsl3EeD2NqSiX2JU+JHgl9HA+cVF o+7De4EWSOIETlQ8PkncF6c/5kVRiIlyM7YvktZvNJ6JokGE50jG/nVwQ+a+Fu+6OEA+ 6sZquMRu0EoF47ti4aqLpvemc5mSdhH12czvfGB2KAxvxyxTALadda72vAet5L271pX+ ZzhuuIZZGIN+Jsy8NLKaNYRhSgDi5B9zXdmDi0BLRVvk1dkEdyTRIt5Ye8VpxbFdVExa NNOA== X-Gm-Message-State: AOAM5319qJDJy6vUmtfjlaJTRcq/iFgsKAei4EM9gDb2ogem5Ac0B20L TOgJAbKh/PgsmculVHNi/ztSGQ== 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=20Benn=C3=A9e?= To: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, kvmarm@lists.cs.columbia.edu, christoffer.dall@arm.com, maz@kernel.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(-) -- 2.20.1