Re: [Qemu-devel] [PATCH 01/20] nvic: Clear the vector arrays and prigroup on reset

2017-09-22 Thread Richard Henderson
On 09/22/2017 09:59 AM, Peter Maydell wrote: > Reset for devices does not include an automatic clear of the > device state (unlike CPU state, where most of the state > structure is cleared to zero). Add some missing initialization > of NVIC state that meant that the device was left in the wrong >

[Qemu-devel] [PATCH 01/20] nvic: Clear the vector arrays and prigroup on reset

2017-09-22 Thread Peter Maydell
Reset for devices does not include an automatic clear of the device state (unlike CPU state, where most of the state structure is cleared to zero). Add some missing initialization of NVIC state that meant that the device was left in the wrong state if the guest did a warm reset. (In particular,