/linux-4.1.27/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 | 360 unsigned long cr4; member 735 int (*set_cr4)(struct kvm_vcpu *vcpu, unsigned long cr4); 961 int kvm_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4);
|
/linux-4.1.27/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 | 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
|
D | cpu.c | 109 ctxt->cr4 = __read_cr4_safe(); in __save_processor_state() 175 if (ctxt->cr4) in __restore_processor_state() 176 __write_cr4(ctxt->cr4); in __restore_processor_state() 181 __write_cr4(ctxt->cr4); in __restore_processor_state()
|
/linux-4.1.27/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 | 651 static unsigned long cr4; variable 681 cr4 = __read_cr4(); in prepare_set() 682 __write_cr4(cr4 & ~X86_CR4_PGE); in prepare_set() 711 __write_cr4(cr4); in post_set()
|
/linux-4.1.27/arch/x86/platform/efi/ |
D | efi_stub_64.S | 45 movq %cr4, %r15 48 movq %r14, %cr4 49 movq %r15, %cr4
|
/linux-4.1.27/arch/x86/kernel/ |
D | relocate_kernel_64.S | 67 movq %cr4, %rax 127 movq %rax, %cr4 196 movq %rax, %cr4
|
D | relocate_kernel_32.S | 57 movl %cr4, %eax 127 movl %eax, %cr4 199 movl %eax, %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 | process_64.c | 61 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; in __show_regs() local 97 cr4 = __read_cr4(); in __show_regs() 104 cr4); in __show_regs()
|
D | asm-offsets_64.c | 77 ENTRY(cr4); in main()
|
D | head_64.S | 188 movq %rcx, %cr4
|
D | head_32.S | 363 movl %eax,%cr4
|
/linux-4.1.27/arch/x86/platform/olpc/ |
D | xo1-wakeup.S | 29 movl %eax, %cr4 63 movl %cr4, %edx
|
/linux-4.1.27/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.1.27/arch/powerpc/boot/ |
D | ppc_asm.h | 21 #define cr4 4 macro
|
/linux-4.1.27/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 | 120 cmpwi cr4,r5,1
|
/linux-4.1.27/arch/score/kernel/ |
D | head.S | 55 mtcr r30, cr4
|
/linux-4.1.27/arch/sh/include/cpu-sh5/cpu/ |
D | registers.h | 29 #define INTEVT cr4
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | chip.c | 615 static u32 brcmf_chip_tcm_ramsize(struct brcmf_core_priv *cr4) in brcmf_chip_tcm_ramsize() argument 625 corecap = brcmf_chip_core_read32(cr4, ARMCR4_CAP); in brcmf_chip_tcm_ramsize() 632 brcmf_chip_core_write32(cr4, ARMCR4_BANKIDX, idx); in brcmf_chip_tcm_ramsize() 633 bxinfo = brcmf_chip_core_read32(cr4, ARMCR4_BANKINFO); in brcmf_chip_tcm_ramsize() 907 struct brcmf_core_priv *cr4; in brcmf_chip_disable_arm() local 920 cr4 = container_of(core, struct brcmf_core_priv, pub); in brcmf_chip_disable_arm() 923 val = chip->ops->read32(chip->ctx, cr4->wrapbase + BCMA_IOCTL); in brcmf_chip_disable_arm()
|
/linux-4.1.27/arch/x86/realmode/ |
D | init.c | 83 trampoline_cr4_features = &trampoline_header->cr4; in setup_real_mode()
|
/linux-4.1.27/arch/x86/kvm/ |
D | kvm_cache_regs.h | 66 return vcpu->arch.cr4 & mask; in kvm_read_cr4_bits()
|
D | svm.c | 1173 save->cr4 = X86_CR4_PAE; in init_vmcb() 1185 save->cr4 = 0; in init_vmcb() 1588 static int svm_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4) in svm_set_cr4() argument 1591 unsigned long old_cr4 = to_svm(vcpu)->vmcb->save.cr4; in svm_set_cr4() 1593 if (cr4 & X86_CR4_VMXE) in svm_set_cr4() 1596 if (npt_enabled && ((old_cr4 ^ cr4) & X86_CR4_PGE)) in svm_set_cr4() 1599 vcpu->arch.cr4 = cr4; in svm_set_cr4() 1601 cr4 |= X86_CR4_PAE; in svm_set_cr4() 1602 cr4 |= host_cr4_mce; in svm_set_cr4() 1603 to_svm(vcpu)->vmcb->save.cr4 = cr4; in svm_set_cr4() [all …]
|
D | x86.c | 701 int kvm_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4) in kvm_set_cr4() argument 707 if (cr4 & CR4_RESERVED_BITS) in kvm_set_cr4() 710 if (!guest_cpuid_has_xsave(vcpu) && (cr4 & X86_CR4_OSXSAVE)) in kvm_set_cr4() 713 if (!guest_cpuid_has_smep(vcpu) && (cr4 & X86_CR4_SMEP)) in kvm_set_cr4() 716 if (!guest_cpuid_has_smap(vcpu) && (cr4 & X86_CR4_SMAP)) in kvm_set_cr4() 719 if (!guest_cpuid_has_fsgsbase(vcpu) && (cr4 & X86_CR4_FSGSBASE)) in kvm_set_cr4() 723 if (!(cr4 & X86_CR4_PAE)) in kvm_set_cr4() 725 } else if (is_paging(vcpu) && (cr4 & X86_CR4_PAE) in kvm_set_cr4() 726 && ((cr4 ^ old_cr4) & pdptr_bits) in kvm_set_cr4() 731 if ((cr4 & X86_CR4_PCIDE) && !(old_cr4 & X86_CR4_PCIDE)) { in kvm_set_cr4() [all …]
|
D | vmx.c | 3498 vcpu->arch.cr4 &= ~cr4_guest_owned_bits; in vmx_decache_cr4_guest_bits() 3499 vcpu->arch.cr4 |= vmcs_readl(GUEST_CR4) & cr4_guest_owned_bits; in vmx_decache_cr4_guest_bits() 3535 static int vmx_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4); 3640 static int vmx_set_cr4(struct kvm_vcpu *vcpu, unsigned long cr4) in vmx_set_cr4() argument 3649 (cr4 & ~X86_CR4_MCE) | in vmx_set_cr4() 3653 if (cr4 & X86_CR4_VMXE) { in vmx_set_cr4() 3664 ((cr4 & VMXON_CR4_ALWAYSON) != VMXON_CR4_ALWAYSON)) in vmx_set_cr4() 3667 vcpu->arch.cr4 = cr4; in vmx_set_cr4() 3672 } else if (!(cr4 & X86_CR4_PAE)) { in vmx_set_cr4() 3687 vmcs_writel(CR4_READ_SHADOW, cr4); in vmx_set_cr4() [all …]
|
D | emulate.c | 3588 u64 cr4; in check_cr_write() local 3593 cr4 = ctxt->ops->get_cr(ctxt, 4); in check_cr_write() 3597 !(cr4 & X86_CR4_PAE)) in check_cr_write() 3640 u64 cr4; in check_dr_read() local 3645 cr4 = ctxt->ops->get_cr(ctxt, 4); in check_dr_read() 3646 if ((cr4 & X86_CR4_DE) && (dr == 4 || dr == 5)) in check_dr_read() 3698 u64 cr4 = ctxt->ops->get_cr(ctxt, 4); in check_rdtsc() local 3700 if (cr4 & X86_CR4_TSD && ctxt->ops->cpl(ctxt)) in check_rdtsc() 3708 u64 cr4 = ctxt->ops->get_cr(ctxt, 4); in check_rdpmc() local 3711 if ((!(cr4 & X86_CR4_PCE) && ctxt->ops->cpl(ctxt)) || in check_rdpmc()
|
/linux-4.1.27/arch/x86/realmode/rm/ |
D | wakeup_asm.S | 116 movl %eax, %cr4
|
/linux-4.1.27/arch/x86/kernel/acpi/ |
D | wakeup_64.S | 85 movq %rbx, %cr4
|
/linux-4.1.27/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 321 - mov to cr0/cr4/efer 368 exists when an spte created with cr0.wp=0 and cr4.smep=0 is used after 369 changing cr4.smep to 1. To avoid this, the value of !cr0.wp && cr4.smep
|
D | api.txt | 344 __u64 cr0, cr2, cr3, cr4, cr8;
|
/linux-4.1.27/arch/s390/kernel/ |
D | head64.S | 51 .quad 0 # cr4: instruction authorization
|
/linux-4.1.27/arch/x86/xen/ |
D | enlighten.c | 1015 static void xen_write_cr4(unsigned long cr4) in xen_write_cr4() argument 1017 cr4 &= ~X86_CR4_PGE; in xen_write_cr4() 1018 cr4 &= ~X86_CR4_PSE; in xen_write_cr4() 1020 native_write_cr4(cr4); in xen_write_cr4()
|
/linux-4.1.27/arch/x86/include/uapi/asm/ |
D | kvm.h | 148 __u64 cr0, cr2, cr3, cr4, cr8; member
|
/linux-4.1.27/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.1.27/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.1.27/arch/x86/mm/ |
D | init.c | 740 .cr4 = ~0UL, /* fail hard if we screw up cr4 shadow initialization */
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | ppc_asm.h | 555 #define cr4 4 macro
|
/linux-4.1.27/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()
|