commit | cb9b88c669396e3e5f957fe909ff901b51321013 | [log] [tgz] |
---|---|---|
author | Sean Christopherson <sean.j.christopherson@intel.com> | Fri Dec 06 15:57:18 2019 -0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Jan 08 18:16:03 2020 +0100 |
tree | 0e5d853ff3ad6ee85d80e3272b8ad2ad143e1a71 | |
parent | 9f1a8526fbe3e82afae565fd008f2ca2035662e8 [diff] |
KVM: x86/mmu: Refactor handling of cache consistency with TDP Pre-calculate the max level for a TDP page with respect to MTRR cache consistency in preparation of replacing force_pt_level with max_level, and eventually combining the bulk of nonpaging_page_fault() and tdp_page_fault() into a common helper. No functional change intended. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>