Skip to content

Some PCI related cleanup patches

Hu Tao qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 13 repliesIn review
  2. v25 patches 6 repliesSuperseded
  3. v15 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- rebase on top of 7fb8da2b886, all 5 patches applied cleanly.
- new patch: pci: introduce PCI_DEVFN_AUTO

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6pci: reorganize QEMU_PCI_CAP_*include/hw/pci/pci.h+20 -191 reply
2/6pci: introduce pci_host_config_enabled()hw/mips/gt64xxx_pci.c hw/pci/pci_host.c include/hw/pci/pci_host.h+10 -41 reply
3/6pci: define PCI_HOST_BRIDGE_CONFIG_ADDR and PCI_HOST_BRIDGE_CONFIG_DATA.hw/pci-host/piix.c hw/pci-host/prep.c hw/pci-host/q35.c +3 more+30 -252 replies
4/6pci: remove the limit parameter of pci_host_config_read_commonhw/pci/pci_host.c hw/pci/pcie_host.c hw/ppc/spapr_pci.c +1 more+14 -152 replies
5/6pci: remove the limit parameter of pci_host_config_write_commonhw/pci/pci_host.c hw/pci/pcie_host.c hw/ppc/spapr_pci.c +1 more+13 -141 reply
6/6pci: introduce PCI_DEVFN_AUTOhw/core/qdev-properties.c hw/pci/pci.c include/hw/pci/pci.h+5 -33 replies
6/6pci: introduce PCI_DEVFN_AUTOhw/pci/pci.c include/hw/pci/pci.h+4 -30 replies

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchMarcel Apfelbaum
1/6R-b
2/6R-b
3/6R-b
4/6
5/6
6/6
6/6

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/6] Some PCI related cleanup patches

Hi,

This is v3 of PCI clenaup series. See each patch for the detail.

Regards,
Hu

changes:

v3:
- rebase on top of 7fb8da2b886, all 5 patches applied cleanly.
- new patch: pci: introduce PCI_DEVFN_AUTO

v2:
- remove patch 3 from v1 which is incorrect.
- rename defined macros as per Marcel's suggestion
- place macros in pci_host.h as per Marcel's suggestion
- new patch 'pci: reorganize QEMU_PCI_CAP_*'

Hu Tao (6):
pci: reorganize QEMU_PCI_CAP_*
pci: introduce pci_host_config_enabled()
pci: define PCI_HOST_BRIDGE_CONFIG_ADDR and
PCI_HOST_BRIDGE_CONFIG_DATA.
pci: remove the limit parameter of pci_host_config_read_common
pci: remove the limit parameter of pci_host_config_write_common
pci: introduce PCI_DEVFN_AUTO

 hw/core/qdev-properties.c |  1 +
 hw/mips/gt64xxx_pci.c     |  4 ++--
 hw/pci-host/piix.c        |  8 ++++----
 hw/pci-host/prep.c        |  6 ++++--
 hw/pci-host/q35.c         |  8 ++++----
 hw/pci/pci.c              |  5 ++---
 hw/pci/pci_host.c         | 33 ++++++++++++++++++++++++---------
 hw/pci/pcie_host.c        | 18 ++----------------
 hw/ppc/spapr_pci.c        |  6 ++----
 include/hw/pci-host/q35.h |  3 ---
 include/hw/pci/pci.h      | 41 ++++++++++++++++++++++-------------------
 include/hw/pci/pci_host.h | 14 ++++++++++++--
 tests/libqos/pci-pc.c     | 25 +++++++++++++------------
 13 files changed, 92 insertions(+), 80 deletions(-)
Signature · 1 line
1.9.3