Searched refs:X86_CR0_PG (Results 1 – 22 of 22) sorted by relevance
/linux-6.3-rc2/arch/x86/platform/pvh/ |
A D | head.S | 88 mov $(X86_CR0_PG | X86_CR0_PE), %eax 119 or $(X86_CR0_PG | X86_CR0_PE), %eax 131 and $~X86_CR0_PG, %eax
|
/linux-6.3-rc2/arch/x86/include/uapi/asm/ |
A D | processor-flags.h | 72 #define X86_CR0_PG _BITUL(X86_CR0_PG_BIT) macro 166 X86_CR0_PG)
|
/linux-6.3-rc2/arch/x86/realmode/rm/ |
A D | trampoline_64.S | 73 movl $(CR0_STATE & ~X86_CR0_PG), %eax 183 movl $(CR0_STATE & ~X86_CR0_PG), %eax
|
A D | reboot.S | 32 andl $~X86_CR0_PG, %eax
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | relocate_kernel_32.S | 117 andl $~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %eax 194 orl $X86_CR0_PG, %eax
|
A D | relocate_kernel_64.S | 141 orl $(X86_CR0_PG | X86_CR0_PE), %eax
|
A D | head_32.S | 180 movl $(CR0_STATE & ~X86_CR0_PG),%eax
|
/linux-6.3-rc2/arch/x86/kvm/ |
A D | kvm_cache_regs.h | 12 #define X86_CR0_PDPTR_BITS (X86_CR0_CD | X86_CR0_NW | X86_CR0_PG)
|
A D | mmu.h | 42 #define KVM_MMU_CR0_ROLE_BITS (X86_CR0_PG | X86_CR0_WP)
|
A D | smm.c | 325 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm() 617 kvm_set_cr0(vcpu, cr0 & ~(X86_CR0_PG | X86_CR0_PE)); in emulator_leave_smm()
|
A D | x86.h | 186 return likely(kvm_read_cr0_bits(vcpu, X86_CR0_PG)); in is_paging()
|
A D | x86.c | 909 if ((cr0 ^ old_cr0) & X86_CR0_PG) { in kvm_post_set_cr0() 917 if (!(cr0 & X86_CR0_PG)) in kvm_post_set_cr0() 947 if ((cr0 & X86_CR0_PG) && !(cr0 & X86_CR0_PE)) in kvm_set_cr0() 952 (cr0 & X86_CR0_PG)) { in kvm_set_cr0() 962 if (!(vcpu->arch.efer & EFER_LME) && (cr0 & X86_CR0_PG) && in kvm_set_cr0() 967 if (!(cr0 & X86_CR0_PG) && in kvm_set_cr0() 11344 if ((sregs->efer & EFER_LME) && (sregs->cr0 & X86_CR0_PG)) { in kvm_is_valid_sregs() 11467 bool pae = (sregs2->cr0 & X86_CR0_PG) && (sregs2->cr4 & X86_CR4_PAE) && in __set_sregs2() 12007 if (old_cr0 & X86_CR0_PG) { in kvm_vcpu_reset()
|
/linux-6.3-rc2/arch/x86/kvm/vmx/ |
A D | nested.h | 265 fixed0 &= ~(X86_CR0_PE | X86_CR0_PG); in nested_guest_cr0_valid()
|
A D | vmx.c | 147 (KVM_VM_CR0_ALWAYS_ON_UNRESTRICTED_GUEST | X86_CR0_PG | X86_CR0_PE) 3265 old_cr0_pg = kvm_read_cr0_bits(vcpu, X86_CR0_PG); in vmx_set_cr0() 3289 if (!old_cr0_pg && (cr0 & X86_CR0_PG)) in vmx_set_cr0() 3291 else if (old_cr0_pg && !(cr0 & X86_CR0_PG)) in vmx_set_cr0() 3321 if (!(cr0 & X86_CR0_PG)) { in vmx_set_cr0() 3333 if ((old_cr0_pg ^ cr0) & X86_CR0_PG) in vmx_set_cr0() 3340 if (!(old_cr0_pg & X86_CR0_PG) && (cr0 & X86_CR0_PG)) in vmx_set_cr0()
|
A D | nested.c | 3065 CC(((vmcs12->guest_cr0 & X86_CR0_PG) && in nested_vmx_check_guest_state() 6978 #define VMXON_CR0_ALWAYSON (X86_CR0_PE | X86_CR0_PG | X86_CR0_NE) in nested_vmx_setup_ctls_msrs()
|
/linux-6.3-rc2/arch/x86/boot/compressed/ |
A D | mem_encrypt.S | 282 movl $(X86_CR0_PG | X86_CR0_PE), %ecx /* Enable Paging and Protected mode */
|
/linux-6.3-rc2/arch/x86/kvm/svm/ |
A D | nested.c | 93 kvm_init_shadow_npt_mmu(vcpu, X86_CR0_PG, svm->vmcb01.ptr->save.cr4, in nested_svm_init_mmu_context() 301 if ((save->efer & EFER_LME) && (save->cr0 & X86_CR0_PG)) { in __nested_vmcb_check_save() 1667 if (!(save->cr0 & X86_CR0_PG) || in svm_set_nested_state()
|
A D | svm.c | 1790 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in svm_set_cr0() 1795 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) { in svm_set_cr0() 1804 hcr0 |= X86_CR0_PG | X86_CR0_WP; in svm_set_cr0()
|
/linux-6.3-rc2/tools/testing/selftests/kvm/include/x86_64/ |
A D | processor.h | 1105 #define X86_CR0_PG (1UL<<31) /* Paging */ macro
|
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/x86_64/ |
A D | processor.c | 538 sregs.cr0 = X86_CR0_PE | X86_CR0_NE | X86_CR0_PG; in vcpu_setup()
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | kvm_host.h | 120 | X86_CR0_NW | X86_CR0_CD | X86_CR0_PG))
|
/linux-6.3-rc2/arch/x86/kvm/mmu/ |
A D | mmu.c | 193 BUILD_MMU_ROLE_REGS_ACCESSOR(cr0, pg, X86_CR0_PG);
|
Completed in 87 milliseconds