Re: [PATCH v2] fix host-endianness bug

2024-04-25 Thread Philippe Mathieu-Daudé
Hi Alexandra, On 25/4/24 12:07, 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 Center (linuxt

[PATCH v2] fix host-endianness bug

2024-04-25 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-