Re: [PATCH] fix host-endianness bug

2024-04-25 Thread Peter Maydell
On Wed, 24 Apr 2024 at 19:13, Alexandra Diupina wrote: > > Add a function xlnx_dpdma_read_descriptor() that > combines reading the descriptor from desc_addr > by calling dma_memory_read() and swapping desc > fields from guest memory order to host memory order. > > Found by Linux Verification Cente

[PATCH] fix host-endianness bug

2024-04-24 Thread Alexandra Diupina
Add a function xlnx_dpdma_read_descriptor() that combines reading the descriptor from desc_addr by calling dma_memory_read() and swapping desc fields from guest memory order to host memory order. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: d3c6369a96 ("introduce xlnx-