qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Henrique Barboza <danielhb413@gmail.com>
To: Peter Maydell <peter.maydell@linaro.org>, qemu-devel@nongnu.org
Cc: "Gerd Hoffmann" <kraxel@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	"Cédric Le Goater" <clg@kaod.org>, "Greg Kurz" <groug@kaod.org>,
	"Marcel Apfelbaum" <marcel.apfelbaum@gmail.com>,
	qemu-ppc@nongnu.org
Subject: Re: [PATCH for-8.0 0/7] virtio, pci, xics: 3-phase reset conversions
Date: Wed, 30 Nov 2022 09:20:22 -0300	[thread overview]
Message-ID: <de62350f-cf37-31d8-3a28-73b92a1b9759@gmail.com> (raw)
In-Reply-To: <20221125115240.3005559-1-peter.maydell@linaro.org>



On 11/25/22 08:52, Peter Maydell wrote:
> This patchset converts a miscellaneous collection of classes
> to 3-phase reset. The common link, as with other series I've
> sent out recently, is converting child classes that currently
> use device_class_set_parent_reset() so that we can remove
> that function. To do this we first need to convert the parent
> class, and then the subclass.
> 
> The first two patches handle TYPE_VIRTIO_VGA_BASE, and its parent
> TYPE_VIRTIO_PCI.
> 
> The second two handle the parent TYPE_PCIE_ROOT_PORT and its two
> child classes TYPE_CXL_ROOT_PORT and TYPE_PNV_PHB_ROOT_PORT.
> 
> The last three deal with TYPE_PHB3_MSI and the parenT TYPE_ICS.
> 
> This is all 8.0 material.

Tested with the powern8 machine model that uses xics. Series:


Tested-by: Daniel Henrique Barboza <danielhb413@gmail.com>

> 
> thanks
> -- PMM
> 
> Peter Maydell (7):
>    hw/virtio: Convert TYPE_VIRTIO_PCI to 3-phase reset
>    hw/display/virtio-vga: Convert TYPE_VIRTIO_VGA_BASE to 3-phase reset
>    pci: Convert TYPE_PCIE_ROOT_PORT to 3-phase reset
>    pci: Convert child classes of TYPE_PCIE_ROOT_PORT to 3-phase reset
>    hw/intc/xics: Reset TYPE_ICS objects with device_cold_reset()
>    hw/intc/xics: Convert TYPE_ICS to 3-phase reset
>    hw/pci-host/pnv_phb3_msi: Convert TYPE_PHB3_MSI to 3-phase reset
> 
>   hw/display/virtio-vga.h        |  2 +-
>   include/hw/pci/pcie_port.h     |  2 +-
>   include/hw/ppc/xics.h          |  2 +-
>   hw/display/virtio-vga.c        | 15 +++++++++------
>   hw/intc/xics.c                 | 11 ++++++-----
>   hw/pci-bridge/cxl_root_port.c  | 14 +++++++++-----
>   hw/pci-bridge/pcie_root_port.c |  8 +++++---
>   hw/pci-host/pnv_phb.c          | 18 ++++++++++--------
>   hw/pci-host/pnv_phb3_msi.c     | 22 +++++++++-------------
>   hw/virtio/virtio-pci.c         |  8 +++++---
>   10 files changed, 56 insertions(+), 46 deletions(-)
> 


  parent reply	other threads:[~2022-11-30 12:21 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-25 11:52 [PATCH for-8.0 0/7] virtio, pci, xics: 3-phase reset conversions Peter Maydell
2022-11-25 11:52 ` [PATCH for-8.0 1/7] hw/virtio: Convert TYPE_VIRTIO_PCI to 3-phase reset Peter Maydell
2022-11-25 13:30   ` Philippe Mathieu-Daudé
2022-11-25 11:52 ` [PATCH for-8.0 2/7] hw/display/virtio-vga: Convert TYPE_VIRTIO_VGA_BASE " Peter Maydell
2022-11-30 10:46   ` Philippe Mathieu-Daudé
2022-11-25 11:52 ` [PATCH for-8.0 3/7] pci: Convert TYPE_PCIE_ROOT_PORT " Peter Maydell
2022-11-30 10:18   ` Philippe Mathieu-Daudé
2022-11-25 11:52 ` [PATCH for-8.0 4/7] pci: Convert child classes of " Peter Maydell
2022-11-30 10:45   ` Philippe Mathieu-Daudé
2022-11-25 11:52 ` [PATCH for-8.0 5/7] hw/intc/xics: Reset TYPE_ICS objects with device_cold_reset() Peter Maydell
2022-11-25 12:24   ` Cédric Le Goater
2022-11-25 13:45     ` Greg Kurz
2022-11-30 10:21       ` Philippe Mathieu-Daudé
2022-11-25 11:52 ` [PATCH for-8.0 6/7] hw/intc/xics: Convert TYPE_ICS to 3-phase reset Peter Maydell
2022-11-25 12:25   ` Cédric Le Goater
2022-11-25 13:48   ` Greg Kurz
2022-11-30 10:22   ` Philippe Mathieu-Daudé
2022-11-25 11:52 ` [PATCH for-8.0 7/7] hw/pci-host/pnv_phb3_msi: Convert TYPE_PHB3_MSI " Peter Maydell
2022-11-25 12:25   ` Cédric Le Goater
2022-11-30 10:23   ` Philippe Mathieu-Daudé
2022-11-30 12:20 ` Daniel Henrique Barboza [this message]
2022-12-16 16:02 ` [PATCH for-8.0 0/7] virtio, pci, xics: 3-phase reset conversions Peter Maydell

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=de62350f-cf37-31d8-3a28-73b92a1b9759@gmail.com \
    --to=danielhb413@gmail.com \
    --cc=clg@kaod.org \
    --cc=groug@kaod.org \
    --cc=kraxel@redhat.com \
    --cc=marcel.apfelbaum@gmail.com \
    --cc=mst@redhat.com \
    --cc=peter.maydell@linaro.org \
    --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).