Searched refs:X86_CR0_PG (Results 1 – 21 of 21) sorted by relevance
/kernel/linux/linux-5.10/arch/x86/platform/pvh/ |
D | head.S | 88 mov $(X86_CR0_PG | X86_CR0_PE), %eax 129 or $(X86_CR0_PG | X86_CR0_PE), %eax 141 and $~X86_CR0_PG, %eax
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/ |
D | processor-flags.h | 79 #define X86_CR0_PG _BITUL(X86_CR0_PG_BIT) macro 146 …R0_STATE (X86_CR0_PE | X86_CR0_MP | X86_CR0_ET | X86_CR0_NE | X86_CR0_WP | X86_CR0_AM | X86_CR0_PG)
|
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/ |
D | processor-flags.h | 72 #define X86_CR0_PG _BITUL(X86_CR0_PG_BIT) macro 164 X86_CR0_PG)
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
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
|
D | relocate_kernel_64.S | 131 orl $(X86_CR0_PG | X86_CR0_PE), %eax
|
D | head_32.S | 179 movl $(CR0_STATE & ~X86_CR0_PG),%eax
|
/kernel/linux/linux-5.10/arch/x86/realmode/rm/ |
D | reboot.S | 32 andl $~X86_CR0_PG, %eax
|
D | trampoline_64.S | 152 movl $(X86_CR0_PG | X86_CR0_WP | X86_CR0_PE), %eax
|
/kernel/linux/linux-5.10/arch/x86/boot/compressed/ |
D | head_64.S | 281 movl $(X86_CR0_PG | X86_CR0_PE), %eax /* Enable Paging and Protected mode */ 652 movl $(X86_CR0_PG | X86_CR0_PE), %eax 849 movl $(X86_CR0_PG | X86_CR0_PE), %ecx /* Enable Paging and Protected mode */
|
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
D | nested.h | 265 fixed0 &= ~(X86_CR0_PE | X86_CR0_PG); in nested_guest_cr0_valid()
|
D | nested.c | 3011 if (CC((vmcs12->guest_cr0 & (X86_CR0_PG | X86_CR0_PE)) == X86_CR0_PG)) in nested_vmx_check_guest_state() 3015 CC(ia32e && !(vmcs12->guest_cr0 & X86_CR0_PG))) in nested_vmx_check_guest_state() 3031 CC(((vmcs12->guest_cr0 & X86_CR0_PG) && in nested_vmx_check_guest_state() 6559 #define VMXON_CR0_ALWAYSON (X86_CR0_PE | X86_CR0_PG | X86_CR0_NE) in nested_vmx_setup_ctls_msrs()
|
D | vmx.c | 139 X86_CR0_WP | X86_CR0_PG | X86_CR0_PE) 3074 if (!(cr0 & X86_CR0_PG)) { in ept_update_paging_mode_cr0() 3112 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) in vmx_set_cr0() 3114 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) in vmx_set_cr0()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/x86_64/ |
D | processor.h | 390 #define X86_CR0_PG (1UL<<31) /* Paging */ macro
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | x86.h | 146 return likely(kvm_read_cr0_bits(vcpu, X86_CR0_PG)); in is_paging()
|
D | x86.c | 826 unsigned long pdptr_bits = X86_CR0_CD | X86_CR0_NW | X86_CR0_PG; in kvm_set_cr0() 827 unsigned long update_bits = X86_CR0_PG | X86_CR0_WP; in kvm_set_cr0() 841 if ((cr0 & X86_CR0_PG) && !(cr0 & X86_CR0_PE)) in kvm_set_cr0() 846 (cr0 & X86_CR0_PG)) { in kvm_set_cr0() 856 if (!(vcpu->arch.efer & EFER_LME) && (cr0 & X86_CR0_PG) && in kvm_set_cr0() 861 if (!(cr0 & X86_CR0_PG) && kvm_read_cr4_bits(vcpu, X86_CR4_PCIDE)) in kvm_set_cr0() 866 if ((cr0 ^ old_cr0) & X86_CR0_PG) { in kvm_set_cr0() 8679 cr0 = vcpu->arch.cr0 & ~(X86_CR0_PE | X86_CR0_EM | X86_CR0_TS | X86_CR0_PG); in enter_smm() 9695 if ((sregs->efer & EFER_LME) && (sregs->cr0 & X86_CR0_PG)) { in kvm_valid_sregs()
|
D | emulate.c | 2682 ctxt->ops->set_cr(ctxt, 0, cr0 & ~(X86_CR0_PG | X86_CR0_PE)); in em_rsm()
|
/kernel/linux/linux-5.10/arch/x86/kvm/svm/ |
D | nested.c | 100 kvm_init_shadow_npt_mmu(vcpu, X86_CR0_PG, hsave->save.cr4, hsave->save.efer, in nested_svm_init_mmu_context() 273 vmcb12_lma = (vmcb12->save.efer & EFER_LME) && (vmcb12->save.cr0 & X86_CR0_PG); in nested_vmcb_check_save() 1229 if (!(save->cr0 & X86_CR0_PG)) in svm_set_nested_state()
|
D | svm.c | 1667 if (!is_paging(vcpu) && (cr0 & X86_CR0_PG)) { in svm_set_cr0() 1672 if (is_paging(vcpu) && !(cr0 & X86_CR0_PG)) { in svm_set_cr0() 1681 cr0 |= X86_CR0_PG | X86_CR0_WP; in svm_set_cr0()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 564 sregs.cr0 = X86_CR0_PE | X86_CR0_NE | X86_CR0_PG; in vcpu_setup()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | kvm_host.h | 95 | X86_CR0_NW | X86_CR0_CD | X86_CR0_PG))
|
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/ |
D | mmu.c | 4581 if (!(cr0 & X86_CR0_PG)) in shadow_mmu_init_context() 4704 kvm_read_cr0_bits(vcpu, X86_CR0_PG), in init_kvm_softmmu()
|