Re: [PATCH v2 3/4] hw/dma/xlnx_csu_dma: Always expect 'dma' link property to be set

2021-08-20 Thread Peter Maydell
On Thu, 19 Aug 2021 at 17:34, Philippe Mathieu-Daudé wrote: > > Simplify by always passing a MemoryRegion property to the device. > Doing so we can move the AddressSpace field to the device struct, > removing need for heap allocation. > > Update the Xilinx ZynqMP SoC model to pass the default syst

[PATCH v2 3/4] hw/dma/xlnx_csu_dma: Always expect 'dma' link property to be set

2021-08-19 Thread Philippe Mathieu-Daudé
Simplify by always passing a MemoryRegion property to the device. Doing so we can move the AddressSpace field to the device struct, removing need for heap allocation. Update the Xilinx ZynqMP SoC model to pass the default system memory instead of a NULL value. Suggested-by: Peter Maydell Signed-