Re: [Xen-devel] [PATCH v4 3/5] xen/arm: vgic: Optimize the way to store the target vCPU in the rank

2015-10-23 Thread Julien Grall
On 23/10/15 11:14, Ian Campbell wrote: > On Fri, 2015-10-23 at 11:01 +0100, Julien Grall wrote: >> On 23/10/15 10:34, Ian Campbell wrote: >>> On Thu, 2015-10-22 at 18:15 +0100, Julien Grall wrote: Hi Ian, On 22/10/15 17:17, Ian Campbell wrote: > On Mon, 2015-10-12 at 15:22

Re: [Xen-devel] [PATCH v4 3/5] xen/arm: vgic: Optimize the way to store the target vCPU in the rank

2015-10-23 Thread Ian Campbell
On Fri, 2015-10-23 at 11:01 +0100, Julien Grall wrote: > On 23/10/15 10:34, Ian Campbell wrote: > > On Thu, 2015-10-22 at 18:15 +0100, Julien Grall wrote: > > > Hi Ian, > > > > > > On 22/10/15 17:17, Ian Campbell wrote: > > > > On Mon, 2015-10-12 at 15:22 +0100, Julien Grall wrote: > > > > >

Re: [Xen-devel] [PATCH v4 3/5] xen/arm: vgic: Optimize the way to store the target vCPU in the rank

2015-10-23 Thread Ian Campbell
On Thu, 2015-10-22 at 18:15 +0100, Julien Grall wrote: > Hi Ian, > > On 22/10/15 17:17, Ian Campbell wrote: > > On Mon, 2015-10-12 at 15:22 +0100, Julien Grall wrote: > > > [...] > > > /* Only migrate the vIRQ if the target vCPU has changed */ > > > if ( new_target != old_target

Re: [Xen-devel] [PATCH v4 3/5] xen/arm: vgic: Optimize the way to store the target vCPU in the rank

2015-10-23 Thread Julien Grall
On 23/10/15 10:34, Ian Campbell wrote: > On Thu, 2015-10-22 at 18:15 +0100, Julien Grall wrote: >> Hi Ian, >> >> On 22/10/15 17:17, Ian Campbell wrote: >>> On Mon, 2015-10-12 at 15:22 +0100, Julien Grall wrote: [...] /* Only migrate the vIRQ if the target vCPU has changed */

Re: [Xen-devel] [PATCH v4 3/5] xen/arm: vgic: Optimize the way to store the target vCPU in the rank

2015-10-22 Thread Julien Grall
Hi Ian, On 22/10/15 17:17, Ian Campbell wrote: > On Mon, 2015-10-12 at 15:22 +0100, Julien Grall wrote: >> [...] >> /* Only migrate the vIRQ if the target vCPU has changed */ >> if ( new_target != old_target ) >> { >> +unsigned int virq = rank->index *

Re: [Xen-devel] [PATCH v4 3/5] xen/arm: vgic: Optimize the way to store the target vCPU in the rank

2015-10-22 Thread Ian Campbell
On Mon, 2015-10-12 at 15:22 +0100, Julien Grall wrote: > [...] > /* Only migrate the vIRQ if the target vCPU has changed */ > if ( new_target != old_target ) > { > +unsigned int virq = rank->index * NR_INTERRUPT_PER_RANK + offset; FWIW this was the value of