Re: [PATCH v2 35/86] arm:xilinx_zynq: use memdev for RAM

2020-01-15 Thread Alistair Francis
On Thu, Jan 16, 2020 at 1:29 AM Igor Mammedov wrote: > > memory_region_allocate_system_memory() API is going away, so > replace it with memdev allocated MemoryRegion. The later is > initialized by generic code, so board only needs to opt in > to memdev scheme by providing > MachineClass::default

Re: [PATCH v2 35/86] arm:xilinx_zynq: use memdev for RAM

2020-01-15 Thread Philippe Mathieu-Daudé
On 1/15/20 4:06 PM, Igor Mammedov wrote: memory_region_allocate_system_memory() API is going away, so replace it with memdev allocated MemoryRegion. The later is initialized by generic code, so board only needs to opt in to memdev scheme by providing MachineClass::default_ram_id and using Mach

[PATCH v2 35/86] arm:xilinx_zynq: use memdev for RAM

2020-01-15 Thread Igor Mammedov
memory_region_allocate_system_memory() API is going away, so replace it with memdev allocated MemoryRegion. The later is initialized by generic code, so board only needs to opt in to memdev scheme by providing MachineClass::default_ram_id and using MachineState::ram instead of manually initializi