Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/
Dprocessor-flags.h79 #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/
Dprocessor-flags.h72 #define X86_CR0_PG _BITUL(X86_CR0_PG_BIT) macro
164 X86_CR0_PG)
/kernel/linux/linux-5.10/arch/x86/kernel/
Drelocate_kernel_32.S117 andl $~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %eax
194 orl $X86_CR0_PG, %eax
Drelocate_kernel_64.S131 orl $(X86_CR0_PG | X86_CR0_PE), %eax
Dhead_32.S179 movl $(CR0_STATE & ~X86_CR0_PG),%eax
/kernel/linux/linux-5.10/arch/x86/realmode/rm/
Dreboot.S32 andl $~X86_CR0_PG, %eax
Dtrampoline_64.S152 movl $(X86_CR0_PG | X86_CR0_WP | X86_CR0_PE), %eax
/kernel/linux/linux-5.10/arch/x86/boot/compressed/
Dhead_64.S281 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/
Dnested.h265 fixed0 &= ~(X86_CR0_PE | X86_CR0_PG); in nested_guest_cr0_valid()
Dnested.c3011 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()
Dvmx.c139 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/
Dprocessor.h390 #define X86_CR0_PG (1UL<<31) /* Paging */ macro
/kernel/linux/linux-5.10/arch/x86/kvm/
Dx86.h146 return likely(kvm_read_cr0_bits(vcpu, X86_CR0_PG)); in is_paging()
Dx86.c826 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()
Demulate.c2682 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/
Dnested.c100 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()
Dsvm.c1667 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/
Dprocessor.c564 sregs.cr0 = X86_CR0_PE | X86_CR0_NE | X86_CR0_PG; in vcpu_setup()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dkvm_host.h95 | X86_CR0_NW | X86_CR0_CD | X86_CR0_PG))
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
Dmmu.c4581 if (!(cr0 & X86_CR0_PG)) in shadow_mmu_init_context()
4704 kvm_read_cr0_bits(vcpu, X86_CR0_PG), in init_kvm_softmmu()