Re: [SeaBIOS] [PATCH V2] fw/pci: do not automatically allocate IO region for PCIe bridges

2015-12-07 Thread Michael S. Tsirkin
On Mon, Dec 07, 2015 at 02:05:14PM +0200, Marcel Apfelbaum wrote: > PCIe downstream ports (Root Ports and switches Downstream Ports) appear > to firmware as PCI-PCI bridges and a 4K IO space is allocated for them > even if there is no device behind them requesting IO space, > all that for hotplug

Re: [SeaBIOS] [PATCH] fw/pci: do not automatically allocate IO region for PCIe bridges

2015-12-07 Thread Marcel Apfelbaum
On 12/07/2015 11:46 AM, Gerd Hoffmann wrote: Hi, However, PCIe devices can work without IO, so there is no need to allocate IO space for hotplug. Makes sense. diff --git a/src/fw/pciinit.c b/src/fw/pciinit.c index 7b8aab7..4b37792 100644 --- a/src/fw/pciinit.c +++ b/src/fw/pciinit.c @@

[SeaBIOS] [PATCH V2] fw/pci: do not automatically allocate IO region for PCIe bridges

2015-12-07 Thread Marcel Apfelbaum
PCIe downstream ports (Root Ports and switches Downstream Ports) appear to firmware as PCI-PCI bridges and a 4K IO space is allocated for them even if there is no device behind them requesting IO space, all that for hotplug purpose. However, PCIe devices can work without IO, so there is no need