diff options
| author | Sean Christopherson <[email protected]> | 2023-07-29 01:35:35 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2023-08-31 18:08:19 +0000 |
| commit | 09c8726ffa4a8309af7653988694b6cae6abf723 (patch) | |
| tree | 83ac59048cbc90eaedbc201f58be4b3f2f6ede7a /tools/perf/scripts/python/intel-pt-events.py | |
| parent | KVM: x86/mmu: Handle KVM bookkeeping in page-track APIs, not callers (diff) | |
| download | kernel-09c8726ffa4a8309af7653988694b6cae6abf723.tar.gz kernel-09c8726ffa4a8309af7653988694b6cae6abf723.zip | |
drm/i915/gvt: Drop final dependencies on KVM internal details
Open code gpa_to_gfn() in kvmgt_page_track_write() and drop KVMGT's
dependency on kvm_host.h, i.e. include only kvm_page_track.h. KVMGT
assumes "gfn == gpa >> PAGE_SHIFT" all over the place, including a few
lines below in the same function with the same gpa, i.e. there's no
reason to use KVM's helper for this one case.
No functional change intended.
Reviewed-by: Yan Zhao <[email protected]>
Tested-by: Yongwei Ma <[email protected]>
Reviewed-by: Zhi Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
