Re: [Qemu-devel] [PATCH v4 02/26] ppc/xics: fix ICP and ICS reset

2017-02-27 Thread Cédric Le Goater
On 02/28/2017 03:00 AM, David Gibson wrote: > On Mon, Feb 27, 2017 at 03:29:09PM +0100, Cédric Le Goater wrote: >> commit 5b17c7207938 ("xics: XICS should not be a SysBusDevice") >> changed the nature of the XICS object to be a descendent of >> TYPE_DEVICE. By doing so, the object is not on a bus a

Re: [Qemu-devel] [PATCH v4 02/26] ppc/xics: fix ICP and ICS reset

2017-02-27 Thread David Gibson
On Mon, Feb 27, 2017 at 03:29:09PM +0100, Cédric Le Goater wrote: > commit 5b17c7207938 ("xics: XICS should not be a SysBusDevice") > changed the nature of the XICS object to be a descendent of > TYPE_DEVICE. By doing so, the object is not on a bus and its reset > handler is not called anymore. The

[Qemu-devel] [PATCH v4 02/26] ppc/xics: fix ICP and ICS reset

2017-02-27 Thread Cédric Le Goater
commit 5b17c7207938 ("xics: XICS should not be a SysBusDevice") changed the nature of the XICS object to be a descendent of TYPE_DEVICE. By doing so, the object is not on a bus and its reset handler is not called anymore. The direct consequence is that the ICP and ICS objects are not correctly init