qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [SeaBIOS] [RFC v2 0/3] Support multiple pci domains in


From: Marcel Apfelbaum
Subject: Re: [Qemu-devel] [SeaBIOS] [RFC v2 0/3] Support multiple pci domains in pci_device
Date: Tue, 28 Aug 2018 09:53:24 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Hi Gerd,

On 08/28/2018 09:07 AM, Gerd Hoffmann wrote:
   Hi,

Since we will not use all 256 buses of an extra PCI domain,
I think this space will allow us to support more PCI domains.
Depends on the use case I guess.  If you just need many pcie devices
this probably doesn't help.  If you want them for numa support then yes,
more domains with less devices each can be useful then.

We already support multiple NUMA nodes. We want more devices.
Still, having 4x number of devices we previously supported is
a good step forward.


How will the flow look like ?

1. QEMU passes to SeaBIOS information of how many extra
    PCI domains needs, and how many buses per domain.
    How it will pass this info? A vendor specific capability,
    some PCI registers or modifying extra-pci-roots fw_cfg file?
Where is the pxb-pcie device?  0000:$somewhere?  Or $domain:00:00.0?

 0000:$somewhere (On PCI domain 0)



2. SeaBIOS assigns the address for each PCI Domain

  and
     returns the information to QEMU.
     How it will do that? Some pxb-pcie registers? Or do we model
     the MMCFG like a PCI BAR?
If we can access pxb-pcie registers before configuring MMCFG then yes,
we should use pxb-pcie registers for that.

Yes, we can.

Thanks Gerd!
Marcel


cheers,
   Gerd





reply via email to

[Prev in Thread] Current Thread [Next in Thread]