Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp378052pxa; Tue, 4 Aug 2020 07:46:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyP/iUuGoVkrlbB7gtoF2HmzsxvQ7CN18nr05ea0wVDNKd0qayNrQXVac27r6ohG6SLqbP X-Received: by 2002:aa7:db44:: with SMTP id n4mr21280557edt.158.1596552401754; Tue, 04 Aug 2020 07:46:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596552401; cv=none; d=google.com; s=arc-20160816; b=eRnO/Mgrpn0oz6Oc95ourj2b6ihKyFuKmBMY2K0ixyyKZY6yfK+R6picnhudmWuHys E5Kr50+uVehny/r1ovxlB6q3Z/5CbPVsoICS855t8uR1n3adLdL2M/n2q2qNAVmKAetm 2tMaQBLTNviuZhw7An5tp3fR8Q7DQQS6bvo4fn5/SqqbX9ie2v5KW+B5JxCoQBM3REvd 55emDelJr+/azNhP2crb7QK54s4VZjErkijnGFwy6Q2GBHy/n9REKongpBz3nS0WrMMU bky9nmYjx7sfz8ntT0qUjy9B+TfZEtyWctxxUx12q/hM5SswCA91aw3Uz5XU6M20Psik XSGg== 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=vrgymxZSQXp65WBXBttM1JLkMuaQfRe8wtjepY95tOo=; b=XYbMTVZR+jgAX/CMsvDbXqiuQWDi4zw3OUkPYkZQbM2PBvd+sGEiqElF3KqfmISAp+ rf7tfsuPZ2lRoIyOu1kJlJ9KCX6wTpIDWDd9ihAkYCXjOl1s/GCvwhHOVoZIj46TzXIr 0TEva5tLXlwkOtxhRJOsPGhaGXWE4y1iKYHwMJ74rUFSZEPD5MPwf+HsA7/y8b2aw41D cTBn7IAPOK3PLNhVe7HqE07TvoKItz5vETgwmHrEP+p+dXOwH2CbwnTjr+olf07aZPD+ O10WNd9hE2+1yrN5zWgkCXaW+eY8PjIP25VczrYD7drXXKNXS5x4fB1TmLFB8xmoWp7j 6SGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FvCtsbAc; 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 m14si12035508ejc.239.2020.08.04.07.46.10; Tue, 04 Aug 2020 07:46:41 -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=FvCtsbAc; 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 S1729254AbgHDOpR (ORCPT + 99 others); Tue, 4 Aug 2020 10:45:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729126AbgHDOpC (ORCPT ); Tue, 4 Aug 2020 10:45:02 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 204B0C061756 for ; Tue, 4 Aug 2020 07:45:02 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id k8so3204899wma.2 for ; Tue, 04 Aug 2020 07:45:02 -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=vrgymxZSQXp65WBXBttM1JLkMuaQfRe8wtjepY95tOo=; b=FvCtsbAcTet/H4EtE/tlCenlm0kupTJUjVY5BAvOKP8h+7HD+fwbBGKRl+3mTUg2P3 AOLJFJtqhWheJUnHcvV2gRZZl/e5Hwd0KeJvJKWc6fBfuwnqM5MEHPr9l8kuKh9SEzc6 JwGUa13Gg4QLl+aX7y0+3wbedQ8FXbbdDg7njlKIw3vrnYglMl8Bbg0Dt8/9Xfr0mIjx S7QXNV28j7r4ilqWIXx2d4FkaJUSigF4jIsFiLcXgKIAPIVfUNgI0SeLCt/aTUHz4Zqd 0FYNtKC4edmbJ2m6bxrgNQ0j/HY3t7uf/ktMC6ppPzM+H2oXHMrmQYNo7acLaSaE5m8W VzMg== 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=vrgymxZSQXp65WBXBttM1JLkMuaQfRe8wtjepY95tOo=; b=G/TE0ivbKDTBTkgMRAiHOSfPBUzea5HDDJQ9aciQdp7s7g+0wsFa6yR6T51V2xf24g ohq8zQ041R9AfamCLasKLDJbMfBlBkxPYM4caBGschSchwi/KfK8cp8ruMVgedFR2B6d OysI2iV/RYEqFJ4E6tB24yIouA4qREs7u3v8iTwD7QwzF95UNbhoqL/g7VaBN8w48MNJ h8DJ9YFoxJ5IMqFXu8OrYAdhhSj37DGmcBADwlNeXQDjBeACaPyn/OXrF3AmKu/OirxW 1hBbXLOO16as3CWFweVTUanj4S2kggT7LmXDanaK1UlAeZc0WHV4F+JK1fBv60jqmgSp OYGw== X-Gm-Message-State: AOAM531DAHmfWjRSIfbTBOFwargYOkl17jim2NMtKiWBsrzW4EeDKPVj oDmE+o0kzKkdFBh+z5F7zaj3eQ== X-Received: by 2002:a1c:9c14:: with SMTP id f20mr4399867wme.77.1596552300706; Tue, 04 Aug 2020 07:45:00 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z11sm29149417wrw.93.2020.08.04.07.44.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Aug 2020 07:44:59 -0700 (PDT) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A1F311FF7E; Tue, 4 Aug 2020 15:44:58 +0100 (BST) References: <20200804124417.27102-1-alex.bennee@linaro.org> <20200804124417.27102-4-alex.bennee@linaro.org> User-agent: mu4e 1.5.5; emacs 28.0.50 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: Marc Zyngier Cc: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kvmarm@lists.cs.columbia.edu, christoffer.dall@arm.com Subject: Re: [PATCH v1 3/3] kernel/configs: don't include PCI_QUIRKS in KVM guest configs In-reply-to: Date: Tue, 04 Aug 2020 15:44:58 +0100 Message-ID: <87r1smmpw5.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 Marc Zyngier writes: > On 2020-08-04 13:44, Alex Benn=C3=A9e wrote: >> 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. > > Who says this guest will only have virtio devices? This is true - although what is the point of kvm_guest.config? We certainly turn on a whole bunch of virt optimised pathways with PARAVIRT and HYPERVISOR_GUEST along with the rest of VirtIO. > Or even, virtio devices without bugs? Given that said device can > come from any VMM, I'm not sure this is the right thing to do. Perhaps this patch is one too far. I don't mind dropping it as long as I can still slim down the kernels I know don't need the extra bloat. > > Thanks, > > M. > >>=20 >> Signed-off-by: Alex Benn=C3=A9e >> --- >> kernel/configs/kvm_guest.config | 1 + >> 1 file changed, 1 insertion(+) >>=20 >> diff --git a/kernel/configs/kvm_guest.config=20 >> 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=3Dy >> CONFIG_BINFMT_ELF=3Dy >> CONFIG_PCI=3Dy >> CONFIG_PCI_MSI=3Dy >> +CONFIG_PCI_QUIRKS=3Dn >> CONFIG_DEBUG_KERNEL=3Dy >> CONFIG_VIRTUALIZATION=3Dy >> CONFIG_HYPERVISOR_GUEST=3Dy --=20 Alex Benn=C3=A9e