Searched refs:kvm_read_cr4_bits (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | x86.h | 108 kvm_read_cr4_bits(vcpu, X86_CR4_LA57); in is_la57_mode() 136 return kvm_read_cr4_bits(vcpu, X86_CR4_PAE); in is_pae() 141 return kvm_read_cr4_bits(vcpu, X86_CR4_PSE); in is_pse() 156 return kvm_read_cr4_bits(vcpu, X86_CR4_LA57) ? 57 : 48; in vcpu_virt_addr_bits()
|
D | kvm_cache_regs.h | 130 static inline ulong kvm_read_cr4_bits(struct kvm_vcpu *vcpu, ulong mask) in kvm_read_cr4_bits() function 148 return kvm_read_cr4_bits(vcpu, ~0UL); in kvm_read_cr4()
|
D | mmu.h | 81 return kvm_read_cr4_bits(vcpu, X86_CR4_PCIDE) in kvm_get_pcid()
|
D | cpuid.c | 116 kvm_read_cr4_bits(vcpu, X86_CR4_OSXSAVE)); in kvm_update_cpuid_runtime() 125 kvm_read_cr4_bits(vcpu, X86_CR4_PKE)); in kvm_update_cpuid_runtime()
|
D | x86.c | 725 if ((dr != 4 && dr != 5) || !kvm_read_cr4_bits(vcpu, X86_CR4_DE)) in kvm_require_dr() 868 if (!(cr0 & X86_CR0_PG) && kvm_read_cr4_bits(vcpu, X86_CR4_PCIDE)) in kvm_set_cr0() 898 if (kvm_read_cr4_bits(vcpu, X86_CR4_OSXSAVE)) { in kvm_load_guest_xsave_state() 909 (kvm_read_cr4_bits(vcpu, X86_CR4_PKE) || in kvm_load_guest_xsave_state() 919 (kvm_read_cr4_bits(vcpu, X86_CR4_PKE) || in kvm_load_host_xsave_state() 926 if (kvm_read_cr4_bits(vcpu, X86_CR4_OSXSAVE)) { in kvm_load_host_xsave_state() 1052 bool pcid_enabled = kvm_read_cr4_bits(vcpu, X86_CR4_PCIDE); in kvm_set_cr3() 4275 !kvm_read_cr4_bits(vcpu, X86_CR4_MCE)) { in kvm_vcpu_ioctl_x86_set_mce() 11504 pcid_enabled = kvm_read_cr4_bits(vcpu, X86_CR4_PCIDE); in kvm_handle_invpcid()
|
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/ |
D | mmu.c | 4250 bool cr4_smep = kvm_read_cr4_bits(vcpu, X86_CR4_SMEP) != 0; in update_permission_bitmask() 4251 bool cr4_smap = kvm_read_cr4_bits(vcpu, X86_CR4_SMAP) != 0; in update_permission_bitmask() 4349 if (!kvm_read_cr4_bits(vcpu, X86_CR4_PKE) || !is_long_mode(vcpu)) { in update_pkru_bitmask() 4458 ext.cr4_smep = !!kvm_read_cr4_bits(vcpu, X86_CR4_SMEP); in kvm_calc_mmu_role_ext() 4459 ext.cr4_smap = !!kvm_read_cr4_bits(vcpu, X86_CR4_SMAP); in kvm_calc_mmu_role_ext() 4461 ext.cr4_pke = !!kvm_read_cr4_bits(vcpu, X86_CR4_PKE); in kvm_calc_mmu_role_ext() 4462 ext.cr4_la57 = !!kvm_read_cr4_bits(vcpu, X86_CR4_LA57); in kvm_calc_mmu_role_ext() 4718 kvm_read_cr4_bits(vcpu, X86_CR4_PAE), in init_kvm_softmmu()
|
D | paging_tmpl.h | 866 if (kvm_read_cr4_bits(vcpu, X86_CR4_SMEP)) in FNAME()
|
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
D | nested.c | 4932 if (!kvm_read_cr4_bits(vcpu, X86_CR4_VMXE)) { in handle_vmon()
|