KVM: PPC: Book3S HV: Handle memory plug/unplug to secure VM
authorBharata B Rao <bharata@linux.ibm.com>
Mon, 25 Nov 2019 03:06:29 +0000 (08:36 +0530)
committerPaul Mackerras <paulus@ozlabs.org>
Thu, 28 Nov 2019 06:02:26 +0000 (17:02 +1100)
commitc32622575dd0ecb6fd0b41e3a451bd58152971ba
tree04a7a119504357baa2d9d5e0409b6bf5789fdd91
parent008e359c76d85facb10d10fa21fd5bc8c3a4e5d6
KVM: PPC: Book3S HV: Handle memory plug/unplug to secure VM

Register the new memslot with UV during plug and unregister
the memslot during unplug. In addition, release all the
device pages during unplug.

Signed-off-by: Bharata B Rao <bharata@linux.ibm.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/include/asm/kvm_book3s_uvmem.h
arch/powerpc/include/asm/ultravisor-api.h
arch/powerpc/include/asm/ultravisor.h
arch/powerpc/kvm/book3s_64_mmu_radix.c
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_hv_uvmem.c