Re: [Qemu-devel] [RFC 0/3] pci_expander_brdige: Put pxb host bridge into separate pci domain

2018-05-21 Thread Zihan Yang
> Maybe we should add a parameter to the pxb-pci device specifying the PCI domain > instead of adding it on the fly. It will help ensuring the PCI domain will not change over > time due to code changes.In this case "bus sharing" should be off. For the moment > the pxb devices get the bus range from

Re: [Qemu-devel] [RFC 0/3] pci_expander_brdige: Put pxb host bridge into separate pci domain

2018-05-21 Thread Marcel Apfelbaum
Hi Zihan On 05/20/2018 10:28 AM, Zihan Yang wrote: You do have patch 0, sorry for not seeing it, please disregard my prev comment. Currently only q35 host bridge is allocated an item in MCFG table, all pxb host bridges stay within pci domain 0. This series of patches put each pxb host bridge

[Qemu-devel] [RFC 0/3] pci_expander_brdige: Put pxb host bridge into separate pci domain

2018-05-20 Thread Zihan Yang
Currently only q35 host bridge is allocated an item in MCFG table, all pxb host bridges stay within pci domain 0. This series of patches put each pxb host bridge in separate pci domain, allocating a new MCFG table item for it. The pxb host does not have an mch in it, as q35 host already has one. A