Michal Suchanek msuchanek@suse.de writes:
From: Libor Pechacek lpechacek@suse.cz
In guests without hotplugagble memory drmem structure is only zero initialized. Trying to manipulate DLPAR parameters results in a crash.
[...]
Fixes: 6c6ea53725b3 ("powerpc/mm: Separate ibm, dynamic-memory data from DT format") Cc: Michal Suchanek msuchanek@suse.cz Cc: stable@vger.kernel.org Signed-off-by: Libor Pechacek lpechacek@suse.cz Signed-off-by: Michal Suchanek msuchanek@suse.de
v2: rename last_lmb -> limit, clarify error condition.
Acked-by: Nathan Lynch nathanl@linux.ibm.com
Thanks!