From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756026AbeDYRyx (ORCPT ); Wed, 25 Apr 2018 13:54:53 -0400 Received: from foss.arm.com ([217.140.101.70]:43466 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755762AbeDYRyv (ORCPT ); Wed, 25 Apr 2018 13:54:51 -0400 Date: Wed, 25 Apr 2018 18:54:46 +0100 From: Lorenzo Pieralisi To: Jan Kiszka Cc: Bjorn Helgaas , Linux Kernel Mailing List , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 6/6] arm: Allow to enable PCI_DOMAINS manually Message-ID: <20180425175446.GC21628@e107981-ln.cambridge.arm.com> References: <4b97c00b9cd72f508aa27f0b58711d73de2cd397.1524582822.git.jan.kiszka@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4b97c00b9cd72f508aa27f0b58711d73de2cd397.1524582822.git.jan.kiszka@siemens.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Lorenzo