KVM: PPC: Book3S HV nestedv2: Ensure LPCR_MER bit is passed to the L0
authorJordan Niethe <jniethe5@gmail.com>
Fri, 1 Dec 2023 13:26:10 +0000 (18:56 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 7 Dec 2023 12:33:07 +0000 (23:33 +1100)
commitec0f6639fa8853cf6bfdfc3588aada7eeb7e5e37
treef37001db1c36d29fc39fa2f43fbe2884418ad0d9
parente678748a8dca5b57041a84a66577f6168587b3f7
KVM: PPC: Book3S HV nestedv2: Ensure LPCR_MER bit is passed to the L0

LPCR_MER is conditionally set during entry to a guest if there is a
pending external interrupt. In the nestedv2 case, this change is not
being communicated to the L0, which means it is not being set in the L2.
Ensure the updated LPCR value is passed to the L0.

Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231201132618.555031-6-vaibhav@linux.ibm.com
arch/powerpc/kvm/book3s_hv.c