Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp379319pxa; Tue, 4 Aug 2020 07:48:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyX8ueUR3aFukRixAFaj6pIdopN68Vom9YaOZlRYjrX0L69Ta6fSGGe+2+4UUPbzo0nb9uz X-Received: by 2002:a17:906:c8d2:: with SMTP id gc18mr23305279ejb.24.1596552504774; Tue, 04 Aug 2020 07:48:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596552504; cv=none; d=google.com; s=arc-20160816; b=tlfGLLIjRNUqs1mSkQjBZANaovekXHrCDOxmaCZ4HDvQkKD8A02eKyRqWa2ahPB0Jf oQ80gtsJniO1VlNn9q77gtxtW2bXzMWvIGLmH0gZhrtMtYK27o9F9qlbcm1d9AYTI+Th E5+0S23hBMhopyiE/44ZDGPJEmMA73FDW5EgfvZOpn8rgR9AyP6MGLXQS3pZJn6sT4Oz Sz71nUbKdEaKg0fxNkqR00cBvuWFU1wJCLQZ4DJBZSNHgl1xjrK+8Cd796UiJrim4geh 9WFxfODhyzZJk0ErE21lE4ACrWMHeUZBd23BgW4cwx/xG9SsgneE+80mMsVB0hTxFUfQ ZLIQ== 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:in-reply-to:subject:cc:to:from:user-agent :references:dkim-signature; bh=r6kGfPE/KsV7nTfH/d4o6yMleyqMBQteeLYhE/uXEe8=; b=zs8ZOFqcBTA1Ctn0iGP/8XYqhJORcP8WsyAAqurQhJsgjVIFoPrIs9jbHNQzXde+HV 0tUt2aMnZbqRc6wz7lMTjLvSCYPhSVVdZIhUEdxXEmeelPW9YI0nmycCGMixNOMZMVlP 7K+ywpeB68VCVgrnGrITDKAqIOBI4Dr9w7y5e3ZW1paXu25HgK74w8k4qI2TKu4V7gAb 2WEdMS0AcWh7bgbOLNR9+BDnLvmNIN391lvUDAlAVo9IXB9pz0NHX6th5Df8YJr75tFf Qg2rEp+d+otbBKsyStegUtXC9FJIX0DhPFafmXO55K/oYZjB6w50iTa7Yut5vx6N+sBa YBNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aVExCt4o; 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 q25si12403803edr.402.2020.08.04.07.48.02; Tue, 04 Aug 2020 07:48:24 -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=aVExCt4o; 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 S1729306AbgHDOrg (ORCPT + 99 others); Tue, 4 Aug 2020 10:47:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728408AbgHDOrM (ORCPT ); Tue, 4 Aug 2020 10:47:12 -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 B92A2C06174A for ; Tue, 4 Aug 2020 07:47:11 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id k8so3212431wma.2 for ; Tue, 04 Aug 2020 07:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=r6kGfPE/KsV7nTfH/d4o6yMleyqMBQteeLYhE/uXEe8=; b=aVExCt4oLxLR9aFvpeWEL25FVcXyMBmA32sEnExxpKELRADyd/9R8grqfipU4KCnal xw/mDJ1vB99SSCGocIuUpjfn/n+6sq37uzwOBd9mLMKkVAI+lqriN5bX9rydaC5fOnbj 0JtNaK5ZOpnv/jS7GrAf3KIXRvmO0w8y8UIlljMRS32B26TgTdXAdQygC7MBMHn5lvoP AxItZMMHNLnLZ4HD7gvVz87UAMtI4b+WfUKZPyuyAhPhQZn3H0V7TXQuP4XID2r4pBE8 0WVBskw0itNLwIU1bhZ/+0X4da9muIyp02S9F8OzsA8dAJ6ZSM4dlKp55if4+eS/15qd 3g0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=r6kGfPE/KsV7nTfH/d4o6yMleyqMBQteeLYhE/uXEe8=; b=JykkNRri3vqwOp2AeQ/Y3xMt7tCimskGHb0utOpoUPrRkub+xmD8z8LjYuezw5Xwb2 bMPI5srlRdPcmzPjD5YFg3iqLSuTleGMq76QARniD9fqgeBcHmtzoaUhJJN+W2JdxbSU TFqcD57VhfXo2ecbCk8Nc98lgIi/rLKUOl6G8kG34NAZmafgjEBrRNWkNea8/rPzYI/L SOtb2lkwHnEUzVesgl0iZyRBnH7/95Aa6hngYTJhMdVmT3grDpxJBbfU9WICfJWKRtZ8 kHPnVAN6Yi/mlB3umHQmQhu+xoFitlsqJNjwvUgVqx+PDera4PQ81Vf8tvy9Y6zvH/Cy SSkw== X-Gm-Message-State: AOAM530ci28JkLyRyBbLxoY6OKiGIMGG4lxLawtk8oVnPpZiZQf3wEp5 lIKbpzOErXseygjRE97YyvQ4ew== X-Received: by 2002:a1c:f605:: with SMTP id w5mr4306747wmc.26.1596552430480; Tue, 04 Aug 2020 07:47:10 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id t25sm4403673wmj.18.2020.08.04.07.47.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Aug 2020 07:47:09 -0700 (PDT) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 48B801FF7E; Tue, 4 Aug 2020 15:47:08 +0100 (BST) References: <20200804124417.27102-1-alex.bennee@linaro.org> User-agent: mu4e 1.5.5; emacs 28.0.50 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: Ard Biesheuvel Cc: kvm@vger.kernel.org, Linux ARM , Marc Zyngier , Christoffer Dall , Linux Kernel Mailing List , kvmarm Subject: Re: [RFC PATCH v1 0/3] put arm64 kvm_config on a diet In-reply-to: Date: Tue, 04 Aug 2020 15:47:08 +0100 Message-ID: <87o8nqmpsj.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ard Biesheuvel writes: > On Tue, 4 Aug 2020 at 14:45, Alex Benn=C3=A9e wr= ote: >> >> 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. >> > > What about PCI passthrough? That is a good point - how much of the host PCI controller is visible to a pass-through guest? AIUI in passthrough the driver only interacts with the particular cards IO window. How many quirks are visible just at the device level (rather than the bus itself)? That said I think the last patch might get dropped as long as the user has the option to slim down their kernel with the first two. > >> 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=C3=A9e (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 >> >> >> _______________________________________________ >> linux-arm-kernel mailing list >> linux-arm-kernel@lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --=20 Alex Benn=C3=A9e