target-ppc/kvm: Enable in-kernel TCE acceleration for multi-tce
commit3dc410ae83e6cb76c81ea30a05d62596092b3165
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Mon, 27 Mar 2017 05:22:19 +0000 (27 16:22 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 26 Apr 2017 02:00:41 +0000 (26 12:00 +1000)
tree80df255985a95fb0b93fa8edb97e78353cef8565
parente957f6a9b92439a222ecd4ff1c8cdc9700710c72
target-ppc/kvm: Enable in-kernel TCE acceleration for multi-tce

This enables in-kernel handling of H_PUT_TCE_INDIRECT and
H_STUFF_TCE hypercalls. The host kernel support is there since v4.6,
in particular d3695aa4f452
("KVM: PPC: Add support for multiple-TCE hcalls").

H_PUT_TCE is already accelerated and does not need any special enablement.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c
target/ppc/kvm.c
target/ppc/kvm_ppc.h