Bug 1193080

Summary: RFE: Support multiple PCI root buses
Product: Red Hat Enterprise Linux 7 Reporter: Marcel Apfelbaum <marcel>
Component: ovmfAssignee: Laszlo Ersek <lersek>
Status: CLOSED ERRATA QA Contact: aihua liang <aliang>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.3CC: chayang, huding, jinzhao, juzhang, qizhu, sherold, xfu
Target Milestone: rcKeywords: FutureFeature, Rebase
Target Release: ---   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: ovmf-20151104-1.gitb9ffeab.el7 Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Story Points: ---
Clone Of:
: 1242479 (view as bug list) Environment:
Last Closed: 2016-11-04 08:39:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1242479    
Bug Blocks:    

Description Marcel Apfelbaum 2015-02-16 14:20:33 UTC
Description of problem:
We need to support multiple NUMA nodes for pass-through devices.Operating systems can attach only a PCI root bus to a NUMA node.

SeaBIOS/QEMU support for multiple PCI root buses is already on the mailing lists, and we may need to support this also in OVMF.

Comment 4 Laszlo Ersek 2015-06-06 11:28:30 UTC
Posted patch sets for QEMU and OVMF:
http://thread.gmane.org/gmane.comp.emulators.qemu/342206

Comment 5 Laszlo Ersek 2015-06-10 17:08:50 UTC
Posted v2 for QEMU:
http://thread.gmane.org/gmane.comp.emulators.qemu/343098

Comment 6 Laszlo Ersek 2015-06-11 00:39:17 UTC
Posted v3 for QEMU:
http://thread.gmane.org/gmane.comp.emulators.qemu/343150

Comment 7 Laszlo Ersek 2015-06-13 14:26:38 UTC
Posted new patch sets for both QEMU (v4) and OVMF (v2):
http://thread.gmane.org/gmane.comp.bios.tianocore.devel/15643

Comment 8 Laszlo Ersek 2015-06-16 18:32:02 UTC
Posted v5 for QEMU (no functional changes):
http://thread.gmane.org/gmane.comp.emulators.qemu/344535

Comment 9 Laszlo Ersek 2015-06-17 13:42:02 UTC
Posted v6 for QEMU:
http://thread.gmane.org/gmane.comp.emulators.qemu/344798

Comment 10 Laszlo Ersek 2015-06-19 02:42:34 UTC
Posted v7 for QEMU:
http://thread.gmane.org/gmane.comp.emulators.qemu/345346

OVMF changes are needed too, and I have them ready, but I'm delaying posting OVMF v3 until QEMU converges.

Comment 11 Laszlo Ersek 2015-07-06 22:33:50 UTC
The QEMU patches are now upstream:

1 9df0b0e migration: introduce VMSTATE_BUFFER_UNSAFE_INFO_TEST()
2 0034e56 hw/pci-bridge: expose _test parameter in SHPC_VMSTATE()
3 3cf0ecb hw/pci-bridge: add macro for "chassis_nr" property
4 7a7c6a4 hw/pci-bridge: add macro for "msi" property
5 23ab143 hw/pci: introduce shpc_present() helper function
6 4e5c9bf hw/pci-bridge: introduce "shpc" property
7 d10dda2 hw/pci-bridge: disable SHPC in PXB
8 0b336b3 hw/core: explicit OFW unit address callback for SysBusDeviceClass
9 48ea3de hw/pci-bridge: format special OFW unit address for PXB host

Comment 12 Laszlo Ersek 2015-07-06 22:41:59 UTC
Other, pre-requisite patches for QEMU (preceding the above list):

1 c96d928 i386/acpi-build: more traditional _UID and _HID for PXB root buses
2 4ebc736 i386/acpi-build: fix PXB workarounds for unsupported BIOSes
3 5ba03e2 hw/core: rebase sysbus_get_fw_dev_path() to g_strdup_printf()

Comment 14 Laszlo Ersek 2015-07-07 15:10:42 UTC
Posted v3 for OVMF:
http://thread.gmane.org/gmane.comp.bios.tianocore.devel/16864

Comment 17 Laszlo Ersek 2015-07-14 12:15:13 UTC
(In reply to Laszlo Ersek from comment #14)
> Posted v3 for OVMF:
> http://thread.gmane.org/gmane.comp.bios.tianocore.devel/16864

Now in upstream: SVN r17943 through r17965, inclusive.

Comment 18 Laszlo Ersek 2015-07-16 13:55:06 UTC
Git commit range 2c69d6ff..4fc18df9.

Comment 23 errata-xmlrpc 2016-11-04 08:39:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2608.html