On Wed, 2020-03-04 at 04:18 -0300, Leonardo Bras wrote: > Humm, this makes sense. > But with mu change, these pieces of memory only get into ZONE_MOVABLE > if the boot parameter 'movable_node' gets passed to guest kernel.
Humm, I think your patch also does that. > So, even if we are unable to sort out some flag combination that work > fine for both use-cases, if PowerVM don't pass 'movable_node' as boot > parameter to kernel, it will behave just as today. Also, another option would be adding a new 'removable' flag, given it has a lot of free bytes. It would only be passed by qemu, so we would be safe with PowerVM. Then we would have + if(lmb->flags & DRCONF_MEM_REMOVABLE) + early_init_dt_mark_hotplug_memory_arch(base, size); Do you know if it's possible? We would need to update the LOPAPR? Leonardo
signature.asc
Description: This is a digitally signed message part