pnv-phb related cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 22 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | ppc/pnv: move root port attach to pnv_phb4_realize()hw/ hw/ | +4 | 3 replies | |
| 2/11 | ppc/pnv: attach phb3/phb4 root ports in QOM treehw/ hw/ hw/ +1 more | +9 | 3 replies | |
| 3/11 | ppc/pnv: use dev->parent_bus->parent to get the PHBhw/ hw/ | +14 | 4 replies | |
| 4/11 | ppc/pnv: use dev instead of pci->qdev in root_port_realize()hw/ hw/ | +4 | 1 reply | |
| 5/11 | ppc/pnv: make pnv_ics_get() use the chip8->phbs[] arrayhw/ | +14 | 2 replies | |
| 6/11 | ppc/pnv: make pnv_ics_resend() use chip8->phbs[]hw/ | +7 | 3 replies | |
| 7/11 | ppc/pnv: make pnv_chip_power8_pic_print_info() use chip8->phbs[]hw/ | +8 | 1 reply | |
| 8/11 | ppc/pnv: turn chip8->phbs[] into a PnvPHB3* arrayhw/ include/ | +19 | 4 replies | |
| 9/11 | ppc/pnv: add PHB object/bus parenting helpershw/ include/ | +33 | 0 replies | |
| 10/11 | ppc/pnv: move PHB3 initialization to realize timehw/ hw/ | +19 | 1 reply | |
| 11/11 | ppc/pnv: move PHB4 parent fixup to phb4_realize()hw/ hw/ | +12 | 0 replies |
Reviews trailers per patch
5 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Frederic Barrat | Cédric Le Goater |
|---|---|---|
| 1/11 | R-b | R-b |
| 2/11 | R-b | R-b |
| 3/11 | ||
| 4/11 | R-b | |
| 5/11 | ||
| 6/11 | ||
| 7/11 | R-b | |
| 8/11 | R-b | |
| 9/11 | ||
| 10/11 | ||
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/11] pnv-phb related cleanups
Hi,
I decided to make some cleanups/fixes after the feedback received in the v2 of the pnv-phb proxy series [1]. A lot of the reviews and comment were related to the current state of the code instead of what was being done there.
With this series we want to:
- provide a better base for proxy pnv-phb series, fixing and changing code that is already in place;
- make a common logic that applies to both default and user created devices. There's no reason to make distinctions between them aside from what we will already have to deal with.
After these cleanups we'll be able to simplify the work required in [1].
[1] https://lists.gnu.org/archive/html/qemu-devel/2022-05/msg06254.html
Daniel Henrique Barboza (11):
ppc/pnv: move root port attach to pnv_phb4_realize() ppc/pnv: attach phb3/phb4 root ports in QOM tree ppc/pnv: use dev->parent_bus->parent to get the PHB ppc/pnv: use dev instead of pci->qdev in root_port_realize() ppc/pnv: make pnv_ics_get() use the chip8->phbs[] array ppc/pnv: make pnv_ics_resend() use chip8->phbs[] ppc/pnv: make pnv_chip_power8_pic_print_info() use chip8->phbs[] ppc/pnv: turn chip8->phbs[] into a PnvPHB3* array ppc/pnv: add PHB object/bus parenting helpers ppc/pnv: move PHB3 initialization to realize time ppc/pnv: move PHB4 parent fixup to phb4_realize()
hw/pci-host/pnv_phb3.c | 30 +++++++-- hw/pci-host/pnv_phb4.c | 31 +++++++-- hw/pci-host/pnv_phb4_pec.c | 4 -- hw/ppc/pnv.c | 127 +++++++++++++++++++++---------------- include/hw/ppc/pnv.h | 10 ++- 5 files changed, 128 insertions(+), 74 deletions(-)
Signature · 1 line
2.36.1