Re: [Xen-devel] [PATCH v3 21/25] xen/arm: refactor vpl011_data_avail

2018-08-13 Thread Julien Grall
Hi Stefano, On 01/08/18 00:28, 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

[Xen-devel] [PATCH v3 21/25] xen/arm: refactor vpl011_data_avail

2018-07-31 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 v3: - remove forward declaration of