Re: [Xen-devel] [PATCH v2 17/21] xen/arm: refactor vpl011_data_avail

2018-07-27 Thread Stefano Stabellini
On Tue, 24 Jul 2018, Julien Grall wrote: > Hi Stefano, > > On 07/07/18 00:12, Stefano Stabellini wrote: > > Move the code to calculate in_fifo_level and out_fifo_level out of > > vpl011_data_avail, to the caller. > > This change will make it possible to reuse vpl011_data_avail with > > different r

Re: [Xen-devel] [PATCH v2 17/21] xen/arm: refactor vpl011_data_avail

2018-07-24 Thread Julien Grall
Hi Stefano, On 07/07/18 00:12, Stefano Stabellini wrote: Move the code to calculate in_fifo_level and out_fifo_level out of vpl011_data_avail, to the caller. This change will make it possible to reuse vpl011_data_avail with different ring structures in a later patch. Signed-off-by: Stefano Stab

[Xen-devel] [PATCH v2 17/21] xen/arm: refactor vpl011_data_avail

2018-07-06 Thread Stefano Stabellini
Move the code to calculate in_fifo_level and out_fifo_level out of vpl011_data_avail, to the caller. This change will make it possible to reuse vpl011_data_avail with different ring structures in a later patch. Signed-off-by: Stefano Stabellini --- Changes in v2: - new patch --- xen/arch/arm/vp