Browse Source

KVM: PPC: Book3S PR: Enable in-kernel TCE handlers for PR KVM

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>
Alexey Kardashevskiy 7 years ago
parent
commit
3f2bb76433
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/powerpc/kvm/book3s_pr_papr.c

+ 2 - 0
arch/powerpc/kvm/book3s_pr_papr.c

@@ -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: