Skip to content

user-created PHB cleanup

Frederic Barrat qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pnv_phb4_pec: Keep track of instantiated PHBshw/pci-host/pnv_phb4_pec.c hw/ppc/pnv.c include/hw/pci-host/pnv_phb4.h+10 -54 replies
2/4pnv_phb4_pec: Only export existing PHBs to the device treehw/pci-host/pnv_phb4_pec.c+6 -21 reply
3/4pnv_phb4_pec: Move pnv_phb4_get_pec() to rightful filehw/pci-host/pnv_phb4_pec.c hw/ppc/pnv.c include/hw/pci-host/pnv_phb4.h+42 -431 reply
4/4pnv_phb4_pec: Simplify/align code to parent user-created PHBshw/pci-host/pnv_phb.c hw/pci-host/pnv_phb4_pec.c hw/ppc/pnv.c +2 more+22 -251 reply

Reviews trailers per patch

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

PatchDaniel Henrique Barboza
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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

Read the v1 thread

Cover letter [PATCH 0/4] user-created PHB cleanup

A short series with some cleanup around user-created PHB. The main point is to remove errors seen from the firmware (skiboot) when using user-created PHBs, as we were always showing all the default PHBs in the device tree, so skiboot tried to probe non-existing devices. The first 2 patches allow to only export the user-created PHBs in the device tree when 'nodefaults' is used.
The last 2 are more cosmetic and moving code around where it makes more sense.

Frederic Barrat (4):
pnv_phb4_pec: Keep track of instantiated PHBs
pnv_phb4_pec: Only export existing PHBs to the device tree
pnv_phb4_pec: Move pnv_phb4_get_pec() to rightful file
pnv_phb4_pec: Simplify/align code to parent user-created PHBs

 hw/pci-host/pnv_phb.c          | 11 +++++-
 hw/pci-host/pnv_phb4_pec.c     | 61 +++++++++++++++++++++++++----
 hw/ppc/pnv.c                   | 70 ++++------------------------------
 include/hw/pci-host/pnv_phb4.h |  3 ++
 include/hw/ppc/pnv.h           |  2 +-
 5 files changed, 76 insertions(+), 71 deletions(-)
Signature · 1 line
2.39.2