All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11] pnv-phb related cleanups
@ 2022-06-13 15:44 Daniel Henrique Barboza
  2022-06-13 15:44 ` [PATCH 01/11] ppc/pnv: move root port attach to pnv_phb4_realize() Daniel Henrique Barboza
                   ` (10 more replies)
  0 siblings, 11 replies; 34+ messages in thread
From: Daniel Henrique Barboza @ 2022-06-13 15:44 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-ppc, clg, fbarrat, mark.cave-ayland

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(-)

-- 
2.36.1



^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2022-06-17 21:17 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-13 15:44 [PATCH 00/11] pnv-phb related cleanups Daniel Henrique Barboza
2022-06-13 15:44 ` [PATCH 01/11] ppc/pnv: move root port attach to pnv_phb4_realize() Daniel Henrique Barboza
2022-06-14  9:08   ` Frederic Barrat
2022-06-14 12:02   ` Cédric Le Goater
2022-06-14 14:10     ` Daniel Henrique Barboza
2022-06-13 15:44 ` [PATCH 02/11] ppc/pnv: attach phb3/phb4 root ports in QOM tree Daniel Henrique Barboza
2022-06-14  9:09   ` Frederic Barrat
2022-06-14  9:53     ` Cédric Le Goater
2022-06-14 12:03   ` Cédric Le Goater
2022-06-13 15:44 ` [PATCH 03/11] ppc/pnv: use dev->parent_bus->parent to get the PHB Daniel Henrique Barboza
2022-06-14  9:10   ` Frederic Barrat
2022-06-17 20:02     ` Daniel Henrique Barboza
2022-06-14 12:10   ` Cédric Le Goater
2022-06-17 21:15     ` Daniel Henrique Barboza
2022-06-13 15:44 ` [PATCH 04/11] ppc/pnv: use dev instead of pci->qdev in root_port_realize() Daniel Henrique Barboza
2022-06-14  9:10   ` Frederic Barrat
2022-06-13 15:44 ` [PATCH 05/11] ppc/pnv: make pnv_ics_get() use the chip8->phbs[] array Daniel Henrique Barboza
2022-06-14  9:13   ` Frederic Barrat
2022-06-14  9:52   ` Cédric Le Goater
2022-06-13 15:44 ` [PATCH 06/11] ppc/pnv: make pnv_ics_resend() use chip8->phbs[] Daniel Henrique Barboza
2022-06-14  9:24   ` Frederic Barrat
2022-06-14  9:54     ` Cédric Le Goater
2022-06-14 15:11     ` Daniel Henrique Barboza
2022-06-13 15:44 ` [PATCH 07/11] ppc/pnv: make pnv_chip_power8_pic_print_info() " Daniel Henrique Barboza
2022-06-14  9:36   ` Frederic Barrat
2022-06-13 15:44 ` [PATCH 08/11] ppc/pnv: turn chip8->phbs[] into a PnvPHB3* array Daniel Henrique Barboza
2022-06-14  9:53   ` Frederic Barrat
2022-06-14 15:39     ` Daniel Henrique Barboza
2022-06-14 15:52       ` Frederic Barrat
2022-06-14 16:11       ` Cédric Le Goater
2022-06-13 15:44 ` [PATCH 09/11] ppc/pnv: add PHB object/bus parenting helpers Daniel Henrique Barboza
2022-06-13 15:44 ` [PATCH 10/11] ppc/pnv: move PHB3 initialization to realize time Daniel Henrique Barboza
2022-06-14 10:14   ` Frederic Barrat
2022-06-13 15:44 ` [PATCH 11/11] ppc/pnv: move PHB4 parent fixup to phb4_realize() Daniel Henrique Barboza

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.