Re: [Qemu-devel] [PATCH 13/25] spapr: introduce the XIVE Event Queues

2017-12-04 Thread Cédric Le Goater
On 12/04/2017 02:09 AM, David Gibson wrote: > On Fri, Dec 01, 2017 at 05:36:39PM +0100, Cédric Le Goater wrote: >> On 12/01/2017 12:35 AM, David Gibson wrote: >>> On Thu, Nov 30, 2017 at 02:06:27PM +, Cédric Le Goater wrote: On 11/30/2017 04:38 AM, David Gibson wrote: > On Thu, Nov 23,

Re: [Qemu-devel] [PATCH 13/25] spapr: introduce the XIVE Event Queues

2017-12-03 Thread David Gibson
On Fri, Dec 01, 2017 at 05:36:39PM +0100, Cédric Le Goater wrote: > On 12/01/2017 12:35 AM, David Gibson wrote: > > On Thu, Nov 30, 2017 at 02:06:27PM +, Cédric Le Goater wrote: > >> On 11/30/2017 04:38 AM, David Gibson wrote: > >>> On Thu, Nov 23, 2017 at 02:29:43PM +0100, Cédric Le Goater wro

Re: [Qemu-devel] [PATCH 13/25] spapr: introduce the XIVE Event Queues

2017-12-02 Thread Benjamin Herrenschmidt
On Sat, 2017-12-02 at 08:39 -0600, Benjamin Herrenschmidt wrote: > The IVEs and EQs are managed by the virtualization controller. The VPs > (aka ENDs) typo. aka NVTs > are managed by the presentation controller. There's a VP per > real and virtual CPU.

Re: [Qemu-devel] [PATCH 13/25] spapr: introduce the XIVE Event Queues

2017-12-02 Thread Benjamin Herrenschmidt
On Thu, 2017-11-30 at 15:38 +1100, David Gibson wrote: > On Thu, Nov 23, 2017 at 02:29:43PM +0100, Cédric Le Goater wrote: > > The Event Queue Descriptor (EQD) table, also known as Event Notification > > Descriptor (END), is one of the internal tables the XIVE interrupt > > controller uses to redir

Re: [Qemu-devel] [PATCH 13/25] spapr: introduce the XIVE Event Queues

2017-12-01 Thread David Gibson
On Thu, Nov 30, 2017 at 02:06:27PM +, Cédric Le Goater wrote: > On 11/30/2017 04:38 AM, David Gibson wrote: > > On Thu, Nov 23, 2017 at 02:29:43PM +0100, Cédric Le Goater wrote: > >> The Event Queue Descriptor (EQD) table, also known as Event Notification > >> Descriptor (END), is one of the in

Re: [Qemu-devel] [PATCH 13/25] spapr: introduce the XIVE Event Queues

2017-12-01 Thread Cédric Le Goater
On 12/01/2017 12:35 AM, David Gibson wrote: > On Thu, Nov 30, 2017 at 02:06:27PM +, Cédric Le Goater wrote: >> On 11/30/2017 04:38 AM, David Gibson wrote: >>> On Thu, Nov 23, 2017 at 02:29:43PM +0100, Cédric Le Goater wrote: The Event Queue Descriptor (EQD) table, also known as Event Notif

Re: [Qemu-devel] [PATCH 13/25] spapr: introduce the XIVE Event Queues

2017-11-30 Thread Cédric Le Goater
On 11/30/2017 04:38 AM, David Gibson wrote: > On Thu, Nov 23, 2017 at 02:29:43PM +0100, Cédric Le Goater wrote: >> The Event Queue Descriptor (EQD) table, also known as Event Notification >> Descriptor (END), is one of the internal tables the XIVE interrupt >> controller uses to redirect exception

Re: [Qemu-devel] [PATCH 13/25] spapr: introduce the XIVE Event Queues

2017-11-29 Thread David Gibson
On Thu, Nov 23, 2017 at 02:29:43PM +0100, Cédric Le Goater wrote: > The Event Queue Descriptor (EQD) table, also known as Event Notification > Descriptor (END), is one of the internal tables the XIVE interrupt > controller uses to redirect exception from event sources to CPU > threads. > > The EQD

Re: [Qemu-devel] [PATCH 13/25] spapr: introduce the XIVE Event Queues

2017-11-26 Thread Benjamin Herrenschmidt
On Fri, 2017-11-24 at 09:15 +0100, Cédric Le Goater wrote: > So The Linux driver is expected to choose priority 6. The priority > validity is then checked in each hcall returning H_P4/H_P3 in case of > failure. > > But it is true that we scale the arrays with : > > #define XIVE_PRIORITY_M

Re: [Qemu-devel] [PATCH 13/25] spapr: introduce the XIVE Event Queues

2017-11-24 Thread Cédric Le Goater
On 11/23/2017 09:31 PM, Benjamin Herrenschmidt wrote: > On Thu, 2017-11-23 at 14:29 +0100, Cédric Le Goater wrote: >> The Event Queue Descriptor (EQD) table, also known as Event Notification >> Descriptor (END), is one of the internal tables the XIVE interrupt >> controller uses to redirect excepti

Re: [Qemu-devel] [PATCH 13/25] spapr: introduce the XIVE Event Queues

2017-11-23 Thread Benjamin Herrenschmidt
On Thu, 2017-11-23 at 14:29 +0100, Cédric Le Goater wrote: > The Event Queue Descriptor (EQD) table, also known as Event Notification > Descriptor (END), is one of the internal tables the XIVE interrupt > controller uses to redirect exception from event sources to CPU > threads. Keep in mind tha w

[Qemu-devel] [PATCH 13/25] spapr: introduce the XIVE Event Queues

2017-11-23 Thread Cédric Le Goater
The Event Queue Descriptor (EQD) table, also known as Event Notification Descriptor (END), is one of the internal tables the XIVE interrupt controller uses to redirect exception from event sources to CPU threads. The EQD specifies on which Event Queue the event data should be posted when an except