Home
last modified time | relevance | path

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

123

/arch/x86/kernel/
A Dsev_verify_cbit.S35 movq %cr4, %rsi
40 movq %rdx, %cr4
71 movq %rsi, %cr4
A Dprocess_32.c62 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in __show_regs() local
83 cr4 = __read_cr4(); in __show_regs()
85 log_lvl, cr0, cr2, cr3, cr4); in __show_regs()
A Drelocate_kernel_64.S97 movq %cr4, %r13
102 movq %r12, %cr4
167 movq %cr4, %rax
169 movq %rax, %cr4
197 movq %r13, %cr4
292 movq %rax, %cr4
A Drelocate_kernel_32.S56 movl %cr4, %eax
129 movl %eax, %cr4
207 movl %eax, %cr4
A Dasm-offsets_64.c52 ENTRY(cr4); in main()
A Dprocess.c698 unsigned long newval, cr4 = this_cpu_read(cpu_tlbstate.cr4); in cr4_toggle_bits_irqsoff() local
700 newval = cr4 ^ mask; in cr4_toggle_bits_irqsoff()
701 if (newval != cr4) { in cr4_toggle_bits_irqsoff()
702 this_cpu_write(cpu_tlbstate.cr4, newval); in cr4_toggle_bits_irqsoff()
/arch/x86/kvm/
A Dsmm.c30 CHECK_SMRAM32_OFFSET(cr4, 0xFF14); in check_smram_offsets()
220 smram->cr4 = kvm_read_cr4(vcpu); in enter_smm_save_state_32()
423 if (cr4 & X86_CR4_PCIDE) { in rsm_enter_protected_mode()
445 if (cr4 & X86_CR4_PCIDE) { in rsm_enter_protected_mode()
446 bad = kvm_set_cr4(vcpu, cr4); in rsm_enter_protected_mode()
592 unsigned long cr4; in emulator_leave_smm() local
595 cr4 = kvm_read_cr4(vcpu); in emulator_leave_smm()
596 if (cr4 & X86_CR4_PCIDE) in emulator_leave_smm()
614 unsigned long cr4, efer; in emulator_leave_smm() local
617 cr4 = kvm_read_cr4(vcpu); in emulator_leave_smm()
[all …]
A Dsmm.h31 u32 cr4; member
127 u64 cr4; member
/arch/x86/power/
A Dhibernate_asm_32.S55 jecxz 1f # cr4 Pentium and higher, skip if zero
57 movl %ecx, %cr4; # turn off PGE
88 jecxz 1f # cr4 Pentium and higher, skip if zero
89 movl %ecx, %cr4; # turn PGE back on
A Dhibernate_asm_64.S37 movq %rdx, %cr4; # turn off PGE
40 movq %rax, %cr4; # turn PGE back on
129 movq %rcx, %cr4; # turn off PGE
132 movq %rbx, %cr4; # turn PGE back on
A Dcpu.c128 ctxt->cr4 = __read_cr4(); in __save_processor_state()
208 if (ctxt->cr4) in __restore_processor_state()
209 __write_cr4(ctxt->cr4); in __restore_processor_state()
213 __write_cr4(ctxt->cr4); in __restore_processor_state()
245 if (ctxt->cr4 & X86_CR4_FRED) { in __restore_processor_state()
/arch/x86/kernel/acpi/
A Dmadt_playdead.S19 movq %cr4, %rdx
21 movq %rdx, %cr4
/arch/x86/kernel/cpu/mtrr/
A 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/
A Dmem_encrypt_boot.S103 mov %cr4, %rdx
105 mov %rdx, %cr4
107 mov %rdx, %cr4
/arch/x86/include/asm/
A Dtlbflush.h130 unsigned long cr4; member
181 this_cpu_write(cpu_tlbstate.cr4, __read_cr4()); in cr4_init_shadow()
486 static inline void __native_tlb_flush_global(unsigned long cr4) in __native_tlb_flush_global() argument
488 native_write_cr4(cr4 ^ X86_CR4_PGE); in __native_tlb_flush_global()
489 native_write_cr4(cr4); in __native_tlb_flush_global()
A Dsuspend_32.h16 unsigned long cr0, cr2, cr3, cr4; member
A Dsuspend_64.h42 unsigned long cr0, cr2, cr3, cr4; member
A Drealmode.h53 u32 cr4;
/arch/x86/boot/startup/
A Dla57toggle.S82 movl %cr4, %eax
84 movl %eax, %cr4
A Defi-mixed.S110 movl %cr4, %eax
112 movl %eax, %cr4
/arch/x86/platform/pvh/
A Dhead.S95 mov %cr4, %eax
97 mov %eax, %cr4
218 mov %cr4, %eax
220 mov %eax, %cr4
/arch/x86/boot/compressed/
A Dhead_64.S168 movl %cr4, %eax
170 movl %eax, %cr4
394 movq %cr4, %rax
396 movq %rax, %cr4
/arch/x86/platform/olpc/
A Dxo1-wakeup.S30 movl %eax, %cr4
64 movl %cr4, %edx
/arch/x86/kernel/cpu/
A Dcommon.c453 unsigned long newval, cr4 = this_cpu_read(cpu_tlbstate.cr4); in cr4_update_irqsoff() local
457 newval = (cr4 & ~clear) | set; in cr4_update_irqsoff()
458 if (newval != cr4) { in cr4_update_irqsoff()
459 this_cpu_write(cpu_tlbstate.cr4, newval); in cr4_update_irqsoff()
468 return this_cpu_read(cpu_tlbstate.cr4); in cr4_read_shadow()
474 unsigned long cr4 = __read_cr4(); in cr4_init() local
477 cr4 |= X86_CR4_PCIDE; in cr4_init()
479 cr4 = (cr4 & ~cr4_pinned_mask) | cr4_pinned_bits; in cr4_init()
481 __write_cr4(cr4); in cr4_init()
484 this_cpu_write(cpu_tlbstate.cr4, cr4); in cr4_init()
[all …]
/arch/powerpc/boot/
A Dppc_asm.h17 #define cr4 4 macro

Completed in 38 milliseconds

123