[PATCH v5 16/22] KVM: arm64: vgic-its: Add infrastructure for table lookup

2017-04-14 Thread Eric Auger
Add a generic lookup_table() helper whose role consists in scanning a contiguous table located in guest RAM and applying a callback on each entry. Entries can be handled as linked lists since the callback may return an offset to the next entry and also tell that an entry is the last one. Helper fu

Re: [PATCH v5 16/22] KVM: arm64: vgic-its: Add infrastructure for table lookup

2017-04-26 Thread Prakash B
On Fri, Apr 14, 2017 at 3:45 PM, Eric Auger wrote: > Add a generic lookup_table() helper whose role consists in > scanning a contiguous table located in guest RAM and applying > a callback on each entry. Entries can be handled as linked lists > since the callback may return an offset to the next e

Re: [PATCH v5 16/22] KVM: arm64: vgic-its: Add infrastructure for table lookup

2017-04-27 Thread Christoffer Dall
On Fri, Apr 14, 2017 at 12:15:28PM +0200, Eric Auger wrote: > Add a generic lookup_table() helper whose role consists in > scanning a contiguous table located in guest RAM and applying > a callback on each entry. Entries can be handled as linked lists > since the callback may return an offset to th

Re: [PATCH v5 16/22] KVM: arm64: vgic-its: Add infrastructure for table lookup

2017-04-27 Thread Auger Eric
Hi, On 27/04/2017 20:06, Christoffer Dall wrote: > On Fri, Apr 14, 2017 at 12:15:28PM +0200, Eric Auger wrote: >> Add a generic lookup_table() helper whose role consists in >> scanning a contiguous table located in guest RAM and applying >> a callback on each entry. Entries can be handled as linke

Re: [PATCH v5 16/22] KVM: arm64: vgic-its: Add infrastructure for table lookup

2017-04-28 Thread Christoffer Dall
On Thu, Apr 27, 2017 at 09:24:57PM +0200, Auger Eric wrote: > Hi, > > On 27/04/2017 20:06, Christoffer Dall wrote: > > On Fri, Apr 14, 2017 at 12:15:28PM +0200, Eric Auger wrote: > >> Add a generic lookup_table() helper whose role consists in > >> scanning a contiguous table located in guest RAM a

Re: [PATCH v5 16/22] KVM: arm64: vgic-its: Add infrastructure for table lookup

2017-04-30 Thread Christoffer Dall
On Fri, Apr 14, 2017 at 12:15:28PM +0200, Eric Auger wrote: > Add a generic lookup_table() helper whose role consists in > scanning a contiguous table located in guest RAM and applying > a callback on each entry. Entries can be handled as linked lists > since the callback may return an offset to th

Re: [PATCH v5 16/22] KVM: arm64: vgic-its: Add infrastructure for table lookup

2017-04-30 Thread Christoffer Dall
On Fri, Apr 14, 2017 at 12:15:28PM +0200, Eric Auger wrote: > Add a generic lookup_table() helper whose role consists in > scanning a contiguous table located in guest RAM and applying > a callback on each entry. Entries can be handled as linked lists > since the callback may return an offset to th

Re: [PATCH v5 16/22] KVM: arm64: vgic-its: Add infrastructure for table lookup

2017-04-30 Thread Christoffer Dall
On Fri, Apr 14, 2017 at 12:15:28PM +0200, Eric Auger wrote: > Add a generic lookup_table() helper whose role consists in > scanning a contiguous table located in guest RAM and applying > a callback on each entry. Entries can be handled as linked lists > since the callback may return an offset to th

Re: [PATCH v5 16/22] KVM: arm64: vgic-its: Add infrastructure for table lookup

2017-05-02 Thread Auger Eric
Hi Christoffer, On 30/04/2017 21:35, Christoffer Dall wrote: > On Fri, Apr 14, 2017 at 12:15:28PM +0200, Eric Auger wrote: >> Add a generic lookup_table() helper whose role consists in >> scanning a contiguous table located in guest RAM and applying >> a callback on each entry. Entries can be hand

Re: [PATCH v5 16/22] KVM: arm64: vgic-its: Add infrastructure for table lookup

2017-05-03 Thread Christoffer Dall
On Wed, May 03, 2017 at 08:53:36AM +0200, Auger Eric wrote: > Hi Christoffer, > > On 30/04/2017 21:35, Christoffer Dall wrote: > > On Fri, Apr 14, 2017 at 12:15:28PM +0200, Eric Auger wrote: > >> Add a generic lookup_table() helper whose role consists in > >> scanning a contiguous table located in

Re: [PATCH v5 16/22] KVM: arm64: vgic-its: Add infrastructure for table lookup

2017-05-03 Thread Auger Eric
Hi Christoffer, On 03/05/2017 10:01, Christoffer Dall wrote: > On Wed, May 03, 2017 at 08:53:36AM +0200, Auger Eric wrote: >> Hi Christoffer, >> >> On 30/04/2017 21:35, Christoffer Dall wrote: >>> On Fri, Apr 14, 2017 at 12:15:28PM +0200, Eric Auger wrote: Add a generic lookup_table() helper

Re: [PATCH v5 16/22] KVM: arm64: vgic-its: Add infrastructure for table lookup

2017-05-03 Thread Auger Eric
Hi Christoffer, On 30/04/2017 21:33, Christoffer Dall wrote: > On Fri, Apr 14, 2017 at 12:15:28PM +0200, Eric Auger wrote: >> Add a generic lookup_table() helper whose role consists in >> scanning a contiguous table located in guest RAM and applying >> a callback on each entry. Entries can be hand

Re: [PATCH v5 16/22] KVM: arm64: vgic-its: Add infrastructure for table lookup

2017-05-03 Thread Christoffer Dall
On Wed, May 03, 2017 at 03:40:34PM +0200, Auger Eric wrote: > Hi Christoffer, > > On 30/04/2017 21:33, Christoffer Dall wrote: > > On Fri, Apr 14, 2017 at 12:15:28PM +0200, Eric Auger wrote: > >> Add a generic lookup_table() helper whose role consists in > >> scanning a contiguous table located in