Skip to content

hw/pci: PCI resource reserve capability

Jing Liu qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 11 repliesIn review
  2. v23 patches 11 repliesSuperseded

v3 -> v2 from the cover letter

* remove the teardown patch because only need pci_del_capability
* keep the names to be consistent with firmware counterpart
* some minor fixes

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/pci: factor PCI reserve resources to a separate structurehw/pci-bridge/gen_pcie_root_port.c hw/pci/pci_bridge.c include/hw/pci/pci_bridge.h+47 -421 reply
2/2hw/pci: add PCI resource reserve capability to legacy PCI bridgehw/pci-bridge/pci_bridge_dev.c+24 -010 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMarcel Apfelbaum
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/2] hw/pci: PCI resource reserve capability

This patch serial is about PCI resource reserve capability.

First patch refactors the resource reserve fields in GenPCIERoorPort structure out to another new structure, called "PCIResReserve". Modify the parameter list of pci_bridge_qemu_reserve_cap_init().

Second patch enables the resource reserve capability for legacy PCI bridge so that firmware can reserve additional resources for this bridge.

Change Logs:
v3 -> v2
* remove the teardown patch because only need pci_del_capability
* keep the names to be consistent with firmware counterpart
* some minor fixes

v2 -> v1
* add refactoring patch
* add teardown function
* some other fixes

Jing Liu (2):
hw/pci: factor PCI reserve resources to a separate structure hw/pci: add PCI resource reserve capability to legacy PCI bridge

 hw/pci-bridge/gen_pcie_root_port.c | 33 +++++++++++++++++----------------
 hw/pci-bridge/pci_bridge_dev.c     | 24 ++++++++++++++++++++++++
 hw/pci/pci_bridge.c                | 38 +++++++++++++++++---------------------
 include/hw/pci/pci_bridge.h        | 18 +++++++++++++-----
 4 files changed, 71 insertions(+), 42 deletions(-)
Signature · 1 line
1.8.3.1