Skip to content

powernv: introduce pnv-phb base/proxy devices

Daniel Henrique Barboza qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest12 patches 17 repliesIn review
  2. v216 patches 30 repliesSuperseded
  3. v117 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- all related changes made with the rebase on top of "[PATCH v3 0/8] pnv-phb related cleanups"
- the following user devices patches were removed:
- ppc/pnv: user created pnv-phb for powernv8
- ppc/pnv: user created pnv-phb for powernv9
- ppc/pnv: change pnv_phb4_get_pec() to also retrieve chip10->pecs
- ppc/pnv: user creatable pnv-phb for powernv10
- v2 link: https://lists.gnu.org/archive/html/qemu-devel/2022-05/msg06254.html

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ppc/pnv: add PHB3 bus init helperhw/pci-host/pnv_phb3.c include/hw/pci-host/pnv_phb3.h+24 -163 replies
2/12ppc/pnv: add PnvPHB base/proxy devicehw/pci-host/meson.build hw/pci-host/pnv_phb.c hw/pci-host/pnv_phb.h+165 -11 reply
3/12ppc/pnv: turn PnvPHB3 into a PnvPHB backendhw/pci-host/pnv_phb3.c hw/ppc/pnv.c include/hw/pci-host/pnv_phb3.h +1 more+26 -301 reply
4/12ppc/pnv: add PHB4 bus init helperhw/pci-host/pnv_phb.c hw/pci-host/pnv_phb4.c include/hw/pci-host/pnv_phb4.h+26 -161 reply
5/12ppc/pnv: turn PnvPHB4 into a PnvPHB backendhw/pci-host/pnv_phb4.c hw/pci-host/pnv_phb4_pec.c hw/ppc/pnv.c +1 more+29 -292 replies
6/12ppc/pnv: add pnv-phb-root-port devicehw/pci-host/pnv_phb.c hw/pci-host/pnv_phb.h+123 -81 reply
7/12ppc/pnv: remove pnv-phb3-root-porthw/pci-host/pnv_phb.c hw/pci-host/pnv_phb3.c hw/ppc/pnv.c +1 more+2 -491 reply
8/12ppc/pnv: remove pnv-phb4-root-porthw/pci-host/pnv_phb.c hw/pci-host/pnv_phb4.c hw/pci-host/pnv_phb4_pec.c +2 more+6 -981 reply
9/12ppc/pnv: remove root port name from pnv_phb_attach_root_port()hw/pci-host/pnv_phb.c hw/ppc/pnv.c include/hw/ppc/pnv.h+7 -121 reply
10/12ppc/pnv: remove pecc->rp_modelhw/pci-host/pnv_phb4_pec.c include/hw/pci-host/pnv_phb4.h+0 -31 reply
11/12ppc/pnv: remove PnvPHB4.versioninclude/hw/pci-host/pnv_phb4.h+0 -21 reply
12/12ppc/pnv: move attach_root_port helper to pnv-phb.chw/pci-host/pnv_phb.c hw/ppc/pnv.c include/hw/ppc/pnv.h+24 -261 reply

Reviews trailers per patch

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

PatchFrederic Barrat
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b
12/12R-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 [PATCH v3 00/12] powernv: introduce pnv-phb base/proxy devices

Hi,

This is the version 3 of the pnv-phb proxy device which has the following main differences from v2:

- it's rebased on top of "[PATCH v3 0/8] pnv-phb related cleanups"
- it doesn't have any patches related to user-created devices

There is no user visible change made here yet. We're making device changes that are effective using default settings.

Changes from v2:
- all related changes made with the rebase on top of "[PATCH v3 0/8] pnv-phb related cleanups"
- the following user devices patches were removed:
- ppc/pnv: user created pnv-phb for powernv8
- ppc/pnv: user created pnv-phb for powernv9
- ppc/pnv: change pnv_phb4_get_pec() to also retrieve chip10->pecs
- ppc/pnv: user creatable pnv-phb for powernv10
- v2 link: https://lists.gnu.org/archive/html/qemu-devel/2022-05/msg06254.html

Daniel Henrique Barboza (12):
ppc/pnv: add PHB3 bus init helper
ppc/pnv: add PnvPHB base/proxy device
ppc/pnv: turn PnvPHB3 into a PnvPHB backend
ppc/pnv: add PHB4 bus init helper
ppc/pnv: turn PnvPHB4 into a PnvPHB backend
ppc/pnv: add pnv-phb-root-port device
ppc/pnv: remove pnv-phb3-root-port
ppc/pnv: remove pnv-phb4-root-port
ppc/pnv: remove root port name from pnv_phb_attach_root_port() ppc/pnv: remove pecc->rp_model
ppc/pnv: remove PnvPHB4.version
ppc/pnv: move attach_root_port helper to pnv-phb.c

 hw/pci-host/meson.build        |   3 +-
 hw/pci-host/pnv_phb.c          | 244 +++++++++++++++++++++++++++++++++
 hw/pci-host/pnv_phb.h          |  55 ++++++++
 hw/pci-host/pnv_phb3.c         | 106 ++++----------
 hw/pci-host/pnv_phb4.c         | 144 ++++---------------
 hw/pci-host/pnv_phb4_pec.c     |   5 +-
 hw/ppc/pnv.c                   |  68 ++++-----
 include/hw/pci-host/pnv_phb3.h |  12 +-
 include/hw/pci-host/pnv_phb4.h |  18 +--
 include/hw/ppc/pnv.h           |   5 +-
 10 files changed, 401 insertions(+), 259 deletions(-)
 create mode 100644 hw/pci-host/pnv_phb.c
 create mode 100644 hw/pci-host/pnv_phb.h
Signature · 1 line
2.36.1