Home
last modified time | relevance | path

Searched refs:kvm_arch (Results 1 – 3 of 3) sorted by relevance

/linux/arch/x86/kvm/
H A Dkvm_onhyperv.c40 struct kvm_arch *kvm_arch = &kvm->arch; in __hv_flush_remote_tlbs_range() local
46 spin_lock(&kvm_arch->hv_root_tdp_lock); in __hv_flush_remote_tlbs_range()
48 if (!VALID_PAGE(kvm_arch->hv_root_tdp)) { in __hv_flush_remote_tlbs_range()
58 if (!VALID_PAGE(root) || root == kvm_arch->hv_root_tdp) in __hv_flush_remote_tlbs_range()
68 kvm_arch->hv_root_tdp = root; in __hv_flush_remote_tlbs_range()
86 kvm_arch->hv_root_tdp = INVALID_PAGE; in __hv_flush_remote_tlbs_range()
88 ret = hv_remote_flush_root_tdp(kvm_arch->hv_root_tdp, range); in __hv_flush_remote_tlbs_range()
91 spin_unlock(&kvm_arch->hv_root_tdp_lock); in __hv_flush_remote_tlbs_range()
114 struct kvm_arch *kvm_arch = &vcpu->kvm->arch; in hv_track_root_tdp() local
117 spin_lock(&kvm_arch->hv_root_tdp_lock); in hv_track_root_tdp()
[all …]
/linux/arch/loongarch/include/asm/
H A Dkvm_host.h120 struct kvm_arch { struct
309 static inline bool kvm_vm_support(struct kvm_arch *arch, int feature) in kvm_vm_support()
/linux/Documentation/virt/kvm/
H A Dlocking.rst261 ``kvm_arch::tsc_write_lock``
266 :Protects: - kvm_arch::{last_tsc_write,last_tsc_nsec,last_tsc_offset}