KVM: PPC: Book3S PR: Enable in-kernel TCE handlers for PR KVM
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Wed, 11 Oct 2017 05:01:08 +0000 (16:01 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Sat, 14 Oct 2017 05:38:19 +0000 (16:38 +1100)
The handlers support PR KVM from the day one; however the PR KVM's
enable/disable hcalls handler missed these ones.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_pr_papr.c

index 8a4205fa774fe552a8a7f72b90b9c28dfb1ed0e5..dae3be5ff42b39b60553053aaeb5b59a280d5dac 100644 (file)
@@ -419,6 +419,8 @@ int kvmppc_hcall_impl_pr(unsigned long cmd)
        case H_PROTECT:
        case H_BULK_REMOVE:
        case H_PUT_TCE:
+       case H_PUT_TCE_INDIRECT:
+       case H_STUFF_TCE:
        case H_CEDE:
        case H_LOGICAL_CI_LOAD:
        case H_LOGICAL_CI_STORE: