Home
last modified time | relevance | path

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

/linux-4.1.27/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.c108 ctxt->cr3 = read_cr3(); in __save_processor_state()
183 write_cr3(ctxt->cr3); in __restore_processor_state()
/linux-4.1.27/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()
Dprocess_64.c61 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; in __show_regs() local
96 cr3 = read_cr3(); in __show_regs()
103 printk(KERN_DEFAULT "CR2: %016lx CR3: %016lx CR4: %016lx\n", cr2, cr3, in __show_regs()
Dasm-offsets_64.c76 ENTRY(cr3); in main()
Dhead_32.S151 movl %cr3, %eax
399 movl %eax,%cr3 /* set the page table pointer.. */
Dhead_64.S192 movq %rax, %cr3
/linux-4.1.27/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.1.27/arch/x86/platform/olpc/
Dxo1-wakeup.S24 # Set up %cr3
26 movl %eax, %cr3
50 movl %cr3, %eax
51 movl %eax, %cr3
/linux-4.1.27/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.1.27/arch/x86/platform/efi/
Defi_stub_64.S59 movq %cr3, %r15
62 movq %r15, %cr3
70 movq %r15, %cr3
/linux-4.1.27/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.1.27/arch/x86/kernel/acpi/
Dwakeup_32.S25 movl %cr3, %eax
26 movl %eax, %cr3
Dwakeup_64.S87 movq %rbx, %cr3
/linux-4.1.27/arch/x86/xen/
Dmmu.c1318 static void __xen_write_cr3(bool kernel, unsigned long cr3) in __xen_write_cr3() argument
1323 trace_xen_mmu_write_cr3(kernel, cr3); in __xen_write_cr3()
1325 if (cr3) in __xen_write_cr3()
1326 mfn = pfn_to_mfn(PFN_DOWN(cr3)); in __xen_write_cr3()
1338 this_cpu_write(xen_cr3, cr3); in __xen_write_cr3()
1342 xen_mc_callback(set_current_cr3, (void *)cr3); in __xen_write_cr3()
1345 static void xen_write_cr3(unsigned long cr3) in xen_write_cr3() argument
1353 this_cpu_write(xen_cr3, cr3); in xen_write_cr3()
1355 __xen_write_cr3(true, cr3); in xen_write_cr3()
1359 pgd_t *user_pgd = xen_get_user_pgd(__va(cr3)); in xen_write_cr3()
[all …]
/linux-4.1.27/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.1.27/drivers/lguest/x86/
Dswitcher_32.S167 movl %ebx, %cr3
241 movl %edx, %cr3; \
/linux-4.1.27/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.h359 unsigned long cr3; member
734 void (*set_cr3)(struct kvm_vcpu *vcpu, unsigned long cr3);
789 void (*set_tdp_cr3)(struct kvm_vcpu *vcpu, unsigned long cr3);
844 unsigned long cr3; member
889 int load_pdptrs(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu, unsigned long cr3);
960 int kvm_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3);
Dsvm.h155 u64 cr3; member
/linux-4.1.27/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.S111 cmpwi cr3,r13,2
128 bgt cr3,.
148 beq cr3,2f
/linux-4.1.27/arch/powerpc/boot/
Dppc_asm.h20 #define cr3 3 macro
/linux-4.1.27/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.1.27/arch/x86/kvm/
Dtss.h12 u32 cr3; member
Dsvm.c1184 save->cr3 = 0; in init_vmcb()
1954 u64 cr3 = svm->nested.nested_cr3; in nested_svm_get_tdp_pdptr() local
1958 ret = kvm_read_guest_page(vcpu->kvm, gpa_to_gfn(cr3), &pdpte, in nested_svm_get_tdp_pdptr()
1959 offset_in_page(cr3) + index * 8, 8); in nested_svm_get_tdp_pdptr()
2342 nested_vmcb->save.cr3 = kvm_read_cr3(&svm->vcpu); in nested_svm_vmexit()
2407 svm->vmcb->save.cr3 = hsave->save.cr3; in nested_svm_vmexit()
2408 svm->vcpu.arch.cr3 = hsave->save.cr3; in nested_svm_vmexit()
2410 (void)kvm_set_cr3(&svm->vcpu, hsave->save.cr3); in nested_svm_vmexit()
2535 hsave->save.cr3 = vmcb->save.cr3; in nested_svm_vmrun()
2537 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.c510 int load_pdptrs(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu, unsigned long cr3) in load_pdptrs() argument
512 gfn_t pdpt_gfn = cr3 >> PAGE_SHIFT; in load_pdptrs()
513 unsigned offset = ((cr3 & (PAGE_SIZE-1)) >> 5) << 2; in load_pdptrs()
754 int kvm_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3) in kvm_set_cr3() argument
757 cr3 &= ~CR3_PCID_INVD; in kvm_set_cr3()
760 if (cr3 == kvm_read_cr3(vcpu) && !pdptrs_changed(vcpu)) { in kvm_set_cr3()
767 if (cr3 & CR3_L_MODE_RESERVED_BITS) in kvm_set_cr3()
770 !load_pdptrs(vcpu, vcpu->arch.walk_mmu, cr3)) in kvm_set_cr3()
773 vcpu->arch.cr3 = cr3; in kvm_set_cr3()
6754 sregs->cr3 = kvm_read_cr3(vcpu); in kvm_arch_vcpu_ioctl_get_sregs()
[all …]
Dvmx.c3490 vcpu->arch.cr3 = vmcs_readl(GUEST_CR3); in vmx_decache_cr3()
3620 static void vmx_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3) in vmx_set_cr3() argument
3625 guest_cr3 = cr3; in vmx_set_cr3()
3627 eptp = construct_eptp(cr3); in vmx_set_cr3()
Dmmu.c3416 arch.cr3 = vcpu->arch.mmu.get_cr3(vcpu); in kvm_arch_setup_async_pf()
Demulate.c2723 if (ctxt->ops->set_cr(ctxt, 3, tss->cr3)) in load_state_from_tss32()
/linux-4.1.27/drivers/iommu/
Damd_iommu_proto.h54 unsigned long cr3);
Damd_iommu.c3687 unsigned long cr3) in __set_gcr3() argument
3698 *pte = (cr3 & PAGE_MASK) | GCR3_VALID; in __set_gcr3()
3720 unsigned long cr3) in amd_iommu_domain_set_gcr3() argument
3727 ret = __set_gcr3(domain, pasid, cr3); in amd_iommu_domain_set_gcr3()
/linux-4.1.27/Documentation/zh_CN/
Doops-tracing.txt161 Aug 29 09:51:01 blizard kernel: current->tss.cr3 = 0062d000, %cr3 = 0062d000
/linux-4.1.27/arch/x86/realmode/rm/
Dreboot.S100 movl %ecx, %cr3
Dwakeup_asm.S111 movl %eax, %cr3
/linux-4.1.27/arch/s390/kernel/
Dhead64.S50 .quad 0 # cr3: instruction authorization
/linux-4.1.27/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)
195 A counter keeping track of how many hardware registers (guest cr3 or
249 guest's cr3. This is expensive, so we keep all guest page tables write
253 guest cr3. In this case, the guest is obliged to issue an invlpg instruction
317 - mov to cr3
Dapi.txt344 __u64 cr0, cr2, cr3, cr4, cr8;
/linux-4.1.27/arch/x86/include/uapi/asm/
Dkvm.h148 __u64 cr0, cr2, cr3, cr4, cr8; member
/linux-4.1.27/Documentation/
Doops-tracing.txt197 Aug 29 09:51:01 blizard kernel: current->tss.cr3 = 0062d000, %cr3 = 0062d000
/linux-4.1.27/arch/powerpc/include/asm/
Dppc_asm.h554 #define cr3 3 macro