]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: PPC: Book3S HV: Shared pages support for secure guests
authorBharata B Rao <bharata@linux.ibm.com>
Mon, 25 Nov 2019 03:06:27 +0000 (08:36 +0530)
committerPaul Mackerras <paulus@ozlabs.org>
Thu, 28 Nov 2019 05:47:38 +0000 (16:47 +1100)
commit60f0a643aa44e4bed3a74ea671110707dd64d892
tree322030a67014b07dd74bdf1b48613a5a862a6a6b
parentca9f4942670c37407bb109090eaf776ce2ccc54c
KVM: PPC: Book3S HV: Shared pages support for secure guests

A secure guest will share some of its pages with hypervisor (Eg. virtio
bounce buffers etc). Support sharing of pages between hypervisor and
ultravisor.

Shared page is reachable via both HV and UV side page tables. Once a
secure page is converted to shared page, the device page that represents
the secure page is unmapped from the HV side page tables.

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