[PATCH] arm64: dts: marvell: armada-37xx: Set linux,pci-domain to zero

Andrew Lunn andrew at lunn.ch
Sat Apr 17 16:19:38 BST 2021


> Currently this code is implemented in pci_bus_find_domain_nr() function.
> IIRC domain number is 16bit integer, so plain bitmap would consume 8 kB
> of memory. I'm not sure if it is fine or some other tree-based structure
> for allocated domain numbers is needed.

Hi Pali

Have a look at lib/idr.c

     Andrew



More information about the linux-arm-kernel mailing list