[SeaBIOS] [RFC PATCH v2 0/6] Generic PCIE-PCI Bridge

Aleksandr Bezzubikov posted 6 patches 6 years, 8 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
hw/i386/acpi-build.c            |   2 +-
hw/pci-bridge/Makefile.objs     |   2 +-
hw/pci-bridge/pcie_pci_bridge.c | 212 ++++++++++++++++++++++++++++++++++++++++
hw/pci-bridge/pcie_root_port.c  |   6 ++
hw/pci/pci_bridge.c             |  27 +++++
include/hw/pci/pci.h            |   1 +
include/hw/pci/pci_bridge.h     |  18 ++++
include/hw/pci/pcie_port.h      |   3 +
8 files changed, 269 insertions(+), 2 deletions(-)
create mode 100644 hw/pci-bridge/pcie_pci_bridge.c
[SeaBIOS] [RFC PATCH v2 0/6] Generic PCIE-PCI Bridge
Posted by Aleksandr Bezzubikov 6 years, 8 months ago
This series introduces a new device - generic PCI Express to PCI bridge,
and also makes all necessary changes to enable hotplug of the bridge itself
and any device into the bridge.

Obvious reasons to remain RFC:
1. The new PCI capability: layout, creation interface.
2. Windows SHPC issue - devices hotplugging into the bridge
   doens't work on Windows 7 (unlike Windows 10),
   whereas an old pci-bridge usage is fine.
3. Hot-unplug not completely tested.

Changes v1->v2:
1. Enable SHPC for the bridge.
2. Enable SHPC support for the Q35 machine (ACPI stuff).
3. Introduce PCI capability to help firmware on the system init.
   This allows the bridge to be hotpluggable. Now it's supported 
   only for pcie-root-port. Now it's supposed to used with 
   SeaBIOS only, look at the SeaBIOS corresponding series
   "".

Aleksandr Bezzubikov (6):
  hw/pci: introduce pcie-pci-bridge device
  hw/i386: allow SHPC for Q35 machine
  hw/pci: enable SHPC for PCIE-PCI bridge
  hw/pci: introduce bridge-only vendor-specific capability to provide
    some hints to firmware
  hw/pci: add bus_reserve property to pcie-root-port
  hw/pci: add hint capabilty for additional bus reservation to
    pcie-root-port

 hw/i386/acpi-build.c            |   2 +-
 hw/pci-bridge/Makefile.objs     |   2 +-
 hw/pci-bridge/pcie_pci_bridge.c | 212 ++++++++++++++++++++++++++++++++++++++++
 hw/pci-bridge/pcie_root_port.c  |   6 ++
 hw/pci/pci_bridge.c             |  27 +++++
 include/hw/pci/pci.h            |   1 +
 include/hw/pci/pci_bridge.h     |  18 ++++
 include/hw/pci/pcie_port.h      |   3 +
 8 files changed, 269 insertions(+), 2 deletions(-)
 create mode 100644 hw/pci-bridge/pcie_pci_bridge.c

-- 
2.7.4


_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
https://mail.coreboot.org/mailman/listinfo/seabios