Re: [PATCH kernel] KVM: PPC: Fix nested guest RC bits update

2020-06-12 Thread Michael Ellerman
On Thu, 11 Jun 2020 13:05:59 +1000, Alexey Kardashevskiy wrote: > 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()

[PATCH kernel] KVM: PPC: Fix nested guest RC bits update

2020-06-10 Thread Alexey Kardashevskiy
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