[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] ppc/pnv: Reset handler registration cleanup
From: |
Greg Kurz |
Subject: |
[PATCH 0/2] ppc/pnv: Reset handler registration cleanup |
Date: |
Tue, 07 Jan 2020 17:32:34 +0100 |
User-agent: |
StGit/unknown-version |
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(-)