diff options
author | Sean Christopherson <seanjc@google.com> | 2024-10-10 20:23:48 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-25 19:00:47 +0200 |
commit | 1fbee5b01a0fd27db571eed757682a7c20045107 (patch) | |
tree | d50a2e371ec480cfb4a69c6a995205db3dd738a7 /drivers/bus/mhi/ep | |
parent | KVM: guest_memfd: Pass index, not gfn, to __kvm_gmem_get_pfn() (diff) | |
download | linux-1fbee5b01a0fd27db571eed757682a7c20045107.tar.xz linux-1fbee5b01a0fd27db571eed757682a7c20045107.zip |
KVM: guest_memfd: Provide "struct page" as output from kvm_gmem_get_pfn()
Provide the "struct page" associated with a guest_memfd pfn as an output
from __kvm_gmem_get_pfn() so that KVM guest page fault handlers can
directly put the page instead of having to rely on
kvm_pfn_to_refcounted_page().
Tested-by: Alex Bennée <alex.bennee@linaro.org>
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-47-seanjc@google.com>
Diffstat (limited to 'drivers/bus/mhi/ep')
0 files changed, 0 insertions, 0 deletions