[PATCH kernel] KVM: PPC: Book3s: PR: Enable default TCE hypercalls

Fabiano Rosas farosas at linux.ibm.com
Sat May 7 00:14:21 AEST 2022


Alexey Kardashevskiy <aik at ozlabs.ru> writes:

> 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 at ozlabs.ru>

Reviewed-by: Fabiano Rosas <farosas at linux.ibm.com>


More information about the Linuxppc-dev mailing list