Re: [Qemu-devel] [PATCH v3 04/10] ppc/pnv: add a PIR handler to PnvChip

2016-09-21 Thread Cédric Le Goater
On 09/21/2016 03:29 AM, David Gibson wrote: > On Thu, Sep 15, 2016 at 02:45:54PM +0200, Cédric Le Goater wrote: >> P9 and P8 have some differences in the CPU PIR encoding. > > The thread id isn't in the PIR at all? The thread id from what I have seen is basically a +1. So this is why in PnvCore t

Re: [Qemu-devel] [PATCH v3 04/10] ppc/pnv: add a PIR handler to PnvChip

2016-09-20 Thread Benjamin Herrenschmidt
On Wed, 2016-09-21 at 11:29 +1000, David Gibson wrote: > On Thu, Sep 15, 2016 at 02:45:54PM +0200, Cédric Le Goater wrote: > > > > P9 and P8 have some differences in the CPU PIR encoding. > > The thread id isn't in the PIR at all? Yes it is. Though on P9 there could be different encodings depend

Re: [Qemu-devel] [PATCH v3 04/10] ppc/pnv: add a PIR handler to PnvChip

2016-09-20 Thread David Gibson
On Thu, Sep 15, 2016 at 02:45:54PM +0200, Cédric Le Goater wrote: > P9 and P8 have some differences in the CPU PIR encoding. The thread id isn't in the PIR at all? > > Signed-off-by: Cédric Le Goater > --- > hw/ppc/pnv.c | 14 ++ > include/hw/ppc/pnv.h | 1 + > 2 files cha