Re: [Qemu-devel] [PATCH 01/25] ppc/xics: introduce an icp_create() helper

2017-11-23 Thread Cédric Le Goater
On 11/24/2017 03:51 AM, David Gibson wrote: > On Thu, Nov 23, 2017 at 02:29:31PM +0100, Cédric Le Goater wrote: >> The sPAPR and the PowerNV core objects create the interrupt presenter >> object of the CPUs in a very similar way. Let's provide a common >> routine in which we use the presenter 'type

Re: [Qemu-devel] [PATCH 01/25] ppc/xics: introduce an icp_create() helper

2017-11-23 Thread David Gibson
On Thu, Nov 23, 2017 at 02:29:31PM +0100, Cédric Le Goater wrote: > The sPAPR and the PowerNV core objects create the interrupt presenter > object of the CPUs in a very similar way. Let's provide a common > routine in which we use the presenter 'type' as a child identifier. > > Signed-off-by: Cédr

[Qemu-devel] [PATCH 01/25] ppc/xics: introduce an icp_create() helper

2017-11-23 Thread Cédric Le Goater
The sPAPR and the PowerNV core objects create the interrupt presenter object of the CPUs in a very similar way. Let's provide a common routine in which we use the presenter 'type' as a child identifier. Signed-off-by: Cédric Le Goater --- hw/intc/xics.c | 22 ++ hw/p