diff options
author | Jordan Niethe <jniethe5@gmail.com> | 2023-12-01 16:26:08 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-12-07 15:33:07 +0300 |
commit | 63ccae78cd88b52fb1d598ae33fa8408ce067b30 (patch) | |
tree | af65db70925d419cc137504dd95fb030be5042b4 /arch/powerpc/kvm/book3s_64_mmu_radix.c | |
parent | e0d4acbcba3f2d63dc15bc5432c8e26fc9e19675 (diff) | |
download | linux-63ccae78cd88b52fb1d598ae33fa8408ce067b30.tar.xz |
KVM: PPC: Book3S HV nestedv2: Do not check msr on hcalls
The check for a hcall coming from userspace is done for KVM-PR. This is
not supported for nestedv2 and the L0 will directly inject the necessary
exception to the L2 if userspace performs a hcall. Avoid checking the
MSR and thus avoid a H_GUEST_GET_STATE hcall in the L1.
Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231201132618.555031-4-vaibhav@linux.ibm.com
Diffstat (limited to 'arch/powerpc/kvm/book3s_64_mmu_radix.c')
0 files changed, 0 insertions, 0 deletions