Re: [PATCH v5 5/7] KVM: PPC: Book3S HV: migrate hot plugged memory

2020-07-26 Thread Bharata B Rao
On Thu, Jul 23, 2020 at 01:07:22PM -0700, Ram Pai wrote: > From: Laurent Dufour > > When a memory slot is hot plugged to a SVM, PFNs associated with the > GFNs in that slot must be migrated to the secure-PFNs, aka device-PFNs. > > Call kvmppc_uv_migrate_mem_slot() to accomplish this. > Disable

[PATCH v5 5/7] KVM: PPC: Book3S HV: migrate hot plugged memory

2020-07-23 Thread Ram Pai
From: Laurent Dufour When a memory slot is hot plugged to a SVM, PFNs associated with the GFNs in that slot must be migrated to the secure-PFNs, aka device-PFNs. Call kvmppc_uv_migrate_mem_slot() to accomplish this. Disable page-merge for all pages in the memory slot. Signed-off-by: Ram Pai