diff options
| author | Sean Christopherson <[email protected]> | 2022-04-29 01:04:12 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-06-20 06:21:33 -0400 |
| commit | 6573a6910ce46ece35c1aa4bd38b70884553cd21 (patch) | |
| tree | d9bb7789c1fec319d1561ffc01b5bc870e538861 /tools/perf/scripts/python | |
| parent | fe1911aa443ed774df46607970bed58d9769db41 (diff) | |
KVM: Don't WARN if kvm_pfn_to_page() encounters a "reserved" pfn
Drop a WARN_ON() if kvm_pfn_to_page() encounters a "reserved" pfn, which
in this context means a struct page that has PG_reserved but is not a/the
ZERO_PAGE and is not a ZONE_DEVICE page. The usage, via gfn_to_page(),
in x86 is safe as gfn_to_page() is used only to retrieve a page from
KVM-controlled memslot, but the usage in PPC and s390 operates on
arbitrary gfns and thus memslots that can be backed by incompatible
memory.
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions