Re: [Qemu-devel] [RFC PATCH 07/26] ppc/xive: add MMIO handlers to the XIVE interrupt source

2017-07-25 Thread Cédric Le Goater
On 07/25/2017 02:21 PM, David Gibson wrote: > On Mon, Jul 24, 2017 at 05:55:42PM +0200, Cédric Le Goater wrote: >> On 07/24/2017 06:29 AM, David Gibson wrote: >>> On Wed, Jul 05, 2017 at 07:13:20PM +0200, Cédric Le Goater wrote: Each interrupt source is associated with a 2-bit state machine

Re: [Qemu-devel] [RFC PATCH 07/26] ppc/xive: add MMIO handlers to the XIVE interrupt source

2017-07-25 Thread David Gibson
On Mon, Jul 24, 2017 at 05:55:42PM +0200, Cédric Le Goater wrote: > On 07/24/2017 06:29 AM, David Gibson wrote: > > On Wed, Jul 05, 2017 at 07:13:20PM +0200, Cédric Le Goater wrote: > >> Each interrupt source is associated with a 2-bit state machine called > >> an Event State Buffer (ESB). It is

Re: [Qemu-devel] [RFC PATCH 07/26] ppc/xive: add MMIO handlers to the XIVE interrupt source

2017-07-24 Thread Cédric Le Goater
On 07/24/2017 06:29 AM, David Gibson wrote: > On Wed, Jul 05, 2017 at 07:13:20PM +0200, Cédric Le Goater wrote: >> Each interrupt source is associated with a 2-bit state machine called >> an Event State Buffer (ESB). It is controlled by MMIO to trigger >> events. >> >> See code for more details on

Re: [Qemu-devel] [RFC PATCH 07/26] ppc/xive: add MMIO handlers to the XIVE interrupt source

2017-07-24 Thread Cédric Le Goater
On 07/24/2017 08:50 AM, Alexey Kardashevskiy wrote: > On 06/07/17 03:13, Cédric Le Goater wrote: >> Each interrupt source is associated with a 2-bit state machine called >> an Event State Buffer (ESB). It is controlled by MMIO to trigger >> events. >> >> See code for more details on the states. >>

Re: [Qemu-devel] [RFC PATCH 07/26] ppc/xive: add MMIO handlers to the XIVE interrupt source

2017-07-24 Thread Benjamin Herrenschmidt
On Mon, 2017-07-24 at 14:29 +1000, David Gibson wrote: > > +case XIVE_ESB_SET_PQ_00: > > +case XIVE_ESB_SET_PQ_01: > > +case XIVE_ESB_SET_PQ_10: > > +case XIVE_ESB_SET_PQ_11: > > +ret = xive_pq_get(x, lisn); > > +xive_pq_set(x, lisn, (offset >> 8) & 0x3); > > Again

Re: [Qemu-devel] [RFC PATCH 07/26] ppc/xive: add MMIO handlers to the XIVE interrupt source

2017-07-24 Thread Alexey Kardashevskiy
On 06/07/17 03:13, Cédric Le Goater wrote: > Each interrupt source is associated with a 2-bit state machine called > an Event State Buffer (ESB). It is controlled by MMIO to trigger > events. > > See code for more details on the states. > > Signed-off-by: Cédric Le Goater > --- >

Re: [Qemu-devel] [RFC PATCH 07/26] ppc/xive: add MMIO handlers to the XIVE interrupt source

2017-07-23 Thread David Gibson
On Wed, Jul 05, 2017 at 07:13:20PM +0200, Cédric Le Goater wrote: > Each interrupt source is associated with a 2-bit state machine called > an Event State Buffer (ESB). It is controlled by MMIO to trigger > events. > > See code for more details on the states. > > Signed-off-by: Cédric Le Goater

[Qemu-devel] [RFC PATCH 07/26] ppc/xive: add MMIO handlers to the XIVE interrupt source

2017-07-05 Thread Cédric Le Goater
Each interrupt source is associated with a 2-bit state machine called an Event State Buffer (ESB). It is controlled by MMIO to trigger events. See code for more details on the states. Signed-off-by: Cédric Le Goater --- hw/intc/xive.c| 230