Re: [Qemu-devel] [RFC PATCH v2 14/21] ppc/xive: add support for the SET_OS_PENDING command

2017-09-28 Thread Benjamin Herrenschmidt
On Wed, 2017-09-20 at 11:47 +0200, Cédric Le Goater wrote: > > > @@ -162,7 +162,14 @@ static bool spapr_xive_tm_is_readonly(uint8_t index) > > > static void spapr_xive_tm_write_special(ICPState *icp, hwaddr offset, > > > uint64_t value, unsigned size) > > >

Re: [Qemu-devel] [RFC PATCH v2 14/21] ppc/xive: add support for the SET_OS_PENDING command

2017-09-20 Thread Cédric Le Goater
On 09/19/2017 09:55 AM, David Gibson wrote: > On Mon, Sep 11, 2017 at 07:12:28PM +0200, Cédric Le Goater wrote: >> Adjusting the Interrupt Pending Buffer for the O/S would allow a CPU >> to process event queues of other priorities during one physical >> interrupt cycle. This is not currently used

Re: [Qemu-devel] [RFC PATCH v2 14/21] ppc/xive: add support for the SET_OS_PENDING command

2017-09-19 Thread David Gibson
On Mon, Sep 11, 2017 at 07:12:28PM +0200, Cédric Le Goater wrote: > Adjusting the Interrupt Pending Buffer for the O/S would allow a CPU > to process event queues of other priorities during one physical > interrupt cycle. This is not currently used by the XIVE support for > sPAPR in Linux but it

[Qemu-devel] [RFC PATCH v2 14/21] ppc/xive: add support for the SET_OS_PENDING command

2017-09-11 Thread Cédric Le Goater
Adjusting the Interrupt Pending Buffer for the O/S would allow a CPU to process event queues of other priorities during one physical interrupt cycle. This is not currently used by the XIVE support for sPAPR in Linux but it is by the hypervisor. Signed-off-by: Cédric Le Goater ---