Re: [Qemu-devel] [PATCH v5 16/36] spapr: add hcalls support for the XIVE exploitation interrupt mode

2018-12-03 Thread David Gibson
On Mon, Dec 03, 2018 at 05:49:37PM +0100, Cédric Le Goater wrote: > +} > + > +switch (qsize) { > +case 12: > +case 16: > +case 21: > +case 24: > +end.w3 = ((uint64_t)qpage) & 0x; > >>

Re: [Qemu-devel] [PATCH v5 16/36] spapr: add hcalls support for the XIVE exploitation interrupt mode

2018-12-03 Thread Cédric Le Goater
+} + +switch (qsize) { +case 12: +case 16: +case 21: +case 24: +end.w3 = ((uint64_t)qpage) & 0x; >>> >>> It just occurred to me that I haven't been looking for this across any >>>

Re: [Qemu-devel] [PATCH v5 16/36] spapr: add hcalls support for the XIVE exploitation interrupt mode

2018-12-02 Thread David Gibson
On Fri, Nov 30, 2018 at 09:07:19AM +0100, Cédric Le Goater wrote: > On 11/30/18 2:23 AM, David Gibson wrote: > > On Thu, Nov 29, 2018 at 05:04:50PM +0100, Cédric Le Goater wrote: > >> On 11/29/18 2:23 AM, David Gibson wrote: > >>> On Wed, Nov 28, 2018 at 11:21:37PM +0100, Cédric Le Goater wrote: >

Re: [Qemu-devel] [PATCH v5 16/36] spapr: add hcalls support for the XIVE exploitation interrupt mode

2018-11-30 Thread Cédric Le Goater
On 11/30/18 2:23 AM, David Gibson wrote: > On Thu, Nov 29, 2018 at 05:04:50PM +0100, Cédric Le Goater wrote: >> On 11/29/18 2:23 AM, David Gibson wrote: >>> On Wed, Nov 28, 2018 at 11:21:37PM +0100, Cédric Le Goater wrote: On 11/28/18 5:25 AM, David Gibson wrote: > On Fri, Nov 16, 2018 at

Re: [Qemu-devel] [PATCH v5 16/36] spapr: add hcalls support for the XIVE exploitation interrupt mode

2018-11-29 Thread David Gibson
On Thu, Nov 29, 2018 at 05:04:50PM +0100, Cédric Le Goater wrote: > On 11/29/18 2:23 AM, David Gibson wrote: > > On Wed, Nov 28, 2018 at 11:21:37PM +0100, Cédric Le Goater wrote: > >> On 11/28/18 5:25 AM, David Gibson wrote: > >>> On Fri, Nov 16, 2018 at 11:57:09AM +0100, Cédric Le Goater wrote: >

Re: [Qemu-devel] [PATCH v5 16/36] spapr: add hcalls support for the XIVE exploitation interrupt mode

2018-11-29 Thread Cédric Le Goater
On 11/29/18 2:23 AM, David Gibson wrote: > On Wed, Nov 28, 2018 at 11:21:37PM +0100, Cédric Le Goater wrote: >> On 11/28/18 5:25 AM, David Gibson wrote: >>> On Fri, Nov 16, 2018 at 11:57:09AM +0100, Cédric Le Goater wrote: The different XIVE virtualization structures (sources and event queues)

Re: [Qemu-devel] [PATCH v5 16/36] spapr: add hcalls support for the XIVE exploitation interrupt mode

2018-11-28 Thread David Gibson
On Wed, Nov 28, 2018 at 11:21:37PM +0100, Cédric Le Goater wrote: > On 11/28/18 5:25 AM, David Gibson wrote: > > On Fri, Nov 16, 2018 at 11:57:09AM +0100, Cédric Le Goater wrote: > >> The different XIVE virtualization structures (sources and event queues) > >> are configured with a set of Hyperviso

Re: [Qemu-devel] [PATCH v5 16/36] spapr: add hcalls support for the XIVE exploitation interrupt mode

2018-11-28 Thread Cédric Le Goater
On 11/28/18 5:25 AM, David Gibson wrote: > On Fri, Nov 16, 2018 at 11:57:09AM +0100, Cédric Le Goater wrote: >> The different XIVE virtualization structures (sources and event queues) >> are configured with a set of Hypervisor calls : >> >> - H_INT_GET_SOURCE_INFO >> >>used to obtain the addre

Re: [Qemu-devel] [PATCH v5 16/36] spapr: add hcalls support for the XIVE exploitation interrupt mode

2018-11-27 Thread David Gibson
On Fri, Nov 16, 2018 at 11:57:09AM +0100, Cédric Le Goater wrote: > The different XIVE virtualization structures (sources and event queues) > are configured with a set of Hypervisor calls : > > - H_INT_GET_SOURCE_INFO > >used to obtain the address of the MMIO page of the Event State >Buf

[Qemu-devel] [PATCH v5 16/36] spapr: add hcalls support for the XIVE exploitation interrupt mode

2018-11-16 Thread Cédric Le Goater
The different XIVE virtualization structures (sources and event queues) are configured with a set of Hypervisor calls : - H_INT_GET_SOURCE_INFO used to obtain the address of the MMIO page of the Event State Buffer (ESB) entry associated with the source. - H_INT_SET_SOURCE_CONFIG assi