[PATCH] powerpc/pci: Reuse PHB number on pci_controller add if available

Guilherme G. Piccoli gpiccoli at linux.vnet.ibm.com
Sat Mar 12 00:29:54 AEDT 2016


On 03/11/2016 10:14 AM, Gavin Shan wrote:
> Yeah, the BUID is PHB's identifier, but we only need the low 16-bits
> as its base is 0x800000020000000ULL in QEMU or pHyp. I think other platforms
> (like freescale's) still need dynamically allocated domain number, which
> could be managed by a bitmap.

Thanks very much for the suggestions Benjamin and Gavin.
Will improve the patch and send a v2.

Cheers,


Guilherme



More information about the Linuxppc-dev mailing list