diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2022-05-06 10:37:37 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-05-18 17:44:15 +0300 |
commit | 29592181c5496d93697a23e6dbb9d7cc317ff5ee (patch) | |
tree | 16e5ec9ce5b494d0319322ea276539e579f5f4ed /arch/powerpc/kvm/book3s_hv_rmhandlers.S | |
parent | cad32d9d42e8e6a659786f8a730b221a9fbee227 (diff) | |
download | linux-29592181c5496d93697a23e6dbb9d7cc317ff5ee.tar.xz |
KVM: PPC: Book3s: PR: Enable default TCE hypercalls
When KVM_CAP_PPC_ENABLE_HCALL was introduced, H_GET_TCE and H_PUT_TCE
were already implemented and enabled by default; however H_GET_TCE
was missed out on PR KVM (probably because the handler was in
the real mode code at the time).
This enables H_GET_TCE by default. While at this, this wraps
the checks in ifdef CONFIG_SPAPR_TCE_IOMMU just like HV KVM.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220506073737.3823347-1-aik@ozlabs.ru
Diffstat (limited to 'arch/powerpc/kvm/book3s_hv_rmhandlers.S')
0 files changed, 0 insertions, 0 deletions