[PATCH v10 07/10] OF: Introduce helper function for getting PCI domain_nr

Arnd Bergmann arnd at arndb.de
Wed Sep 10 11:19:52 PDT 2014


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



More information about the linux-arm-kernel mailing list