Home
last modified time | relevance | path

Searched refs:cr3 (Results 1 – 53 of 53) sorted by relevance

/linux-4.4.14/arch/x86/power/
Dhibernate_asm_64.S49 movq %cr3, %rax
60 movq %rax, %cr3
66 movq %cr3, %rcx; # flush TLB
67 movq %rcx, %cr3;
111 movq %rbx, %cr3
118 movq %cr3, %rcx; # flush TLB
119 movq %rcx, %cr3
Dhibernate_asm_32.S33 movl %eax, %cr3
38 movl %cr3, %eax; # flush TLB
39 movl %eax, %cr3
63 movl %eax, %cr3
Dhibernate_64.c112 unsigned long cr3; member
130 rdr->cr3 = restore_cr3; in arch_hibernation_header_save()
145 restore_cr3 = rdr->cr3; in arch_hibernation_header_restore()
Dcpu.c107 ctxt->cr3 = read_cr3(); in __save_processor_state()
184 write_cr3(ctxt->cr3); in __restore_processor_state()
/linux-4.4.14/arch/x86/kernel/
Drelocate_kernel_64.S65 movq %cr3, %rax
92 movq %r9, %cr3
133 movq %r9, %cr3
144 movq %cr3, %rax
145 movq %rax, %cr3
186 movq %rax, %cr3
199 movq %rax, %cr3
Drelocate_kernel_32.S55 movl %cr3, %eax
88 movl %eax, %cr3
134 movl %eax, %cr3
148 movl %eax, %cr3
187 movl %eax, %cr3
201 movl %eax, %cr3
Dprocess_32.c71 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in __show_regs() local
103 cr3 = read_cr3(); in __show_regs()
106 cr0, cr2, cr3, cr4); in __show_regs()
Dasm-offsets_64.c55 ENTRY(cr3); in main()
Dprocess_64.c60 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; in __show_regs() local
95 cr3 = read_cr3(); in __show_regs()
102 printk(KERN_DEFAULT "CR2: %016lx CR3: %016lx CR4: %016lx\n", cr2, cr3, in __show_regs()
Dhead_32.S151 movl %cr3, %eax
398 movl %eax,%cr3 /* set the page table pointer.. */
Dhead_64.S192 movq %rax, %cr3
/linux-4.4.14/arch/x86/include/asm/xen/
Dinterface_32.h100 #define xen_cr3_to_pfn(cr3) (((unsigned)(cr3) >> 12) | ((unsigned)(cr3) << 20)) argument
Dinterface_64.h133 #define xen_cr3_to_pfn(cr3) ((unsigned long)(cr3) >> 12) argument
/linux-4.4.14/arch/x86/platform/olpc/
Dxo1-wakeup.S24 # Set up %cr3
26 movl %eax, %cr3
50 movl %cr3, %eax
51 movl %eax, %cr3
/linux-4.4.14/arch/x86/boot/compressed/
Defi_thunk_64.S121 movl %cr3, %eax
122 movl %eax, %cr3
154 movl %cr3, %eax
155 movl %eax, %cr3
Dhead_64.S157 movl %eax, %cr3
/linux-4.4.14/arch/x86/platform/efi/
Defi_stub_64.S59 movq %cr3, %r15
62 movq %r15, %cr3
70 movq %r15, %cr3
/linux-4.4.14/arch/m32r/include/asm/
Dassembler.h88 mvfc r13, cr3 ; spu
177 mvtc r14, cr3 ; spu variable
219 mvfc r0, cr3 ; spu
221 mvtc r0, cr3 ; spu
/linux-4.4.14/arch/x86/kernel/acpi/
Dwakeup_32.S27 movl %cr3, %eax
28 movl %eax, %cr3
Dwakeup_64.S87 movq %rbx, %cr3
/linux-4.4.14/include/trace/events/
Dxen.h425 TP_PROTO(bool kernel, unsigned long cr3),
426 TP_ARGS(kernel, cr3),
429 __field(unsigned long, cr3)
432 __entry->cr3 = cr3),
434 __entry->kernel ? "kernel" : "user", __entry->cr3)
/linux-4.4.14/drivers/lguest/x86/
Dswitcher_32.S167 movl %ebx, %cr3
241 movl %edx, %cr3; \
/linux-4.4.14/arch/x86/include/asm/
Dsuspend_32.h15 unsigned long cr0, cr2, cr3, cr4; member
Dsuspend_64.h24 unsigned long cr0, cr2, cr3, cr4, cr8; member
Dkvm_host.h395 unsigned long cr3; member
795 void (*set_cr3)(struct kvm_vcpu *vcpu, unsigned long cr3);
850 void (*set_tdp_cr3)(struct kvm_vcpu *vcpu, unsigned long cr3);
919 unsigned long cr3; member
953 int load_pdptrs(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu, unsigned long cr3);
1025 int kvm_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3);
Dsvm.h155 u64 cr3; member
/linux-4.4.14/arch/powerpc/kernel/
Didle_power7.S159 cmpwi cr3,r3,PNV_THREAD_SLEEP
160 bge cr3,2f
194 bgt cr3,enter_winkle
386 ble cr3,clear_lock
Dcpu_setup_6xx.S338 cmplwi cr3,r3,0x8001 /* 7455 */
346 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq
409 cmplwi cr3,r3,0x8001 /* 7455 */
417 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq
Dexceptions-64s.S110 cmpwi cr3,r13,2
127 bgt cr3,.
147 beq cr3,2f
/linux-4.4.14/arch/powerpc/boot/
Dppc_asm.h20 #define cr3 3 macro
/linux-4.4.14/arch/x86/xen/
Dmmu.c1421 static void __xen_write_cr3(bool kernel, unsigned long cr3) in __xen_write_cr3() argument
1426 trace_xen_mmu_write_cr3(kernel, cr3); in __xen_write_cr3()
1428 if (cr3) in __xen_write_cr3()
1429 mfn = pfn_to_mfn(PFN_DOWN(cr3)); in __xen_write_cr3()
1441 this_cpu_write(xen_cr3, cr3); in __xen_write_cr3()
1445 xen_mc_callback(set_current_cr3, (void *)cr3); in __xen_write_cr3()
1448 static void xen_write_cr3(unsigned long cr3) in xen_write_cr3() argument
1456 this_cpu_write(xen_cr3, cr3); in xen_write_cr3()
1458 __xen_write_cr3(true, cr3); in xen_write_cr3()
1462 pgd_t *user_pgd = xen_get_user_pgd(__va(cr3)); in xen_write_cr3()
[all …]
/linux-4.4.14/arch/x86/lguest/
Dboot.c552 static void lguest_write_cr3(unsigned long cr3) in lguest_write_cr3() argument
554 lazy_hcall1(LHCALL_NEW_PGTABLE, cr3); in lguest_write_cr3()
555 current_cr3 = cr3; in lguest_write_cr3()
558 if (cr3 != __pa_symbol(swapper_pg_dir) && in lguest_write_cr3()
559 cr3 != __pa_symbol(initial_page_table)) in lguest_write_cr3()
/linux-4.4.14/arch/x86/kvm/
Dtss.h12 u32 cr3; member
Dsvm.c1098 save->cr3 = 0; in init_vmcb()
1870 u64 cr3 = svm->nested.nested_cr3; in nested_svm_get_tdp_pdptr() local
1874 ret = kvm_vcpu_read_guest_page(vcpu, gpa_to_gfn(cr3), &pdpte, in nested_svm_get_tdp_pdptr()
1875 offset_in_page(cr3) + index * 8, 8); in nested_svm_get_tdp_pdptr()
2259 nested_vmcb->save.cr3 = kvm_read_cr3(&svm->vcpu); in nested_svm_vmexit()
2326 svm->vmcb->save.cr3 = hsave->save.cr3; in nested_svm_vmexit()
2327 svm->vcpu.arch.cr3 = hsave->save.cr3; in nested_svm_vmexit()
2329 (void)kvm_set_cr3(&svm->vcpu, hsave->save.cr3); in nested_svm_vmexit()
2454 hsave->save.cr3 = vmcb->save.cr3; in nested_svm_vmrun()
2456 hsave->save.cr3 = kvm_read_cr3(&svm->vcpu); in nested_svm_vmrun()
[all …]
Dkvm_cache_regs.h73 return vcpu->arch.cr3; in kvm_read_cr3()
Dx86.c520 int load_pdptrs(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu, unsigned long cr3) in load_pdptrs() argument
522 gfn_t pdpt_gfn = cr3 >> PAGE_SHIFT; in load_pdptrs()
523 unsigned offset = ((cr3 & (PAGE_SIZE-1)) >> 5) << 2; in load_pdptrs()
771 int kvm_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3) in kvm_set_cr3() argument
774 cr3 &= ~CR3_PCID_INVD; in kvm_set_cr3()
777 if (cr3 == kvm_read_cr3(vcpu) && !pdptrs_changed(vcpu)) { in kvm_set_cr3()
784 if (cr3 & CR3_L_MODE_RESERVED_BITS) in kvm_set_cr3()
787 !load_pdptrs(vcpu, vcpu->arch.walk_mmu, cr3)) in kvm_set_cr3()
790 vcpu->arch.cr3 = cr3; in kvm_set_cr3()
6943 sregs->cr3 = kvm_read_cr3(vcpu); in kvm_arch_vcpu_ioctl_get_sregs()
[all …]
Dvmx.c3632 vcpu->arch.cr3 = vmcs_readl(GUEST_CR3); in vmx_decache_cr3()
3762 static void vmx_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3) in vmx_set_cr3() argument
3767 guest_cr3 = cr3; in vmx_set_cr3()
3769 eptp = construct_eptp(cr3); in vmx_set_cr3()
Dmmu.c3431 arch.cr3 = vcpu->arch.mmu.get_cr3(vcpu); in kvm_arch_setup_async_pf()
Demulate.c3021 if (ctxt->ops->set_cr(ctxt, 3, tss->cr3)) in load_state_from_tss32()
/linux-4.4.14/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.h61 uint64_t cr3; member
Dintel-pt-decoder.c95 uint64_t cr3; member
1373 decoder->cr3 = decoder->packet.payload & (BIT63 - 1); in intel_pt_walk_psbend()
1472 decoder->cr3 = decoder->packet.payload & (BIT63 - 1); in intel_pt_walk_fup_tip()
1591 decoder->cr3 = decoder->packet.payload & (BIT63 - 1); in intel_pt_walk_trace()
1712 decoder->cr3 = decoder->packet.payload & (BIT63 - 1); in intel_pt_walk_psb()
1811 decoder->cr3 = decoder->packet.payload & (BIT63 - 1); in intel_pt_walk_to_ip()
2059 decoder->state.cr3 = decoder->cr3; in intel_pt_decode()
/linux-4.4.14/drivers/tty/serial/
Dstm32-usart.c352 u32 cr1, cr2, cr3; in stm32_set_termios() local
367 cr3 = 0; in stm32_set_termios()
384 cr3 |= USART_CR3_CTSE; in stm32_set_termios()
433 writel_relaxed(cr3, port->membase + USART_CR3); in stm32_set_termios()
/linux-4.4.14/drivers/iommu/
Damd_iommu_proto.h54 unsigned long cr3);
Damd_iommu.c3406 unsigned long cr3) in __set_gcr3() argument
3417 *pte = (cr3 & PAGE_MASK) | GCR3_VALID; in __set_gcr3()
3439 unsigned long cr3) in amd_iommu_domain_set_gcr3() argument
3446 ret = __set_gcr3(domain, pasid, cr3); in amd_iommu_domain_set_gcr3()
/linux-4.4.14/Documentation/zh_CN/
Doops-tracing.txt161 Aug 29 09:51:01 blizard kernel: current->tss.cr3 = 0062d000, %cr3 = 0062d000
/linux-4.4.14/arch/x86/realmode/rm/
Dreboot.S100 movl %ecx, %cr3
Dwakeup_asm.S111 movl %eax, %cr3
/linux-4.4.14/arch/s390/kernel/
Dhead64.S55 .quad 0 # cr3: instruction authorization
/linux-4.4.14/Documentation/virtual/kvm/
Dmmu.txt49 of the current paging mode and cr3 during guest entry, as well as
93 - writes to control registers (especially cr3)
201 A counter keeping track of how many hardware registers (guest cr3 or
255 guest's cr3. This is expensive, so we keep all guest page tables write
259 guest cr3. In this case, the guest is obliged to issue an invlpg instruction
323 - mov to cr3
Dapi.txt349 __u64 cr0, cr2, cr3, cr4, cr8;
/linux-4.4.14/arch/x86/include/uapi/asm/
Dkvm.h150 __u64 cr0, cr2, cr3, cr4, cr8; member
/linux-4.4.14/Documentation/
Doops-tracing.txt197 Aug 29 09:51:01 blizard kernel: current->tss.cr3 = 0062d000, %cr3 = 0062d000
/linux-4.4.14/arch/powerpc/include/asm/
Dppc_asm.h554 #define cr3 3 macro