]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: PPC: e500: Use __kvm_faultin_pfn() to handle page faults
authorSean Christopherson <seanjc@google.com>
Thu, 10 Oct 2024 18:23:56 +0000 (11:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 12:49:34 +0000 (13:49 +0100)
commitdeead14da7478b40a18cc439064c9c1a933e1b4b
tree13c44919d51e7a04f2c61f3875306301def1809e
parentd2004572fc3014cae43a0d6374ffabbbab1644d4
KVM: PPC: e500: Use __kvm_faultin_pfn() to handle page faults

[ Upstream commit 419cfb983ca93e75e905794521afefcfa07988bb ]

Convert PPC e500 to use __kvm_faultin_pfn()+kvm_release_faultin_page(),
and continue the inexorable march towards the demise of
kvm_pfn_to_refcounted_page().

Signed-off-by: Sean Christopherson <seanjc@google.com>
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20241010182427.1434605-55-seanjc@google.com>
Stable-dep-of: 87ecfdbc699c ("KVM: e500: always restore irqs")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/kvm/e500_mmu_host.c