From: Daniel Henrique Barboza <danielhb413@gmail.com>
To: qemu-devel@nongnu.org
Cc: qemu-ppc@nongnu.org, clg@kaod.org, fbarrat@linux.ibm.com,
Daniel Henrique Barboza <danielhb413@gmail.com>
Subject: [PATCH v2 0/9] pnv-phb related cleanups
Date: Sat, 18 Jun 2022 08:01:53 -0300 [thread overview]
Message-ID: <20220618110202.87735-1-danielhb413@gmail.com> (raw)
This second version contains changes and fixes suggested by Frederic and Cedric
in the v1 review.
As I've mentioned in the v1, I cropped patches that are more related with
the user created device logic. Patches 8-11 will be resend later in another
series.
I ended up sliding in a couple of new patches (8 and 9) to fix an issue I found
while spinning this new version.
No functional changes, aside from the QOM change in patch 2, were made
intentionally.
changes from v2:
- patch 3:
* removed 'if (dev)' check in pnv_phb3_root_port_realize()
- patch 5:
* opencoded pnv_ics_get_phb_ics() into pnv_ics_get()
* removed pnv_ics_get_phb_ics()
* removed ForeachPhb3Args struct
- patch 6:
* restore the 'ics_resend()' call back in pnv_ics_resend()
- patch 8 (new):
* remove INTERFACE_PCIE_DEVICE from pnv-phb3-root-bus
- patch 9 (new):
* remove INTERFACE_PCIE_DEVICE from pnv-phb4-root-bus
- v1 link: https://lists.gnu.org/archive/html/qemu-devel/2022-06/msg02333.html
Daniel Henrique Barboza (9):
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: remove 'INTERFACE_PCIE_DEVICE' from phb3 root bus
ppc/pnv: remove 'INTERFACE_PCIE_DEVICE' from phb4 root bus
hw/pci-host/pnv_phb3.c | 20 ++++-----
hw/pci-host/pnv_phb4.c | 23 +++++-----
hw/pci-host/pnv_phb4_pec.c | 3 --
hw/ppc/pnv.c | 89 ++++++++++++++------------------------
include/hw/ppc/pnv.h | 2 +-
5 files changed, 57 insertions(+), 80 deletions(-)
--
2.36.1
next reply other threads:[~2022-06-18 11:04 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-18 11:01 Daniel Henrique Barboza [this message]
2022-06-18 11:01 ` [PATCH v2 1/9] ppc/pnv: move root port attach to pnv_phb4_realize() Daniel Henrique Barboza
2022-06-18 11:01 ` [PATCH v2 2/9] ppc/pnv: attach phb3/phb4 root ports in QOM tree Daniel Henrique Barboza
2022-06-18 11:01 ` [PATCH v2 3/9] ppc/pnv: use dev->parent_bus->parent to get the PHB Daniel Henrique Barboza
2022-06-20 7:27 ` Mark Cave-Ayland
2022-06-20 19:05 ` Daniel Henrique Barboza
2022-06-18 11:01 ` [PATCH v2 4/9] ppc/pnv: use dev instead of pci->qdev in root_port_realize() Daniel Henrique Barboza
2022-06-18 11:01 ` [PATCH v2 5/9] ppc/pnv: make pnv_ics_get() use the chip8->phbs[] array Daniel Henrique Barboza
2022-06-19 12:52 ` Cédric Le Goater
2022-06-21 8:48 ` Frederic Barrat
2022-06-18 11:01 ` [PATCH v2 6/9] ppc/pnv: make pnv_ics_resend() use chip8->phbs[] Daniel Henrique Barboza
2022-06-19 12:53 ` Cédric Le Goater
2022-06-21 8:50 ` Frederic Barrat
2022-06-18 11:02 ` [PATCH v2 7/9] ppc/pnv: make pnv_chip_power8_pic_print_info() " Daniel Henrique Barboza
2022-06-19 12:53 ` Cédric Le Goater
2022-06-18 11:02 ` [PATCH v2 8/9] ppc/pnv: remove 'INTERFACE_PCIE_DEVICE' from phb3 root bus Daniel Henrique Barboza
2022-06-21 9:59 ` Frederic Barrat
2022-06-18 11:02 ` [PATCH v2 9/9] ppc/pnv: remove 'INTERFACE_PCIE_DEVICE' from phb4 " Daniel Henrique Barboza
2022-06-21 9:59 ` Frederic Barrat
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220618110202.87735-1-danielhb413@gmail.com \
--to=danielhb413@gmail.com \
--cc=clg@kaod.org \
--cc=fbarrat@linux.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).