Home
last modified time | relevance | path

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

/linux/arch/x86/include/uapi/asm/
H A Dprocessor-flags.h64 #define X86_CR0_WP _BITUL(X86_CR0_WP_BIT) macro
178 X86_CR0_NE | X86_CR0_WP | X86_CR0_AM | \
/linux/tools/testing/selftests/kvm/
H A Dmax_guest_memory_test.c
H A Dmmu_stress_test.c134 sregs.cr0 ^= X86_CR0_WP; in vcpu_worker()
/linux/arch/x86/kernel/
H A Drelocate_kernel_32.S117 andl $~(X86_CR0_PG | X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %eax
H A Drelocate_kernel_64.S137 andq $~(X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %rax
/linux/arch/x86/kernel/cpu/
H A Dcommon.c416 if (unlikely((val & X86_CR0_WP) != X86_CR0_WP)) { in native_write_cr0()
417 bits_missing = X86_CR0_WP; in native_write_cr0()
/linux/arch/x86/kvm/vmx/
H A Dvmx.h651 bits &= ~X86_CR0_WP; in vmx_l1_guest_owned_cr0_bits()
H A Dvmx.c3320 hw_cr0 |= X86_CR0_WP; in vmx_set_cr0()
/linux/arch/x86/include/asm/
H A Dkvm_host.h130 | X86_CR0_ET | X86_CR0_NE | X86_CR0_WP | X86_CR0_AM \
/linux/arch/x86/kvm/mmu/
H A Dmmu.c206 BUILD_MMU_ROLE_REGS_ACCESSOR(cr0, wp, X86_CR0_WP);
5405 const bool cr0_wp = kvm_is_cr0_bit_set(vcpu, X86_CR0_WP); in __kvm_mmu_refresh_passthrough_bits()
5407 BUILD_BUG_ON((KVM_MMU_CR0_ROLE_BITS & KVM_POSSIBLE_CR0_GUEST_BITS) != X86_CR0_WP); in __kvm_mmu_refresh_passthrough_bits()
/linux/arch/x86/kvm/svm/
H A Dsvm.c1880 hcr0 |= X86_CR0_PG | X86_CR0_WP; in svm_set_cr0()
/linux/arch/x86/kvm/
H A Dx86.c1096 if ((cr0 ^ old_cr0) == X86_CR0_WP) { in kvm_post_set_cr0()