Home
last modified time | relevance | path

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

12

/linux/arch/x86/power/
H A Dhibernate_asm_64.S31 movq %r9, %cr3
38 movq %cr3, %rcx; # flush TLB
39 movq %rcx, %cr3
94 movq %cr3, %rax
125 movq %rax, %cr3
130 movq %cr3, %rcx; # flush TLB
131 movq %rcx, %cr3;
H A Dhibernate.c61 unsigned long cr3; member
122 rdr->cr3 = restore_cr3 & ~CR3_PCID_MASK; in arch_hibernation_header_save()
144 restore_cr3 = rdr->cr3; in arch_hibernation_header_restore()
H A Dcpu.c127 ctxt->cr3 = __read_cr3(); in __save_processor_state()
215 write_cr3(ctxt->cr3); in __restore_processor_state()
/linux/scripts/gdb/linux/
H A Dpgtable.py64 def __init__(self, cr3, page_levels):
65 self.cr3 = cr3
67 self.page_level_write_through = is_bit_defined_tupled(cr3, 3)
68 self.page_level_cache_disabled = is_bit_defined_tupled(cr3, 4)
69 self.next_entry_physical_address = cr3 & PHYSICAL_ADDRESS_MASK & page_mask()
77 cr3:
78 {'cr3 binary data': <30} {hex(self.cr3)}
208 cr3_data = gdb.parse_and_eval('$cr3')
66 __init__(self, cr3, page_levels) global() argument
[all...]
/linux/arch/x86/kernel/
H A Dsev_verify_cbit.S56 movq %cr3, %rcx
59 movq %rdi, %cr3
68 movq %rcx, %cr3
H A Drelocate_kernel_64.S91 movq %cr3, %rax
93 movq %r9, %cr3
209 movq %r9, %cr3
236 movq %cr3, %rax
237 movq %rax, %cr3
285 movq %rax, %cr3
317 movq %rax, %cr3
H A Dhead_64.S136 movq %rax, %cr3
196 movq %rax, %cr3
/linux/arch/x86/platform/olpc/
H A Dxo1-wakeup.S25 # Set up %cr3
27 movl %eax, %cr3
51 movl %cr3, %eax
52 movl %eax, %cr3
/linux/arch/x86/entry/
H A Dcalling.h175 mov %cr3, \scratch_reg
177 mov \scratch_reg, %cr3
185 mov %cr3, \scratch_reg
213 mov \scratch_reg, %cr3
232 movq %cr3, \scratch_reg
243 movq \scratch_reg, %cr3
274 movq \save_reg, %cr3
/linux/tools/testing/selftests/kvm/x86/
H A Dnested_invalid_cr3_test.c30 save_cr3 = svm->vmcb->save.cr3; in l1_svm_code()
31 svm->vmcb->save.cr3 = -1ull; in l1_svm_code()
36 svm->vmcb->save.cr3 = save_cr3; in l1_svm_code()
/linux/include/xen/interface/hvm/
H A Dhvm_vcpu.h24 uint32_t cr3; member
87 uint64_t cr3; member
/linux/arch/x86/hyperv/
H A Dhv_trampoline.S54 movl %eax, %cr3
90 movq %rbx, %cr3
/linux/arch/x86/kvm/svm/
H A Dnested.c76 u64 cr3 = svm->nested.ctl.nested_cr3; in nested_svm_get_tdp_pdptr() local
84 ret = kvm_vcpu_read_guest_page(vcpu, gpa_to_gfn(cr3), &pdpte, in nested_svm_get_tdp_pdptr()
85 (cr3 & GENMASK(11, 5)) + index * 8, 8); in nested_svm_get_tdp_pdptr()
460 CC(!kvm_vcpu_is_legal_cr3(vcpu, save->cr3))) in nested_vmcb_check_save()
590 to->cr3 = from->cr3; in __nested_copy_vmcb_save_to_cache()
714 static int nested_svm_load_cr3(struct kvm_vcpu *vcpu, unsigned long cr3, in nested_svm_load_cr3() argument
717 if (CC(!kvm_vcpu_is_legal_cr3(vcpu, cr3))) in nested_svm_load_cr3()
723 else if (CC(!load_pdptrs(vcpu, cr3))) in nested_svm_load_cr3()
727 vcpu->arch.cr3 = cr3; in nested_svm_load_cr3()
733 kvm_mmu_new_pgd(vcpu, cr3); in nested_svm_load_cr3()
[all …]
/linux/arch/x86/kernel/acpi/
H A Dwakeup_32.S27 movl %cr3, %eax
28 movl %eax, %cr3
/linux/arch/x86/kvm/
H A Dsmm.h64 u32 cr3; member
128 u64 cr3; member
H A Dtss.h13 u32 cr3; member
/linux/arch/x86/xen/
H A Dmmu_pv.c1382 static void __xen_write_cr3(bool kernel, unsigned long cr3) in __xen_write_cr3() argument
1387 trace_xen_mmu_write_cr3(kernel, cr3); in __xen_write_cr3()
1389 if (cr3) in __xen_write_cr3()
1390 mfn = pfn_to_mfn(PFN_DOWN(cr3)); in __xen_write_cr3()
1402 this_cpu_write(xen_cr3, cr3); in __xen_write_cr3()
1406 xen_mc_callback(set_current_cr3, (void *)cr3); in __xen_write_cr3()
1409 static void xen_write_cr3(unsigned long cr3) in xen_write_cr3() argument
1411 pgd_t *user_pgd = xen_get_user_pgd(__va(cr3)); in xen_write_cr3()
1419 this_cpu_write(xen_cr3, cr3); in xen_write_cr3()
1421 __xen_write_cr3(true, cr3); in xen_write_cr3()
[all …]
/linux/arch/powerpc/kernel/
H A Dcpu_setup_6xx.S365 cmplwi cr3,r3,0x8001 /* 7455 */
373 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq
436 cmplwi cr3,r3,0x8001 /* 7455 */
444 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq
/linux/arch/x86/realmode/rm/
H A Dtrampoline_64.S161 movl %eax, %cr3
244 movq %rax, %cr3
H A Dreboot.S103 movl %ecx, %cr3
H A Dwakeup_asm.S112 movl %eax, %cr3
/linux/arch/powerpc/boot/
H A Dppc_asm.h16 #define cr3 3 macro
/linux/arch/x86/mm/
H A Dmem_encrypt_boot.S100 mov %rdx, %cr3
/linux/tools/testing/selftests/kvm/lib/x86/
H A Dsvm.c113 asm volatile ("mov %%cr3, %0" : "=r"(save->cr3) : : "memory"); in generic_svm_setup()
/linux/drivers/tty/serial/
H A Dstm32-usart.h14 u16 cr3; member

12