New patches in v2:
* [PATCH v2 02/24] PcAtChipsetPkg: remove PciHostBridgeDxe
Got no feedback from Ray, opted for this. Noted also on the patch
itself, with Ray CC'd.
* [PATCH v2 23/24] OvmfPkg: QemuBootOrderLib: introduce ExtraRootBusMap
Implements the reverse transform described in the parent message.
* [PATCH v2 24/24] OvmfPkg: QemuBootOrderLib: recognize extra PCI root
buses
Does what it says, relying on the patch that goes before it.
V2 changes to existing patches:
* [PATCH v2 11/24] OvmfPkg: PlatformBdsLib: debug log interrupt line
assignments
Print bus/dev/func too in the debug log, in order to get an output
that's more easily comparable with SeaBIOS's. For this:
Cc: Gabriel Somlo <[email protected]>
* [PATCH v2 22/24] OvmfPkg: PciHostBridgeDxe: shorten search for extra
root buses
"%Lu" and "%u" are now available in format strings, for printing
UINT64 and UINT32 values in *decimal*. Yay! Use them!
Changes are noted per patch as well.
Public branch:
https://github.com/lersek/edk2/commits/multiple_root_bridges_bz1193080_v2
Thanks
Laszlo
Laszlo Ersek (24):
OvmfPkg: clone PciHostBridgeDxe from PcAtChipsetPkg
PcAtChipsetPkg: remove PciHostBridgeDxe
OvmfPkg: PciHostBridgeDxe: rewrap IoFifo source files to 79 columns
OvmfPkg: PciHostBridgeDxe: rewrap INF file to 79 columns
OvmfPkg/PciHostBridgeDxe/PciHostBridge.h: rewrap comments to 79
columns
OvmfPkg/PciHostBridgeDxe/PciHostBridge.h: strip trailing ws from code
OvmfPkg/PciHostBridgeDxe/PciHostBridge.c: rewrap leading comments
OvmfPkg/PciHostBridgeDxe/PciHostBridge.c: rewrap code, strip trailing
ws
OvmfPkg/PciHostBridgeDxe/PciRootBridgeIo.c: rewrap leading comments
OvmfPkg/PciHostBridgeDxe/PciRootBridgeIo.c: rewrap code, strip
trailing ws
OvmfPkg: PlatformBdsLib: debug log interrupt line assignments
OvmfPkg: PlatformBdsLib: refine PCI host bridge assertion
OvmfPkg: PlatformBdsLib: connect all PCI root buses
OvmfPkg: PciHostBridgeDxe: eliminate nominal support for multiple host
bridges
OvmfPkg: PciHostBridgeDxe: kill RootBridgeNumber and
RootBridgeAttribute
OvmfPkg: PciHostBridgeDxe: embed device path in private root bridge
struct
OvmfPkg: PciHostBridgeDxe: factor out InitRootBridge() function
OvmfPkg: PciHostBridgeDxe: release resources on driver entry failure
OvmfPkg: PciHostBridgeDxe: use private buffer in
RootBridgeIoConfiguration()
OvmfPkg: PciHostBridgeDxe: eliminate
PCI_HOST_BRIDGE_INSTANCE.RootBridgeNumber
OvmfPkg: PciHostBridgeDxe: look for all root buses
OvmfPkg: PciHostBridgeDxe: shorten search for extra root buses
OvmfPkg: QemuBootOrderLib: introduce ExtraRootBusMap
OvmfPkg: QemuBootOrderLib: recognize extra PCI root buses
OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf | 2 +-
OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.inf | 6 +
{PcAtChipsetPkg => OvmfPkg}/PciHostBridgeDxe/PciHostBridgeDxe.inf | 21 +-
OvmfPkg/Library/PlatformBdsLib/BdsPlatform.h | 25 +-
OvmfPkg/Library/QemuBootOrderLib/ExtraRootBusMap.h | 40 +
{PcAtChipsetPkg => OvmfPkg}/PciHostBridgeDxe/IoFifo.h | 11 +-
OvmfPkg/PciHostBridgeDxe/PciHostBridge.h | 651 +++++
PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.h | 495 ----
OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c | 88 +-
OvmfPkg/Library/PlatformBdsLib/PlatformData.c | 13 -
OvmfPkg/Library/QemuBootOrderLib/ExtraRootBusMap.c | 313 +++
OvmfPkg/Library/QemuBootOrderLib/QemuBootOrderLib.c | 157 +-
OvmfPkg/PciHostBridgeDxe/PciHostBridge.c | 1551
++++++++++++
OvmfPkg/PciHostBridgeDxe/PciRootBridgeIo.c | 2628
++++++++++++++++++++
PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c | 1200
---------
PcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c | 2168
----------------
OvmfPkg/OvmfPkgIa32.dsc | 2 +-
OvmfPkg/OvmfPkgIa32.fdf | 2 +-
OvmfPkg/OvmfPkgIa32X64.dsc | 2 +-
OvmfPkg/OvmfPkgIa32X64.fdf | 2 +-
OvmfPkg/OvmfPkgX64.dsc | 2 +-
OvmfPkg/OvmfPkgX64.fdf | 2 +-
{PcAtChipsetPkg => OvmfPkg}/PciHostBridgeDxe/Ia32/IoFifo.S | 7 +-
{PcAtChipsetPkg => OvmfPkg}/PciHostBridgeDxe/Ia32/IoFifo.asm | 7 +-
{PcAtChipsetPkg => OvmfPkg}/PciHostBridgeDxe/X64/IoFifo.S | 7 +-
{PcAtChipsetPkg => OvmfPkg}/PciHostBridgeDxe/X64/IoFifo.asm | 7 +-
PcAtChipsetPkg/PcAtChipsetPkg.dsc | 1 -
PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.uni | Bin 2000
-> 0 bytes
PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeExtra.uni | Bin 1348
-> 0 bytes
29 files changed, 5406 insertions(+), 4004 deletions(-)
rename {PcAtChipsetPkg => OvmfPkg}/PciHostBridgeDxe/PciHostBridgeDxe.inf (72%)
create mode 100644 OvmfPkg/Library/QemuBootOrderLib/ExtraRootBusMap.h
rename {PcAtChipsetPkg => OvmfPkg}/PciHostBridgeDxe/IoFifo.h (91%)
create mode 100644 OvmfPkg/PciHostBridgeDxe/PciHostBridge.h
delete mode 100644 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.h
create mode 100644 OvmfPkg/Library/QemuBootOrderLib/ExtraRootBusMap.c
create mode 100644 OvmfPkg/PciHostBridgeDxe/PciHostBridge.c
create mode 100644 OvmfPkg/PciHostBridgeDxe/PciRootBridgeIo.c
delete mode 100644 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c
delete mode 100644 PcAtChipsetPkg/PciHostBridgeDxe/PciRootBridgeIo.c
rename {PcAtChipsetPkg => OvmfPkg}/PciHostBridgeDxe/Ia32/IoFifo.S (90%)
rename {PcAtChipsetPkg => OvmfPkg}/PciHostBridgeDxe/Ia32/IoFifo.asm (90%)
rename {PcAtChipsetPkg => OvmfPkg}/PciHostBridgeDxe/X64/IoFifo.S (92%)
rename {PcAtChipsetPkg => OvmfPkg}/PciHostBridgeDxe/X64/IoFifo.asm (91%)
delete mode 100644 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.uni
delete mode 100644 PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridgeExtra.uni
--
1.8.3.1
------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel