aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorYan Zhao <yan.y.zhao@intel.com>2023-07-14 14:51:56 +0800
committerSean Christopherson <seanjc@google.com>2023-10-09 14:35:14 -0700
commit9a3768191d95a9cc9a74f67ae971764def45acb4 (patch)
treee1adc06283036249fcb396f7cdc95ef7f55d71e9 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parent7a18c7c2b69a2e47e95e2a381f9b01b9aae36747 (diff)
KVM: x86/mmu: Zap SPTEs on MTRR update iff guest MTRRs are honored
When guest MTRRs are updated, zap SPTEs and do zap range calcluation if and only if KVM's MMU is honoring guest MTRRs, which is the only time that KVM incorporates the guest's MTRR type into the final memtype. Suggested-by: Chao Gao <chao.gao@intel.com> Suggested-by: Sean Christopherson <seanjc@google.com> Cc: Kai Huang <kai.huang@intel.com> Signed-off-by: Yan Zhao <yan.y.zhao@intel.com> Link: https://lore.kernel.org/r/20230714065156.20375-1-yan.y.zhao@intel.com [sean: rephrase shortlog] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions