Searched refs:X86_CR0_WP (Results 1 – 12 of 12) sorted by relevance
7 #define KVM_POSSIBLE_CR0_GUEST_BITS (X86_CR0_TS | X86_CR0_WP)
43 #define KVM_MMU_CR0_ROLE_BITS (X86_CR0_PG | X86_CR0_WP)
1134 if ((cr0 ^ old_cr0) == X86_CR0_WP) { in kvm_post_set_cr0()1199 if (!(cr0 & X86_CR0_WP) && kvm_is_cr4_bit_set(vcpu, X86_CR4_CET)) in kvm_set_cr0()1396 if ((cr4 & X86_CR4_CET) && !kvm_is_cr0_bit_set(vcpu, X86_CR0_WP)) in kvm_set_cr4()
134 sregs.cr0 ^= X86_CR0_WP; in vcpu_worker()
190 andq $~(X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %rax
464 if (unlikely((val & X86_CR0_WP) != X86_CR0_WP)) { in native_write_cr0()465 bits_missing = X86_CR0_WP; in native_write_cr0()
1531 #define X86_CR0_WP (1UL<<16) /* Write Protect */ macro
136 | X86_CR0_ET | X86_CR0_NE | X86_CR0_WP | X86_CR0_AM \
209 BUILD_MMU_ROLE_REGS_ACCESSOR(cr0, wp, X86_CR0_WP);5762 const bool cr0_wp = kvm_is_cr0_bit_set(vcpu, X86_CR0_WP); in __kvm_mmu_refresh_passthrough_bits()5764 BUILD_BUG_ON((KVM_MMU_CR0_ROLE_BITS & KVM_POSSIBLE_CR0_GUEST_BITS) != X86_CR0_WP); in __kvm_mmu_refresh_passthrough_bits()
3162 if (CC(vmcs12->host_cr4 & X86_CR4_CET && !(vmcs12->host_cr0 & X86_CR0_WP))) in nested_vmx_check_host_state()3300 if (CC(vmcs12->guest_cr4 & X86_CR4_CET && !(vmcs12->guest_cr0 & X86_CR0_WP))) in nested_vmx_check_guest_state()
3410 hw_cr0 |= X86_CR0_WP; in vmx_set_cr0()
1790 hcr0 |= X86_CR0_PG | X86_CR0_WP; in svm_set_cr0()