Re: [PATCH 1/3] hw/intc/spapr_xive: Use device_cold_reset() instead of device_legacy_reset()

2021-05-03 Thread David Gibson
On Mon, May 03, 2021 at 04:18:47PM +0100, Peter Maydell wrote: > The h_int_reset() function resets the XIVE interrupt controller via > device_legacy_reset(). We know that the interrupt controller does > not have a qbus of its own, so the new device_cold_reset() function > (which resets both the de

[PATCH 1/3] hw/intc/spapr_xive: Use device_cold_reset() instead of device_legacy_reset()

2021-05-03 Thread Peter Maydell
The h_int_reset() function resets the XIVE interrupt controller via device_legacy_reset(). We know that the interrupt controller does not have a qbus of its own, so the new device_cold_reset() function (which resets both the device and its child buses) is equivalent here to device_legacy_reset() a