aboutsummaryrefslogtreecommitdiffstats
path: root/src/block.h
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2021-11-29 06:48:12 -0500
committerKevin O'Connor <kevin@koconnor.net>2021-12-18 11:49:22 -0500
commitb06d956d752a6fa88ef05ebcccb614894948897c (patch)
treead901aecd24ddb33637f6dbcc9a36df2e5ddaba6 /src/block.h
parentbba24ef84b8d38bdc30a8d088874f933091605e1 (diff)
downloadseabios-b06d956d752a6fa88ef05ebcccb614894948897c.tar.gz
pci: let firmware reserve IO for pcie-pci-bridge
With [1] patch hotplug of rtl8139 succeeds, with caveat that it fails to initialize IO bar, which is caused by [2] that makes firmware skip IO reservation for any PCIe device, which isn't correct in case of pcie-pci-bridge. Fix it by exposing hotplug type and making IO resource optional only if PCIe hotplug is in use. [1] "pci: reserve resources for pcie-pci-bridge to fix regressed hotplug on q35" [2] Fixes: 76327b9f32a ("fw/pci: do not automatically allocate IO region for PCIe bridges") Signed-off-by: Igor Mammedov imammedo@redhat.com Tested-by: Laurent Vivier <lvivier@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> CC: mapfelba@redhat.com CC: kraxel@redhat.com CC: mst@redhat.com CC: lvivier@redhat.com CC: jusual@redhat.com
Diffstat (limited to 'src/block.h')
0 files changed, 0 insertions, 0 deletions