Re: [PATCH 0/9] fifo8: add fifo8_peek(), fifo8_peek_buf() and tests

2024-09-06 Thread Philippe Mathieu-Daudé
On 6/9/24 22:51, Mark Cave-Ayland wrote: On 06/09/2024 14:14, Philippe Mathieu-Daudé wrote: Hi Mark, I'm OK to queue it but took some notes while reviewing: https://lore.kernel.org/qemu-devel/20240906131217.78159-1-phi...@linaro.org/ If you can have a look, I'll queue both together. Thanks

Re: [PATCH 0/9] fifo8: add fifo8_peek(), fifo8_peek_buf() and tests

2024-09-06 Thread Mark Cave-Ayland
On 06/09/2024 14:14, Philippe Mathieu-Daudé wrote: Hi Mark, On 28/8/24 14:22, Mark Cave-Ayland wrote: Mark Cave-Ayland (9):    fifo8: rename fifo8_peekpop_buf() to fifo8_peekpop_bufptr()    fifo8: introduce head variable for fifo8_peekpop_bufptr()    fifo8: add skip parameter to fifo8_peekpop

Re: [PATCH 0/9] fifo8: add fifo8_peek(), fifo8_peek_buf() and tests

2024-09-06 Thread Philippe Mathieu-Daudé
Hi Mark, On 28/8/24 14:22, Mark Cave-Ayland wrote: Mark Cave-Ayland (9): fifo8: rename fifo8_peekpop_buf() to fifo8_peekpop_bufptr() fifo8: introduce head variable for fifo8_peekpop_bufptr() fifo8: add skip parameter to fifo8_peekpop_bufptr() fifo8: replace fifo8_pop_bufptr() with f

[PATCH 0/9] fifo8: add fifo8_peek(), fifo8_peek_buf() and tests

2024-08-28 Thread Mark Cave-Ayland
This is something I've had lying around for a little while as a follow on from Phil's recent work on Fifo8 with a few updates, but also adding the missing fifo8_peek() and fifo8_peek_buf() functions along with some relevant tests. The reason for sending this now is that there are couple of recent