Home
last modified time | relevance | path

Searched refs:cr4 (Results 1 – 25 of 52) sorted by relevance

123

/arch/x86/kernel/
Dsev_verify_cbit.S35 movq %cr4, %rsi
40 movq %rdx, %cr4
71 movq %rsi, %cr4
Dprocess_32.c62 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in __show_regs() local
86 cr4 = __read_cr4(); in __show_regs()
88 log_lvl, cr0, cr2, cr3, cr4); in __show_regs()
Drelocate_kernel_64.S69 movq %cr4, %rax
144 movq %rax, %cr4
227 movq %rax, %cr4
Drelocate_kernel_32.S56 movl %cr4, %eax
129 movl %eax, %cr4
207 movl %eax, %cr4
Dprocess.c627 unsigned long newval, cr4 = this_cpu_read(cpu_tlbstate.cr4); in cr4_toggle_bits_irqsoff() local
629 newval = cr4 ^ mask; in cr4_toggle_bits_irqsoff()
630 if (newval != cr4) { in cr4_toggle_bits_irqsoff()
631 this_cpu_write(cpu_tlbstate.cr4, newval); in cr4_toggle_bits_irqsoff()
Dasm-offsets_64.c52 ENTRY(cr4); in main()
/arch/x86/power/
Dhibernate_asm_32.S55 jecxz 1f # cr4 Pentium and higher, skip if zero
57 movl %ecx, %cr4; # turn off PGE
89 jecxz 1f # cr4 Pentium and higher, skip if zero
90 movl %ecx, %cr4; # turn PGE back on
Dhibernate_asm_64.S36 movq %rdx, %cr4; # turn off PGE
39 movq %rax, %cr4; # turn PGE back on
127 movq %rcx, %cr4; # turn off PGE
130 movq %rbx, %cr4; # turn PGE back on
Dcpu.c125 ctxt->cr4 = __read_cr4(); in __save_processor_state()
205 if (ctxt->cr4) in __restore_processor_state()
206 __write_cr4(ctxt->cr4); in __restore_processor_state()
210 __write_cr4(ctxt->cr4); in __restore_processor_state()
/arch/x86/platform/pvh/
Dhead.S73 mov %cr4, %eax
75 mov %eax, %cr4
132 mov %cr4, %eax
134 mov %eax, %cr4
/arch/x86/kernel/cpu/mtrr/
Dcyrix.c135 static u32 cr4, ccr3; variable
143 cr4 = __read_cr4(); in prepare_set()
144 __write_cr4(cr4 & ~X86_CR4_PGE); in prepare_set()
176 __write_cr4(cr4); in post_set()
/arch/x86/mm/
Dmem_encrypt_boot.S102 mov %cr4, %rdx
104 mov %rdx, %cr4
106 mov %rdx, %cr4
Dtlb.c1124 unsigned long cr4, flags; in native_flush_tlb_global() local
1144 cr4 = this_cpu_read(cpu_tlbstate.cr4); in native_flush_tlb_global()
1146 native_write_cr4(cr4 ^ X86_CR4_PGE); in native_flush_tlb_global()
1148 native_write_cr4(cr4); in native_flush_tlb_global()
/arch/x86/include/asm/
Dtlbflush.h114 unsigned long cr4; member
165 this_cpu_write(cpu_tlbstate.cr4, __read_cr4()); in cr4_init_shadow()
Dsuspend_32.h20 unsigned long cr0, cr2, cr3, cr4; member
Dsuspend_64.h41 unsigned long cr0, cr2, cr3, cr4; member
Drealmode.h52 u32 cr4;
/arch/x86/platform/olpc/
Dxo1-wakeup.S30 movl %eax, %cr4
64 movl %cr4, %edx
/arch/x86/boot/compressed/
Defi_thunk_64.S144 movl %cr4, %eax
146 movl %eax, %cr4
Dhead_64.S172 movl %cr4, %eax
174 movl %eax, %cr4
642 movl %cr4, %eax
648 movl %cr4, %eax
672 movl %eax, %cr4
/arch/x86/kernel/cpu/
Dcommon.c412 unsigned long newval, cr4 = this_cpu_read(cpu_tlbstate.cr4); in cr4_update_irqsoff() local
416 newval = (cr4 & ~clear) | set; in cr4_update_irqsoff()
417 if (newval != cr4) { in cr4_update_irqsoff()
418 this_cpu_write(cpu_tlbstate.cr4, newval); in cr4_update_irqsoff()
427 return this_cpu_read(cpu_tlbstate.cr4); in cr4_read_shadow()
433 unsigned long cr4 = __read_cr4(); in cr4_init() local
436 cr4 |= X86_CR4_PCIDE; in cr4_init()
438 cr4 = (cr4 & ~cr4_pinned_mask) | cr4_pinned_bits; in cr4_init()
440 __write_cr4(cr4); in cr4_init()
443 this_cpu_write(cpu_tlbstate.cr4, cr4); in cr4_init()
[all …]
/arch/powerpc/boot/
Dppc_asm.h17 #define cr4 4 macro
/arch/powerpc/kernel/
Dcpu_setup_6xx.S337 cmplwi cr4,r3,0x8002 /* 7457 */
345 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq
408 cmplwi cr4,r3,0x8002 /* 7457 */
416 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq
/arch/x86/kvm/svm/
Dnested.c107 kvm_init_shadow_npt_mmu(vcpu, X86_CR0_PG, svm->vmcb01.ptr->save.cr4, in nested_svm_init_mmu_context()
272 if (CC(!(save->cr4 & X86_CR4_PAE)) || in nested_vmcb_check_cr3_cr4()
279 if (CC(!__kvm_is_valid_cr4(vcpu, save->cr4))) in nested_vmcb_check_cr3_cr4()
487 svm_set_cr4(&svm->vcpu, vmcb12->save.cr4); in nested_vmcb02_prepare_save()
678 svm->vmcb01.ptr->save.cr4 = vcpu->arch.cr4; in nested_svm_vmrun()
723 to_save->cr4 = from_save->cr4; in svm_copy_vmrun_state()
785 vmcb12->save.cr4 = svm->vcpu.arch.cr4; in nested_svm_vmexit()
841 svm_set_cr4(vcpu, svm->vmcb->save.cr4); in nested_svm_vmexit()
/arch/s390/kernel/
Dhead64.S49 .quad 0xffff # cr4: instruction authorization

123