Re: [Qemu-devel] [PATCH 13/27] ppc/pnv: psi: add a reset handler

2019-03-06 Thread David Gibson
On Wed, Mar 06, 2019 at 09:50:18AM +0100, Cédric Le Goater wrote: > Reset all regs but keep the MMIO BAR enabled as it is at realize time. > > Signed-off-by: Cédric Le Goater Again, I don't like the duplication of information between psi->reg and psi->bar. But that's out of scope for this patch

[Qemu-devel] [PATCH 13/27] ppc/pnv: psi: add a reset handler

2019-03-06 Thread Cédric Le Goater
Reset all regs but keep the MMIO BAR enabled as it is at realize time. Signed-off-by: Cédric Le Goater --- hw/ppc/pnv_psi.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/hw/ppc/pnv_psi.c b/hw/ppc/pnv_psi.c index a2f8d0dece80..e61861bfd3c6 100644 --- a/hw/ppc/pnv_psi.c +++ b/hw