]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/PlatformPei: provide 10 * 4KB of PCI IO Port space on Q35
authorLaszlo Ersek <lersek@redhat.com>
Mon, 9 May 2016 20:54:36 +0000 (22:54 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Tue, 17 May 2016 18:48:43 +0000 (20:48 +0200)
commitbba734ab4c7c9b4386d39420983bf61484f65dda
tree6d990c52951f16e583de23d7ec9fb3a7603f6933
parentc4df7fd01ff46cce6baa0afcc0f32f60bd2b5ace
OvmfPkg/PlatformPei: provide 10 * 4KB of PCI IO Port space on Q35

This can accommodate 10 bridges (including root bridges, PCIe upstream and
downstream ports, etc -- see
<https://bugzilla.redhat.com/show_bug.cgi?id=1333238#c12> for more
details).

10 is not a whole lot, but closer to the architectural limit of 15 than
our current 4, so it can be considered a stop-gap solution until all
guests manage to migrate to virtio-1.0, and no longer need PCI IO BARs
behind PCIe downstream ports.

Cc: Gabriel Somlo <somlo@cmu.edu>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1333238
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Tested-by: Gabriel Somlo <somlo@cmu.edu>
OvmfPkg/PlatformPei/Platform.c