Received: by 10.192.165.148 with SMTP id m20csp1689759imm; Thu, 26 Apr 2018 00:21:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+kxGsC4m9dfMKzwwvaRhJSAVp7j4GWl+wDnVCcDs5xUAwBN+5whFg3ihu921Z6tbKls3SA X-Received: by 10.99.189.26 with SMTP id a26mr26633246pgf.157.1524727286044; Thu, 26 Apr 2018 00:21:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524727286; cv=none; d=google.com; s=arc-20160816; b=PQuWuCbLhfbEFFZFrpOdoQgJ6rUM4TzOwvgJGlvsfYu2X6fXW/BBQ5P+0Fq/q31049 QZHMk+wHHmJwVF3QvFyPXMZb3n+McCt8JGzyPrHPEE24rFvZ6aXoMDKKmiVSZA2vZwNn GTApCiS85dA2T916ntXwrKu/Jv3NfoFHcmWlnPrHdihZI7TY9JX0dDgLh5p8HAtWvdsc Z+kZIQk5PWiqW77zog4wW89qCOByz8SVAlPvkqkrv8nWxEPCQ14YTqQIMMIJmefU+I2F Hihe9ZbGp2zHNuZ/Bl64m1vimk0+Hunfh+S5FpcSxv71AqlqRtr9WJYRr6dEtqhGPHta v1fQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:from:references:cc:to:subject :arc-authentication-results; bh=nqZ01vKEf0sxQg2YweQPy8jfa9VmNlKJB2utGYEqs+c=; b=ioGf99JYeKNOEAgAq6nMouqcW3u3ZpP9Mjcx0tnlscn3o5WpegwgShDDbx4ftJV9m/ HO1EXDINdzHZlOouKfmjjBzMl5+s9++pf5IUIVjdHpW9g9VKjPGIU0HgimLazrIbl/Af 6Q6C48F4fpVmGf1ly2193HgVknmhs48WZCpW7Ka/MfXpWbxKtr9mg0y83IDkdMXRQyXV mEyAl8EpdwRO5zl3ehBp0C+jegBz/DOYOBa4L4O1y1Kf3pe6b3HFPP8oDTWKyVpBbVb2 fRCtp8o9jLd+JZoYcejCS594uTB6vQlOwHfM0BI6YeHvfG/YaMJ46cRIRGAKMwLpI+Rl MH1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6-v6si18680696plo.534.2018.04.26.00.21.12; Thu, 26 Apr 2018 00:21:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754128AbeDZHUE (ORCPT + 99 others); Thu, 26 Apr 2018 03:20:04 -0400 Received: from thoth.sbs.de ([192.35.17.2]:44562 "EHLO thoth.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753088AbeDZHUD (ORCPT ); Thu, 26 Apr 2018 03:20:03 -0400 Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w3Q7JeZT031403 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 26 Apr 2018 09:19:40 +0200 Received: from [167.87.44.129] ([167.87.44.129]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id w3Q7JcGE017235; Thu, 26 Apr 2018 09:19:39 +0200 Subject: Re: [PATCH 6/6] arm: Allow to enable PCI_DOMAINS manually To: Lorenzo Pieralisi Cc: Bjorn Helgaas , Linux Kernel Mailing List , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <4b97c00b9cd72f508aa27f0b58711d73de2cd397.1524582822.git.jan.kiszka@siemens.com> <20180425175446.GC21628@e107981-ln.cambridge.arm.com> From: Jan Kiszka Openpgp: preference=signencrypt Message-ID: Date: Thu, 26 Apr 2018 09:19:37 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <20180425175446.GC21628@e107981-ln.cambridge.arm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-04-25 19:54, Lorenzo Pieralisi wrote: > On Tue, Apr 24, 2018 at 05:13:42PM +0200, Jan Kiszka wrote: >> From: Jan Kiszka >> >> Required when running over Jailhouse, and there is already a physical >> host controller that Jailhouse does not intercept and rather adds a >> virtual one. That is the case for the Tegra TK1, e.g. >> >> Signed-off-by: Jan Kiszka >> --- >> arch/arm/Kconfig | 7 ++++++- >> 1 file changed, 6 insertions(+), 1 deletion(-) >> >> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig >> index a7f8e7f4b88f..5f8190cb057d 100644 >> --- a/arch/arm/Kconfig >> +++ b/arch/arm/Kconfig >> @@ -1248,8 +1248,13 @@ config PCI >> VESA. If you have PCI, say Y, otherwise N. >> >> config PCI_DOMAINS >> - bool >> + bool "Support for multiple PCI domains" >> depends on PCI >> + help >> + Automatically enabled if the platform supports multiple PCI host >> + controllers. Say Y if running over a hypervisor like Jailhouse that >> + dynamically adds further host controllers while the system is >> + running. Say N otherwise. > > Alternatively, you could select it under PCI_HOST_GENERIC if that's all > you need in Jailhouse. Actually that's a change that makes sense anyway > I think. If that's preferred - will switch! Thanks, Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux