Received: by 10.192.165.148 with SMTP id m20csp1001007imm; Wed, 25 Apr 2018 10:56:54 -0700 (PDT) X-Google-Smtp-Source: AIpwx4933wYZDl2r1z4ZpF31xb5kdGRHO3Jxq1uBD3UKdfmjDm3jK9X9630ZA2G/GHOhrpoZY3xV X-Received: by 2002:a17:902:43:: with SMTP id 61-v6mr30598693pla.112.1524679014542; Wed, 25 Apr 2018 10:56:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524679014; cv=none; d=google.com; s=arc-20160816; b=kI3FYdNUrNdGQ8FPEDqicopl5Gx2vhpW+PRM6z5XACj/rYbQehYguL5kOx1Iq8Is0W ZtkWxsMLBZ7Ii2MLgb9eYT9vL2R9r++JoN3o0rw1A667v0PQmWysb3yC4Yeqn/+ao3MY yHdCUYYZQU0ELv9pXB0iqlgyggMttu3GtqDuiGTuYCsGOWphV12FPIFvS2GY1QjLOOwG 8iHok+XwHctm7AZlHiXJLmx2qqP4mIsOesyAjWlK9nUjRfxaBZcMKDVa3cwSy5o/XE4Z Y7hY3InMRQ0iZIPCd+za7yqHQKKQTYxErM+8slkf2la5z27RbThscTwUjLiVgHshLPoa JQEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=zB2SUJ8zCsHYLdJChOk12eGPYXmXXKcE+Pr7rNCwNO4=; b=yNu7oXP5cer+BsBIMwLQ8lcYbiU0RAx+nAOJAd+9MrIppXPZTzwlLcR3DVxhxl7r8a i3z4x9eGL5UDz0mYovsRcLVCQoB6TnG+d8Fo21VJq3hwV+DKu+YEG8MukZ/knJk/U4dh 7ABAZbb4MT9mX4wAWjB1uV6WMR0OG3wQ8sX4pEAC0AT1nqvq2BQxleMxZluZr/f9NnjY AdZaiIxxfvHw3HuAGNtHIPqyGmRKS3Dfxs2AuDUa9ba/f7b2BjqMVm3IBj7wy3fqmzj3 yFN8PepR6ibdhIoQ2oj+m9An/d5znyfT//vRJbG/Zl/VCKHE3pab/vsUslxrWXnk1Vb1 +WCw== 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 q9si1064785pgt.5.2018.04.25.10.56.40; Wed, 25 Apr 2018 10:56:54 -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 S1756024AbeDYRyx (ORCPT + 99 others); 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 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C201D80D; Wed, 25 Apr 2018 10:54:50 -0700 (PDT) Received: from e107981-ln.cambridge.arm.com (e107981-ln.cambridge.arm.com [10.1.207.54]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B40F23F590; Wed, 25 Apr 2018 10:54:49 -0700 (PDT) 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 Precedence: bulk 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