Home
last modified time | relevance | path

Searched refs:X86_CR0_PG (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.4/arch/x86/platform/pvh/
Dhead.S88 mov $(X86_CR0_PG | X86_CR0_PE), %eax
129 or $(X86_CR0_PG | X86_CR0_PE), %eax
141 and $~X86_CR0_PG, %eax
/Linux-v5.4/arch/x86/include/uapi/asm/
Dprocessor-flags.h72 #define X86_CR0_PG _BITUL(X86_CR0_PG_BIT) macro
164 X86_CR0_PG)
/Linux-v5.4/arch/x86/kernel/
Drelocate_kernel_32.S113 andl $~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %eax
187 orl $X86_CR0_PG, %eax
Drelocate_kernel_64.S124 orl $(X86_CR0_PG | X86_CR0_PE), %eax
Dhead_32.S215 movl $(CR0_STATE & ~X86_CR0_PG),%eax
/Linux-v5.4/arch/x86/realmode/rm/
Dreboot.S32 andl $~X86_CR0_PG, %eax
Dtrampoline_64.S130 movl $(X86_CR0_PG | X86_CR0_WP | X86_CR0_PE), %eax
/Linux-v5.4/arch/x86/boot/compressed/
Dhead_64.S220 movl $(X86_CR0_PG | X86_CR0_PE), %eax /* Enable Paging and Protected mode */
632 movl $(X86_CR0_PG | X86_CR0_PE), %eax
/Linux-v5.4/arch/x86/kvm/vmx/
Dnested.h268 fixed0 &= ~(X86_CR0_PE | X86_CR0_PG); in nested_guest_cr0_valid()
Dvmx.c133 X86_CR0_WP | X86_CR0_PG | X86_CR0_PE)
2918 if (!(cr0 & X86_CR0_PG)) { in ept_update_paging_mode_cr0()
2956 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) in vmx_set_cr0()
2958 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) in vmx_set_cr0()
Dnested.c2796 CC(((vmcs12->guest_cr0 & X86_CR0_PG) && in nested_vmx_check_guest_state()
6004 #define VMXON_CR0_ALWAYSON (X86_CR0_PE | X86_CR0_PG | X86_CR0_NE) in nested_vmx_setup_ctls_msrs()
/Linux-v5.4/arch/x86/kvm/
Dx86.h139 return likely(kvm_read_cr0_bits(vcpu, X86_CR0_PG)); in is_paging()
Dx86.c753 unsigned long update_bits = X86_CR0_PG | X86_CR0_WP; in kvm_set_cr0()
767 if ((cr0 & X86_CR0_PG) && !(cr0 & X86_CR0_PE)) in kvm_set_cr0()
770 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in kvm_set_cr0()
787 if (!(cr0 & X86_CR0_PG) && kvm_read_cr4_bits(vcpu, X86_CR4_PCIDE)) in kvm_set_cr0()
792 if ((cr0 ^ old_cr0) & X86_CR0_PG) { in kvm_set_cr0()
7817 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm()
8750 if ((sregs->efer & EFER_LME) && (sregs->cr0 & X86_CR0_PG)) { in kvm_valid_sregs()
Demulate.c2627 ctxt->ops->set_cr(ctxt, 0, cr0 & ~(X86_CR0_PG | X86_CR0_PE)); in em_rsm()
4216 if (((new_val & X86_CR0_PG) && !(new_val & X86_CR0_PE)) || in check_cr_write()
4223 if ((new_val & X86_CR0_PG) && (efer & EFER_LME) && in check_cr_write()
Dsvm.c2559 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in svm_set_cr0()
2564 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) { in svm_set_cr0()
2573 cr0 |= X86_CR0_PG | X86_CR0_WP; in svm_set_cr0()
/Linux-v5.4/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h344 #define X86_CR0_PG (1UL<<31) /* Paging */ macro
/Linux-v5.4/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c625 sregs.cr0 = X86_CR0_PE | X86_CR0_NE | X86_CR0_PG; in vcpu_setup()
/Linux-v5.4/arch/x86/include/asm/
Dkvm_host.h85 | X86_CR0_NW | X86_CR0_CD | X86_CR0_PG))