qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ppc/pnv: Reset handler registration cleanup
@ 2020-01-07 16:32 Greg Kurz
  2020-01-07 16:32 ` [PATCH 1/2] pnv/psi: Add device reset hook Greg Kurz
  2020-01-07 16:32 ` [PATCH 2/2] pnv/psi: Consolidate some duplicated code in pnv_psi_realize() Greg Kurz
  0 siblings, 2 replies; 11+ messages in thread
From: Greg Kurz @ 2020-01-07 16:32 UTC (permalink / raw)
  To: David Gibson, Cédric Le Goater; +Cc: qemu-ppc, qemu-devel

These patches were initially posted in Cedric's "ppc/pnv: remove the use of
qdev_get_machine()" series, which isn't really related to reset handlers
BTW.

The only change is to call device_reset() instead of open-coding the
invocation of DeviceReset::reset() as suggested by David.

--
Greg

---

Greg Kurz (2):
      pnv/psi: Add device reset hook
      pnv/psi: Consolidate some duplicated code in pnv_psi_realize()


 hw/ppc/pnv_psi.c |   30 +++++++++++++++++++++---------
 1 file changed, 21 insertions(+), 9 deletions(-)



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

end of thread, other threads:[~2020-01-09  1:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-07 16:32 [PATCH 0/2] ppc/pnv: Reset handler registration cleanup Greg Kurz
2020-01-07 16:32 ` [PATCH 1/2] pnv/psi: Add device reset hook Greg Kurz
2020-01-07 18:28   ` Philippe Mathieu-Daudé
2020-01-08  0:07   ` David Gibson
2020-01-07 16:32 ` [PATCH 2/2] pnv/psi: Consolidate some duplicated code in pnv_psi_realize() Greg Kurz
2020-01-07 18:32   ` Philippe Mathieu-Daudé
2020-01-08  0:54     ` David Gibson
2020-01-08 10:58       ` Greg Kurz
2020-01-08 13:20         ` Cédric Le Goater
2020-01-09  1:33         ` David Gibson
2020-01-08  0:54   ` David Gibson

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