Alexey Kardashevskiy e881bfaf5a KVM: PPC: Fix nested guest RC bits update
Before commit 6cdf30375f82 ("powerpc/kvm/book3s: Use kvm helpers
to walk shadow or secondary table") we called __find_linux_pte() with
a page table pointer from a kvm_nested_guest struct but
now we rely on kvmhv_find_nested() which takes an L1 LPID and returns
a kvm_nested_guest pointer, however we pass a L0 LPID there and
the L2 guest hangs.

This fixes the LPID passed to kvmppc_hv_handle_set_rc().

Fixes: 6cdf30375f82 ("powerpc/kvm/book3s: Use kvm helpers to walk shadow or secondary table")
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200611030559.75257-1-aik@ozlabs.ru
2020-06-12 16:19:53 +10:00
..
2020-03-19 16:39:52 +11:00
2020-06-05 12:39:30 -07:00
2020-03-19 16:39:52 +11:00
2020-04-02 15:13:15 -07:00
2020-06-05 12:39:30 -07:00
2020-05-15 12:26:26 -04:00
2020-04-01 12:06:26 -04:00