On Wed, Feb 21, 2018 at 11:27:20PM +1100, Balbir Singh wrote: > On Wed, Feb 21, 2018 at 9:36 PM, Bharata B Rao > <bhar...@linux.vnet.ibm.com> wrote: > > Patch 1 fixes a bug that results in unexpected flag bit in > > ibm,dynamic-memory-v2 DT property and wrong number of entries > > getting created in the same property during hotplug. > > > > Could you please elaborate on what this means?
Described in 1/2 patch. > Is there a test case - > how do we reproduce this? Hotplug some memory and check the entries in ibm,dynamic-memory-v2 and also check the flags there, you will see DRMEM_LMB_RESERVED set, which shouldn't be set. You would need QEMU which supports ibm,dynamic-memory-v2. I have posted the initial patches for that at: http://lists.gnu.org/archive/html/qemu-ppc/2018-02/msg00236.html Regards, Bharata.