From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH v10 07/10] OF: Introduce helper function for getting PCI domain_nr Date: Wed, 10 Sep 2014 20:19:52 +0200 Message-ID: <2908259.jgJNuDxCCa@wuerfel> References: <1410184472-17630-1-git-send-email-Liviu.Dudau@arm.com> <3780051.0eHpCN6UC9@wuerfel> <20140909112054.GD29639@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <20140909112054.GD29639@arm.com> Sender: linux-pci-owner@vger.kernel.org To: Catalin Marinas Cc: Liviu Dudau , Yijing Wang , Rob Herring , Bjorn Helgaas , Rob Herring , Jason Gunthorpe , Benjamin Herrenschmidt , Will Deacon , Russell King , linux-pci , Linus Walleij , Tanmay Inamdar , Grant Likely , Sinan Kaya , Jingoo Han , Kukjin Kim , Suravee Suthikulanit , linux-arch , LKML , Device Tree ML , LAKML "grant.likely@linaro.org" List-Id: devicetree@vger.kernel.org On Tuesday 09 September 2014 12:20:54 Catalin Marinas wrote: > > We can assume that if a domain is not specified and there is a single > top level PCIe node, the domain defaults to 0. Are there any arm32 > platforms that require multiple domains (and do not specify a number in > the DT)? In theory, I think all of them could work with a single domain, but then you need to partition the bus number space between the host controllers, so you have the exact same situation that you either need to make up random bus numbers or put them in DT. Using multiple domains is way cleaner for this, even if we have to make up the numbers. Arnd