/linux-4.4.14/arch/x86/include/asm/ |
D | tlbflush.h | 28 unsigned long cr4; member 35 this_cpu_write(cpu_tlbstate.cr4, __read_cr4()); in cr4_init_shadow() 41 unsigned long cr4; in cr4_set_bits() local 43 cr4 = this_cpu_read(cpu_tlbstate.cr4); in cr4_set_bits() 44 if ((cr4 | mask) != cr4) { in cr4_set_bits() 45 cr4 |= mask; in cr4_set_bits() 46 this_cpu_write(cpu_tlbstate.cr4, cr4); in cr4_set_bits() 47 __write_cr4(cr4); in cr4_set_bits() 54 unsigned long cr4; in cr4_clear_bits() local 56 cr4 = this_cpu_read(cpu_tlbstate.cr4); in cr4_clear_bits() [all …]
|
D | suspend_32.h | 15 unsigned long cr0, cr2, cr3, cr4; member
|
D | suspend_64.h | 24 unsigned long cr0, cr2, cr3, cr4, cr8; member
|
D | realmode.h | 40 u32 cr4;
|
D | svm.h | 154 u64 cr4; member
|
D | kvm_host.h | 396 unsigned long cr4; member 796 int (*set_cr4)(struct kvm_vcpu *vcpu, unsigned long cr4); 1026 int kvm_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4);
|
/linux-4.4.14/arch/x86/power/ |
D | hibernate_asm_32.S | 35 jecxz 1f # cr4 Pentium and higher, skip if zero 37 movl %ecx, %cr4; # turn off PGE 65 jecxz 1f # cr4 Pentium and higher, skip if zero 66 movl %ecx, %cr4; # turn PGE back on
|
D | cpu.c | 108 ctxt->cr4 = __read_cr4_safe(); in __save_processor_state() 176 if (ctxt->cr4) in __restore_processor_state() 177 __write_cr4(ctxt->cr4); in __restore_processor_state() 182 __write_cr4(ctxt->cr4); in __restore_processor_state()
|
D | hibernate_asm_64.S | 65 movq %rdx, %cr4; # turn off PGE 68 movq %rax, %cr4; # turn PGE back on 117 movq %rdx, %cr4; # turn off PGE 120 movq %rax, %cr4; # turn PGE back on
|
/linux-4.4.14/arch/x86/kernel/cpu/mtrr/ |
D | cyrix.c | 133 static u32 cr4, ccr3; variable 141 cr4 = __read_cr4(); in prepare_set() 142 __write_cr4(cr4 & ~X86_CR4_PGE); in prepare_set() 174 __write_cr4(cr4); in post_set()
|
D | generic.c | 716 static unsigned long cr4; variable 746 cr4 = __read_cr4(); in prepare_set() 747 __write_cr4(cr4 & ~X86_CR4_PGE); in prepare_set() 776 __write_cr4(cr4); in post_set()
|
/linux-4.4.14/arch/x86/platform/efi/ |
D | efi_stub_64.S | 45 movq %cr4, %r15 48 movq %r14, %cr4 49 movq %r15, %cr4
|
/linux-4.4.14/arch/x86/kernel/ |
D | relocate_kernel_64.S | 67 movq %cr4, %rax 127 movq %rax, %cr4 196 movq %rax, %cr4
|
D | process_32.c | 71 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in __show_regs() local 104 cr4 = __read_cr4_safe(); in __show_regs() 106 cr0, cr2, cr3, cr4); in __show_regs()
|
D | relocate_kernel_32.S | 57 movl %cr4, %eax 127 movl %eax, %cr4 199 movl %eax, %cr4
|
D | asm-offsets_64.c | 56 ENTRY(cr4); in main()
|
D | process_64.c | 60 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; in __show_regs() local 96 cr4 = __read_cr4(); in __show_regs() 103 cr4); in __show_regs()
|
D | head_64.S | 188 movq %rcx, %cr4
|
D | head_32.S | 362 movl %eax,%cr4
|
/linux-4.4.14/arch/x86/platform/olpc/ |
D | xo1-wakeup.S | 29 movl %eax, %cr4 63 movl %cr4, %edx
|
/linux-4.4.14/arch/x86/boot/compressed/ |
D | efi_thunk_64.S | 150 movl %cr4, %eax 152 movl %eax, %cr4
|
D | head_64.S | 117 movl %cr4, %eax 119 movl %eax, %cr4
|
/linux-4.4.14/arch/powerpc/boot/ |
D | ppc_asm.h | 21 #define cr4 4 macro
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | cpu_setup_6xx.S | 339 cmplwi cr4,r3,0x8002 /* 7457 */ 347 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq 410 cmplwi cr4,r3,0x8002 /* 7457 */ 418 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq
|
D | idle_power7.S | 353 bne cr4,subcore_state_restored 396 bne cr4,clear_lock 416 bne cr4,hypervisor_state_restored
|
D | exceptions-64s.S | 119 cmpwi cr4,r5,1
|
/linux-4.4.14/arch/score/kernel/ |
D | head.S | 55 mtcr r30, cr4
|
/linux-4.4.14/arch/sh/include/cpu-sh5/cpu/ |
D | registers.h | 29 #define INTEVT cr4
|
/linux-4.4.14/arch/x86/realmode/ |
D | init.c | 83 trampoline_cr4_features = &trampoline_header->cr4; in setup_real_mode()
|
/linux-4.4.14/arch/x86/kvm/ |
D | kvm_cache_regs.h | 66 return vcpu->arch.cr4 & mask; in kvm_read_cr4_bits()
|
D | svm.c | 1087 save->cr4 = X86_CR4_PAE; in init_vmcb() 1099 save->cr4 = 0; in init_vmcb() 1504 static int svm_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4) in svm_set_cr4() argument 1507 unsigned long old_cr4 = to_svm(vcpu)->vmcb->save.cr4; in svm_set_cr4() 1509 if (cr4 & X86_CR4_VMXE) in svm_set_cr4() 1512 if (npt_enabled && ((old_cr4 ^ cr4) & X86_CR4_PGE)) in svm_set_cr4() 1515 vcpu->arch.cr4 = cr4; in svm_set_cr4() 1517 cr4 |= X86_CR4_PAE; in svm_set_cr4() 1518 cr4 |= host_cr4_mce; in svm_set_cr4() 1519 to_svm(vcpu)->vmcb->save.cr4 = cr4; in svm_set_cr4() [all …]
|
D | emulate.c | 2334 u64 cr0, u64 cr4) in rsm_enter_protected_mode() argument 2343 bad = ctxt->ops->set_cr(ctxt, 4, cr4 & ~X86_CR4_PCIDE); in rsm_enter_protected_mode() 2351 if (cr4 & X86_CR4_PCIDE) { in rsm_enter_protected_mode() 2352 bad = ctxt->ops->set_cr(ctxt, 4, cr4); in rsm_enter_protected_mode() 2365 u32 val, cr0, cr4; in rsm_load_state_32() local 2407 cr4 = GET_SMSTATE(u32, smbase, 0x7f14); in rsm_load_state_32() 2411 return rsm_enter_protected_mode(ctxt, cr0, cr4); in rsm_load_state_32() 2418 u64 val, cr0, cr4; in rsm_load_state_64() local 2436 cr4 = GET_SMSTATE(u64, smbase, 0x7f48); in rsm_load_state_64() 2463 r = rsm_enter_protected_mode(ctxt, cr0, cr4); in rsm_load_state_64() [all …]
|
D | vmx.c | 3640 vcpu->arch.cr4 &= ~cr4_guest_owned_bits; in vmx_decache_cr4_guest_bits() 3641 vcpu->arch.cr4 |= vmcs_readl(GUEST_CR4) & cr4_guest_owned_bits; in vmx_decache_cr4_guest_bits() 3677 static int vmx_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4); 3782 static int vmx_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4) in vmx_set_cr4() argument 3791 (cr4 & ~X86_CR4_MCE) | in vmx_set_cr4() 3795 if (cr4 & X86_CR4_VMXE) { in vmx_set_cr4() 3806 ((cr4 & VMXON_CR4_ALWAYSON) != VMXON_CR4_ALWAYSON)) in vmx_set_cr4() 3809 vcpu->arch.cr4 = cr4; in vmx_set_cr4() 3814 } else if (!(cr4 & X86_CR4_PAE)) { in vmx_set_cr4() 3829 vmcs_writel(CR4_READ_SHADOW, cr4); in vmx_set_cr4() [all …]
|
D | x86.c | 718 int kvm_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4) in kvm_set_cr4() argument 724 if (cr4 & CR4_RESERVED_BITS) in kvm_set_cr4() 727 if (!guest_cpuid_has_xsave(vcpu) && (cr4 & X86_CR4_OSXSAVE)) in kvm_set_cr4() 730 if (!guest_cpuid_has_smep(vcpu) && (cr4 & X86_CR4_SMEP)) in kvm_set_cr4() 733 if (!guest_cpuid_has_smap(vcpu) && (cr4 & X86_CR4_SMAP)) in kvm_set_cr4() 736 if (!guest_cpuid_has_fsgsbase(vcpu) && (cr4 & X86_CR4_FSGSBASE)) in kvm_set_cr4() 740 if (!(cr4 & X86_CR4_PAE)) in kvm_set_cr4() 742 } else if (is_paging(vcpu) && (cr4 & X86_CR4_PAE) in kvm_set_cr4() 743 && ((cr4 ^ old_cr4) & pdptr_bits) in kvm_set_cr4() 748 if ((cr4 & X86_CR4_PCIDE) && !(old_cr4 & X86_CR4_PCIDE)) { in kvm_set_cr4() [all …]
|
/linux-4.4.14/arch/x86/realmode/rm/ |
D | wakeup_asm.S | 116 movl %eax, %cr4
|
/linux-4.4.14/arch/x86/kernel/acpi/ |
D | wakeup_64.S | 85 movq %rbx, %cr4
|
/linux-4.4.14/Documentation/virtual/kvm/ |
D | mmu.txt | 162 Contains the value of cr4.pae for which the page is valid (e.g. whether 169 Contains the value of cr4.smep && !cr0.wp for which the page is valid 173 Contains the value of cr4.smap && !cr0.wp for which the page is valid 327 - mov to cr0/cr4/efer 374 exists when an spte created with cr0.wp=0 and cr4.smep=0 is used after 375 changing cr4.smep to 1. To avoid this, the value of !cr0.wp && cr4.smep
|
D | api.txt | 349 __u64 cr0, cr2, cr3, cr4, cr8;
|
/linux-4.4.14/arch/s390/kernel/ |
D | head64.S | 56 .quad 0 # cr4: instruction authorization
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | chip.c | 645 static u32 brcmf_chip_tcm_ramsize(struct brcmf_core_priv *cr4) in brcmf_chip_tcm_ramsize() argument 655 corecap = brcmf_chip_core_read32(cr4, ARMCR4_CAP); in brcmf_chip_tcm_ramsize() 662 brcmf_chip_core_write32(cr4, ARMCR4_BANKIDX, idx); in brcmf_chip_tcm_ramsize() 663 bxinfo = brcmf_chip_core_read32(cr4, ARMCR4_BANKINFO); in brcmf_chip_tcm_ramsize()
|
/linux-4.4.14/arch/x86/include/uapi/asm/ |
D | kvm.h | 150 __u64 cr0, cr2, cr3, cr4, cr8; member
|
/linux-4.4.14/arch/x86/xen/ |
D | enlighten.c | 1017 static void xen_write_cr4(unsigned long cr4) in xen_write_cr4() argument 1019 cr4 &= ~(X86_CR4_PGE | X86_CR4_PSE | X86_CR4_PCE); in xen_write_cr4() 1021 native_write_cr4(cr4); in xen_write_cr4()
|
/linux-4.4.14/drivers/parport/ |
D | parport_pc.c | 958 int cr1, cr4, cra, cr23, cr26, cr27; in show_parconfig_smsc37c669() local 972 cr4 = inb(io + 1); in show_parconfig_smsc37c669() 987 cr1, cr4, cra, cr23, cr26, cr27); in show_parconfig_smsc37c669() 1004 : modes[cr4 & 0x03], in show_parconfig_smsc37c669() 1005 (cr4 & 0x40) ? "1.7" : "1.9"); in show_parconfig_smsc37c669()
|
/linux-4.4.14/drivers/tty/serial/ |
D | fsl_lpuart.c | 1206 unsigned char cr1, old_cr1, old_cr2, cr4, bdh, modem; in lpuart_set_termios() local 1213 cr4 = readb(sport->port.membase + UARTCR4); in lpuart_set_termios() 1323 cr4 &= ~UARTCR4_BRFA_MASK; in lpuart_set_termios() 1325 writeb(cr4 | brfa, sport->port.membase + UARTCR4); in lpuart_set_termios()
|
/linux-4.4.14/arch/x86/mm/ |
D | init.c | 741 .cr4 = ~0UL, /* fail hard if we screw up cr4 shadow initialization */
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | ppc_asm.h | 555 #define cr4 4 macro
|
/linux-4.4.14/drivers/video/fbdev/sis/ |
D | init301.c | 6042 unsigned char cr4, cr14, cr5, cr15; in SiS_SetGroup1() local 6044 cr4 = SiS_Pr->CCRT1CRTC[4]; in SiS_SetGroup1() 6049 cr4 = SiS_Pr->SiS_CRT1Table[CRT1Index].CR[4]; in SiS_SetGroup1() 6054 tempbx = ((cr4 | ((cr14 & 0xC0) << 2)) - 3) << 3; /* (VGAHRS-3)*8 */ in SiS_SetGroup1()
|