Re: [PATCH v3 23/33] dp8393x: replace PROP_PTR with PROP_LINK

2019-10-24 Thread Philippe Mathieu-Daudé
On 10/24/19 1:12 PM, Marc-André Lureau wrote: On Thu, Oct 24, 2019 at 1:02 AM Philippe Mathieu-Daudé wrote: On 10/23/19 7:31 PM, Marc-André Lureau wrote: Link property is the correct way to pass a MemoryRegion to a device for DMA purposes. Sidenote: as a sysbus device, this remains

Re: [PATCH v3 23/33] dp8393x: replace PROP_PTR with PROP_LINK

2019-10-24 Thread Marc-André Lureau
On Thu, Oct 24, 2019 at 1:02 AM Philippe Mathieu-Daudé wrote: > > On 10/23/19 7:31 PM, Marc-André Lureau wrote: > > Link property is the correct way to pass a MemoryRegion to a device > > for DMA purposes. > > > > Sidenote: as a sysbus device, this remains non-usercreatable > > even though we can

Re: [PATCH v3 23/33] dp8393x: replace PROP_PTR with PROP_LINK

2019-10-23 Thread Philippe Mathieu-Daudé
On 10/23/19 7:31 PM, Marc-André Lureau wrote: Link property is the correct way to pass a MemoryRegion to a device for DMA purposes. Sidenote: as a sysbus device, this remains non-usercreatable even though we can drop the specific flag here. Signed-off-by: Marc-André Lureau Reviewed-by: Peter

[PATCH v3 23/33] dp8393x: replace PROP_PTR with PROP_LINK

2019-10-23 Thread Marc-André Lureau
Link property is the correct way to pass a MemoryRegion to a device for DMA purposes. Sidenote: as a sysbus device, this remains non-usercreatable even though we can drop the specific flag here. Signed-off-by: Marc-André Lureau Reviewed-by: Peter Maydell --- hw/mips/mips_jazz.c | 3 ++-