Home
last modified time | relevance | path

Searched refs:X86_CR0_WP (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.6/arch/x86/include/uapi/asm/
Dprocessor-flags.h64 #define X86_CR0_WP _BITUL(X86_CR0_WP_BIT) macro
171 X86_CR0_NE | X86_CR0_WP | X86_CR0_AM | \
/Linux-v6.6/arch/x86/kvm/
Dkvm_cache_regs.h7 #define KVM_POSSIBLE_CR0_GUEST_BITS (X86_CR0_TS | X86_CR0_WP)
Dmmu.h42 #define KVM_MMU_CR0_ROLE_BITS (X86_CR0_PG | X86_CR0_WP)
Dx86.c939 if ((cr0 ^ old_cr0) == X86_CR0_WP) { in kvm_post_set_cr0()
/Linux-v6.6/arch/x86/kernel/
Drelocate_kernel_64.S140 andq $~(X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %rax
Drelocate_kernel_32.S117 andl $~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %eax
/Linux-v6.6/tools/testing/selftests/kvm/
Dmax_guest_memory_test.c81 sregs.cr0 ^= X86_CR0_WP; in vcpu_worker()
/Linux-v6.6/arch/x86/kernel/cpu/
Dcommon.c417 if (unlikely((val & X86_CR0_WP) != X86_CR0_WP)) { in native_write_cr0()
418 bits_missing = X86_CR0_WP; in native_write_cr0()
/Linux-v6.6/arch/x86/kvm/vmx/
Dvmx.h644 bits &= ~X86_CR0_WP; in vmx_l1_guest_owned_cr0_bits()
Dvmx.c3285 hw_cr0 |= X86_CR0_WP; in vmx_set_cr0()
/Linux-v6.6/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h1231 #define X86_CR0_WP (1UL<<16) /* Write Protect */ macro
/Linux-v6.6/arch/x86/include/asm/
Dkvm_host.h119 | X86_CR0_ET | X86_CR0_NE | X86_CR0_WP | X86_CR0_AM \
/Linux-v6.6/arch/x86/kvm/mmu/
Dmmu.c207 BUILD_MMU_ROLE_REGS_ACCESSOR(cr0, wp, X86_CR0_WP);
5153 const bool cr0_wp = kvm_is_cr0_bit_set(vcpu, X86_CR0_WP); in __kvm_mmu_refresh_passthrough_bits()
5155 BUILD_BUG_ON((KVM_MMU_CR0_ROLE_BITS & KVM_POSSIBLE_CR0_GUEST_BITS) != X86_CR0_WP); in __kvm_mmu_refresh_passthrough_bits()
/Linux-v6.6/arch/x86/kvm/svm/
Dsvm.c1891 hcr0 |= X86_CR0_PG | X86_CR0_WP; in svm_set_cr0()