Re: [PATCH 3/6] hw/sd/allwinner-sdhost: Do DMA accesses via DMA address space

2020-05-31 Thread Philippe Mathieu-Daudé
On 5/31/20 7:54 PM, Philippe Mathieu-Daudé wrote: > The DMA operations should not use the CPU address space, but > the DMA address space. Add support for a DMA address space, > and replace the cpu_physical_memory API calls by equivalent > dma_memory_read/write calls. > > Signed-off-by: Philippe

[PATCH 3/6] hw/sd/allwinner-sdhost: Do DMA accesses via DMA address space

2020-05-31 Thread Philippe Mathieu-Daudé
The DMA operations should not use the CPU address space, but the DMA address space. Add support for a DMA address space, and replace the cpu_physical_memory API calls by equivalent dma_memory_read/write calls. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/sd/allwinner-sdhost.h | 4