From: BALATON Zoltan <balaton@eik.bme.hu>
To: "Oscar Alejandro Sánchez Lucero" <aleszlucero@gmail.com>
Cc: qemu-devel@nongnu.org, Nicholas Piggin <npiggin@gmail.com>,
Aditya Gupta <adityag@linux.ibm.com>,
Glenn Miles <milesg@linux.ibm.com>,
Harsh Prateek Bora <harshpb@linux.ibm.com>,
qemu-ppc@nongnu.org, Bernhard Beschow <shentey@gmail.com>,
Amit Machhiwal <amachhiw@linux.ibm.com>,
Peter Maydell <peter.maydell@linaro.org>
Subject: Re: [PATCH 0/8] hw/ppc: Convert remaining PPC devices to Resettable interface
Date: Mon, 30 Nov 2026 16:14:55 +0100 (CET) [thread overview]
Message-ID: <882a09bc-e39b-deee-53d2-6298dc0fcb87@eik.bme.hu> (raw)
In-Reply-To: <20261130-ppc-resettable-v1-0-dc9f7fe881e4@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2225 bytes --]
On Mon, 30 Nov 2026, Oscar Alejandro Sánchez Lucero wrote:
> This series converts the remaining PowerPC device models in hw/ppc/
> (pnv_psi, ppc4xx_devs, ppc4xx_sdram, ppce500_spin, spapr_cpu_core,
> spapr_iommu, spapr_pci, and spapr_vio) from the deprecated
> device_class_set_legacy_reset() to the three-phase ResettableClass
> interface.
How is this different than what do_legacy_reset does calling a single
reset function at hold phase? While device_class_set_legacy_reset is
called legacy it does not mean it's deprecated for simple devices which
does not need multi-phase reset. Is there anything that this conversion is
needed for that cannot be done in do_legacy_reset keeping
device_class_set_legacy_reset as a convenience function for devices that
don't need multi-phase reset and avoid all this churn? If you're bothered
by the name it could be renamed to device_class_set_simple_reset or
device_class_set_reset_hold but that probably isn't worth the churn
either.
Regards,
BALATON Zoltan
> Signed-off-by: Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>
> ---
> Oscar Alejandro Sánchez Lucero (8):
> hw/ppc/pnv_psi: Convert to Resettable interface
> hw/ppc/ppc4xx_devs: Convert to Resettable interface
> hw/ppc/ppc4xx_sdram: Convert to Resettable interface
> hw/ppc/ppce500_spin: Convert to Resettable interface
> hw/ppc/spapr_cpu_core: Convert to Resettable interface
> hw/ppc/spapr_iommu: Convert to Resettable interface
> hw/ppc/spapr_pci: Convert to Resettable interface
> hw/ppc/spapr_vio: Convert to Resettable interface
>
> hw/ppc/pnv_psi.c | 24 +++++++++++++++++-------
> hw/ppc/ppc4xx_devs.c | 27 +++++++++++++++++----------
> hw/ppc/ppc4xx_sdram.c | 17 +++++++++++------
> hw/ppc/ppce500_spin.c | 9 +++++----
> hw/ppc/spapr_cpu_core.c | 13 ++++++++-----
> hw/ppc/spapr_iommu.c | 8 +++++---
> hw/ppc/spapr_pci.c | 14 ++++++++------
> hw/ppc/spapr_vio.c | 8 +++++---
> 8 files changed, 76 insertions(+), 44 deletions(-)
> ---
> base-commit: 9751c62358073580cbf330a4df22077a7c6a407c
> change-id: 20261130-ppc-resettable-d073d385443e
>
> Best regards,
> --
> Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>
>
>
>
next prev parent reply other threads:[~2026-11-30 15:15 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 6:08 [PATCH 0/8] hw/ppc: Convert remaining PPC devices to Resettable interface Oscar Alejandro Sánchez Lucero
2026-11-30 6:08 ` [PATCH 1/8] hw/ppc/pnv_psi: Convert " Oscar Alejandro Sánchez Lucero
2026-12-01 12:22 ` Bin Meng
2026-11-30 6:08 ` [PATCH 2/8] hw/ppc/ppc4xx_devs: " Oscar Alejandro Sánchez Lucero
2026-12-01 12:23 ` Bin Meng
2026-11-30 6:08 ` [PATCH 3/8] hw/ppc/ppc4xx_sdram: " Oscar Alejandro Sánchez Lucero
2026-12-01 12:24 ` Bin Meng
2026-11-30 6:08 ` [PATCH 4/8] hw/ppc/ppce500_spin: " Oscar Alejandro Sánchez Lucero
2026-12-01 12:25 ` Bin Meng
2026-11-30 6:08 ` [PATCH 5/8] hw/ppc/spapr_cpu_core: " Oscar Alejandro Sánchez Lucero
2026-12-01 12:25 ` Bin Meng
2026-11-30 6:08 ` [PATCH 6/8] hw/ppc/spapr_iommu: " Oscar Alejandro Sánchez Lucero
2026-12-01 12:26 ` Bin Meng
2026-11-30 6:08 ` [PATCH 7/8] hw/ppc/spapr_pci: " Oscar Alejandro Sánchez Lucero
2026-12-01 12:26 ` Bin Meng
2026-11-30 6:08 ` [PATCH 8/8] hw/ppc/spapr_vio: " Oscar Alejandro Sánchez Lucero
2026-12-01 12:26 ` Bin Meng
2026-11-30 15:14 ` BALATON Zoltan [this message]
2026-11-30 15:27 ` [PATCH 0/8] hw/ppc: Convert remaining PPC devices " Alejandro Lucero
2026-11-30 16:14 ` BALATON Zoltan
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=882a09bc-e39b-deee-53d2-6298dc0fcb87@eik.bme.hu \
--to=balaton@eik.bme.hu \
--cc=adityag@linux.ibm.com \
--cc=aleszlucero@gmail.com \
--cc=amachhiw@linux.ibm.com \
--cc=harshpb@linux.ibm.com \
--cc=milesg@linux.ibm.com \
--cc=npiggin@gmail.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=shentey@gmail.com \
/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 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.