Home
last modified time | relevance | path

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

12

/arch/x86/power/
Dhibernate_asm_64.S30 movq %r9, %cr3
37 movq %cr3, %rcx; # flush TLB
38 movq %rcx, %cr3
93 movq %cr3, %rax
123 movq %rax, %cr3
128 movq %cr3, %rcx; # flush TLB
129 movq %rcx, %cr3;
Dhibernate_asm_32.S29 movl %cr3, %eax
53 movl %eax, %cr3
58 movl %cr3, %eax; # flush TLB
59 movl %eax, %cr3
87 movl %ebp, %cr3
Dhibernate.c60 unsigned long cr3; member
118 rdr->cr3 = restore_cr3 & ~CR3_PCID_MASK; in arch_hibernation_header_save()
140 restore_cr3 = rdr->cr3; in arch_hibernation_header_restore()
/arch/x86/kernel/
Dsev_verify_cbit.S56 movq %cr3, %rcx
59 movq %rdi, %cr3
68 movq %rcx, %cr3
Drelocate_kernel_64.S67 movq %cr3, %rax
100 movq %r9, %cr3
150 movq %r9, %cr3
171 movq %cr3, %rax
172 movq %rax, %cr3
213 movq %rax, %cr3
230 movq %rax, %cr3
Drelocate_kernel_32.S54 movl %cr3, %eax
87 movl %eax, %cr3
136 movl %eax, %cr3
150 movl %eax, %cr3
192 movl %eax, %cr3
209 movl %eax, %cr3
Dprocess_32.c62 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in __show_regs() local
85 cr3 = __read_cr3(); in __show_regs()
88 log_lvl, cr0, cr2, cr3, cr4); in __show_regs()
Dasm-offsets_64.c51 ENTRY(cr3); in main()
/arch/x86/include/asm/xen/
Dinterface_32.h101 #define xen_cr3_to_pfn(cr3) (((unsigned)(cr3) >> 12) | ((unsigned)(cr3) << 20)) argument
Dinterface_64.h134 #define xen_cr3_to_pfn(cr3) ((unsigned long)(cr3) >> 12) argument
/arch/x86/platform/olpc/
Dxo1-wakeup.S25 # Set up %cr3
27 movl %eax, %cr3
51 movl %cr3, %eax
52 movl %eax, %cr3
/arch/x86/entry/
Dcalling.h168 mov %cr3, \scratch_reg
170 mov \scratch_reg, %cr3
179 mov %cr3, \scratch_reg
207 mov \scratch_reg, %cr3
219 movq %cr3, \scratch_reg
230 movq \scratch_reg, %cr3
267 movq \save_reg, %cr3
Dentry_32.S60 movl %cr3, \scratch_reg
62 movl \scratch_reg, %cr3
75 movl %cr3, %eax
90 movl %cr3, \scratch_reg
95 movl \scratch_reg, %cr3
296 movl \cr3_reg, %cr3
/arch/x86/boot/compressed/
Defi_thunk_64.S114 movl %cr3, %eax
115 movl %eax, %cr3
148 movl %cr3, %eax
149 movl %eax, %cr3
Dmisc.h170 unsigned long sev_verify_cbit(unsigned long cr3);
/arch/x86/kernel/acpi/
Dwakeup_32.S27 movl %cr3, %eax
28 movl %eax, %cr3
/arch/x86/kvm/svm/
Dnested.c76 u64 cr3 = svm->nested.ctl.nested_cr3; in nested_svm_get_tdp_pdptr() local
80 ret = kvm_vcpu_read_guest_page(vcpu, gpa_to_gfn(cr3), &pdpte, in nested_svm_get_tdp_pdptr()
81 offset_in_page(cr3) + index * 8, 8); in nested_svm_get_tdp_pdptr()
274 CC(kvm_vcpu_is_illegal_gpa(vcpu, save->cr3))) in nested_vmcb_check_cr3_cr4()
419 static int nested_svm_load_cr3(struct kvm_vcpu *vcpu, unsigned long cr3, in nested_svm_load_cr3() argument
422 if (CC(kvm_vcpu_is_illegal_gpa(vcpu, cr3))) in nested_svm_load_cr3()
426 CC(!load_pdptrs(vcpu, vcpu->arch.walk_mmu, cr3))) in nested_svm_load_cr3()
430 kvm_mmu_new_pgd(vcpu, cr3); in nested_svm_load_cr3()
432 vcpu->arch.cr3 = cr3; in nested_svm_load_cr3()
611 ret = nested_svm_load_cr3(&svm->vcpu, vmcb12->save.cr3, in enter_svm_guest_mode()
[all …]
/arch/x86/include/asm/
Dsuspend_32.h20 unsigned long cr0, cr2, cr3, cr4; member
Dsuspend_64.h41 unsigned long cr0, cr2, cr3, cr4; member
/arch/x86/platform/pvh/
Dhead.S86 mov %eax, %cr3
115 mov %eax, %cr3
/arch/powerpc/boot/
Dppc_asm.h16 #define cr3 3 macro
/arch/x86/kvm/
Dtss.h13 u32 cr3; member
Dmmu.h93 static inline unsigned long kvm_get_pcid(struct kvm_vcpu *vcpu, gpa_t cr3) in kvm_get_pcid() argument
98 ? cr3 & X86_CR3_PCID_MASK in kvm_get_pcid()
/arch/x86/mm/
Dtlb.c688 unsigned long cr3 = __read_cr3(); in initialize_tlbstate_and_flush() local
691 WARN_ON((cr3 & CR3_ADDR_MASK) != __pa(mm->pgd)); in initialize_tlbstate_and_flush()
1049 unsigned long cr3 = build_cr3(this_cpu_read(cpu_tlbstate.loaded_mm)->pgd, in __get_current_cr3_fast() local
1055 VM_BUG_ON(cr3 != __read_cr3()); in __get_current_cr3_fast()
1056 return cr3; in __get_current_cr3_fast()
/arch/powerpc/kernel/
Dcpu_setup_6xx.S336 cmplwi cr3,r3,0x8001 /* 7455 */
344 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq
407 cmplwi cr3,r3,0x8001 /* 7455 */
415 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq

12