> -----Original Message----- > From: Ard Biesheuvel [mailto:[email protected]] > Sent: May-30-17 9:35 AM > To: Vladimir Olovyannikov > Cc: [email protected] > Subject: Re: Using a generic PciHostBridgeDxe driver for a > multi-PCIe-domain > platform > > On 30 May 2017 at 16:23, Vladimir Olovyannikov > <[email protected]> wrote: > > Hi, > > > > I've started PCIe stack implementation design for an armv8 aarch64 > > platform. > > The platform's PCIe represents several host bridges, and each > > hostbridge has one rootbridge. > > They do not share any resources between each other. > > Looking into the PciHostBridgeDxe implementation I can see that it > > supports only one hostbridge, and there is a comment: > > // Most systems in the world including complex servers have only one > > Host Bridge. > > > > So in my case should I create my own PciHostBridgeDxe driver > > supporting multiple hostbridges and do not use the Industry standard > driver? > > I am very new to it, and will appreciate any help or idea. > > > > As far as I can tell, PciHostBridgeLib allows you to return an arbitrary > number > of PCI host bridges, each with their own segment number. I haven't tried > it > myself, but it is worth a try whether returning an array of all host > bridges on > your platform works as expected.
Thank you Ard, Right, but PciHostBridgeDxe seems to work with one hostbridge. I am confused that // Make sure all root bridges share the same ResourceAssigned value The rootbridges are independent on the platform, and should not share anything. Or am I missing anything? Anyway, I will try to return multiple hostbridges in the PciHostBridgeLib. Thank you, Vladimir _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

