]> xenbits.xensource.com Git - osstest/seabios.git/commit
fw/pci: do not automatically allocate IO region for PCIe bridges
authorMarcel Apfelbaum <marcel@redhat.com>
Mon, 7 Dec 2015 12:05:14 +0000 (14:05 +0200)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 20 Dec 2015 19:40:06 +0000 (14:40 -0500)
commit76327b9f32a009245c215f4a3c5d58a01b5310ae
treec7eb1d58ff784f3e7e1f17a1e77424384be40fde
parent320df85010401c6d3ee189a54c63b937d1dcade9
fw/pci: do not automatically allocate IO region for PCIe bridges

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
to allocate IO space for hotplug.

Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
src/fw/pciinit.c