/Linux-v4.19/arch/x86/include/asm/ |
D | tlbflush.h | 232 unsigned long cr4; member 292 this_cpu_write(cpu_tlbstate.cr4, __read_cr4()); in cr4_init_shadow() 295 static inline void __cr4_set(unsigned long cr4) in __cr4_set() argument 298 this_cpu_write(cpu_tlbstate.cr4, cr4); in __cr4_set() 299 __write_cr4(cr4); in __cr4_set() 305 unsigned long cr4, flags; in cr4_set_bits() local 308 cr4 = this_cpu_read(cpu_tlbstate.cr4); in cr4_set_bits() 309 if ((cr4 | mask) != cr4) in cr4_set_bits() 310 __cr4_set(cr4 | mask); in cr4_set_bits() 317 unsigned long cr4, flags; in cr4_clear_bits() local [all …]
|
D | suspend_32.h | 22 unsigned long cr0, cr2, cr3, cr4; member
|
D | suspend_64.h | 37 unsigned long cr0, cr2, cr3, cr4, cr8; member
|
D | realmode.h | 50 u32 cr4;
|
/Linux-v4.19/tools/testing/selftests/kvm/ |
D | cr4_cpuid_sync_test.c | 30 uint64_t cr4; in cr4_cpuid_is_sync() local 38 cr4 = get_cr4(); in cr4_cpuid_is_sync() 40 return (!!(ecx & X86_FEATURE_OSXSAVE)) == (!!(cr4 & X86_CR4_OSXSAVE)); in cr4_cpuid_is_sync() 45 uint64_t cr4; in guest_code() local 48 cr4 = get_cr4(); in guest_code() 49 cr4 |= X86_CR4_OSXSAVE; in guest_code() 50 set_cr4(cr4); in guest_code() 94 sregs.cr4 &= ~X86_CR4_OSXSAVE; in main()
|
/Linux-v4.19/arch/x86/power/ |
D | hibernate_asm_32.S | 36 jecxz 1f # cr4 Pentium and higher, skip if zero 38 movl %ecx, %cr4; # turn off PGE 66 jecxz 1f # cr4 Pentium and higher, skip if zero 67 movl %ecx, %cr4; # turn PGE back on
|
D | hibernate_asm_64.S | 79 movq %rcx, %cr4; # turn off PGE 82 movq %rbx, %cr4; # turn PGE back on 112 movq %rdx, %cr4; # turn off PGE 115 movq %rax, %cr4; # turn PGE back on
|
D | cpu.c | 125 ctxt->cr4 = __read_cr4(); in __save_processor_state() 206 if (ctxt->cr4) in __restore_processor_state() 207 __write_cr4(ctxt->cr4); in __restore_processor_state() 212 __write_cr4(ctxt->cr4); in __restore_processor_state()
|
/Linux-v4.19/arch/x86/xen/ |
D | xen-pvh.S | 85 mov %cr4, %eax 87 mov %eax, %cr4 154 mov %cr4, %eax 156 mov %eax, %cr4
|
/Linux-v4.19/arch/x86/kernel/cpu/mtrr/ |
D | cyrix.c | 134 static u32 cr4, ccr3; variable 142 cr4 = __read_cr4(); in prepare_set() 143 __write_cr4(cr4 & ~X86_CR4_PGE); in prepare_set() 175 __write_cr4(cr4); in post_set()
|
D | generic.c | 719 static unsigned long cr4; variable 749 cr4 = __read_cr4(); in prepare_set() 750 __write_cr4(cr4 & ~X86_CR4_PGE); in prepare_set() 779 __write_cr4(cr4); in post_set()
|
/Linux-v4.19/tools/testing/selftests/kvm/lib/ |
D | vmx.c | 74 unsigned long cr4; in prepare_for_vmx_operation() local 86 __asm__ __volatile__("mov %%cr4, %0" : "=r"(cr4) : : "memory"); in prepare_for_vmx_operation() 87 cr4 &= rdmsr(MSR_IA32_VMX_CR4_FIXED1); in prepare_for_vmx_operation() 88 cr4 |= rdmsr(MSR_IA32_VMX_CR4_FIXED0); in prepare_for_vmx_operation() 90 cr4 |= X86_CR4_VMXE; in prepare_for_vmx_operation() 91 __asm__ __volatile__("mov %0, %%cr4" : : "r"(cr4) : "memory"); in prepare_for_vmx_operation()
|
/Linux-v4.19/arch/x86/mm/ |
D | mem_encrypt_boot.S | 102 mov %cr4, %rdx 104 mov %rdx, %cr4 106 mov %rdx, %cr4
|
/Linux-v4.19/include/xen/interface/hvm/ |
D | hvm_vcpu.h | 42 uint32_t cr4; member 105 uint64_t cr4; member
|
/Linux-v4.19/arch/x86/kernel/ |
D | process_32.c | 64 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in __show_regs() local 94 cr4 = __read_cr4(); in __show_regs() 96 cr0, cr2, cr3, cr4); in __show_regs()
|
D | relocate_kernel_64.S | 68 movq %cr4, %rax 139 movq %rax, %cr4 218 movq %rax, %cr4
|
D | relocate_kernel_32.S | 57 movl %cr4, %eax 127 movl %eax, %cr4 199 movl %eax, %cr4
|
/Linux-v4.19/arch/x86/boot/compressed/ |
D | head_64.S | 128 movl %cr4, %eax 130 movl %eax, %cr4 589 movl %cr4, %eax 595 movl %cr4, %eax 609 movl %eax, %cr4
|
D | efi_thunk_64.S | 151 movl %cr4, %eax 153 movl %eax, %cr4
|
/Linux-v4.19/arch/x86/platform/olpc/ |
D | xo1-wakeup.S | 30 movl %eax, %cr4 64 movl %cr4, %edx
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | idle_book3s.S | 577 cmpd cr4,r5,r4 578 bge cr4,pnv_wakeup_tb_loss /* returns to caller */ 748 cmpwi cr4,r8,1 /* cr4 will be gt if our bit is set, lt if not */ 769 blt cr4,subcore_state_restored 815 blt cr4,clear_lock 848 blt cr4,hypervisor_state_restored
|
D | cpu_setup_6xx.S | 340 cmplwi cr4,r3,0x8002 /* 7457 */ 348 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq 411 cmplwi cr4,r3,0x8002 /* 7457 */ 419 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq
|
/Linux-v4.19/arch/powerpc/boot/ |
D | ppc_asm.h | 21 #define cr4 4 macro
|
/Linux-v4.19/tools/testing/selftests/kvm/include/ |
D | x86.h | 211 uint64_t cr4; in get_cr4() local 214 : /* output */ [cr4]"=r"(cr4)); in get_cr4() 215 return cr4; in get_cr4()
|
/Linux-v4.19/arch/sh/include/cpu-sh5/cpu/ |
D | registers.h | 29 #define INTEVT cr4
|