KVM: PPC: Book3S: Introduce hypervisor call H_GET_TCE
authorLaurent Dufour <ldufour@linux.vnet.ibm.com>
Fri, 21 Feb 2014 15:31:10 +0000 (16:31 +0100)
committerPaul Mackerras <paulus@samba.org>
Wed, 26 Mar 2014 12:34:27 +0000 (23:34 +1100)
commit69e9fbb278af8de3059f1d1017b52a32b5f9f0bd
tree7b96728fb8533860aca4cf607417a5f1ab332ad4
parente59d24e61269de34d79d2f39d3d581c219ac7a94
KVM: PPC: Book3S: Introduce hypervisor call H_GET_TCE

This introduces the H_GET_TCE hypervisor call, which is basically the
reverse of H_PUT_TCE, as defined in the Power Architecture Platform
Requirements (PAPR).

The hcall H_GET_TCE is required by the kdump kernel, which uses it to
retrieve TCEs set up by the previous (panicked) kernel.

Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/book3s_64_vio_hv.c
arch/powerpc/kvm/book3s_hv_rmhandlers.S