Home
last modified time | relevance | path

Searched refs:cr3 (Results 1 – 25 of 36) 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.c26 save_cr3 = svm->vmcb->save.cr3; in l1_svm_code()
27 svm->vmcb->save.cr3 = -1ull; in l1_svm_code()
32 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/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
/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.c112 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
H A Dfsl_lpuart.c1782 u8 cr3; in lpuart_rx_dma_startup() local
1804 cr3 = readb(sport->port.membase + UARTCR3); in lpuart_rx_dma_startup()
1805 cr3 |= UARTCR3_FEIE; in lpuart_rx_dma_startup()
1806 writeb(cr3, sport->port.membase + UARTCR3); in lpuart_rx_dma_startup()
2002 u8 cr1, old_cr1, old_cr2, cr3, cr4, bdh, modem; in lpuart_set_termios() local
2009 cr3 = readb(port->membase + UARTCR3); in lpuart_set_termios()
2062 cr3 |= UARTCR3_T8; in lpuart_set_termios()
2064 cr3 &= ~UARTCR3_T8; in lpuart_set_termios()
2132 writeb(cr3, port->membase + UARTCR3); in lpuart_set_termios()
/linux/arch/x86/kvm/svm/
H A Dsvm.c1222 save->cr3 = 0; in init_vmcb()
1743 static void sev_post_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3) in svm_set_gdt()
1748 * For guests that don't set guest_state_protected, the cr3 update is in svm_set_gdt()
1750 * that do (SEV-ES/SEV-SNP), the cr3 update needs to be written to in svm_set_gdt()
1756 svm->vmcb->save.cr3 = cr3; in sev_post_set_cr3()
3532 "cr3:", save->cr3, "cr4:", save->cr4); in dump_vmcb()
4582 vcpu->arch.cr3 = svm->vmcb->save.cr3; in svm_vcpu_run()
1752 sev_post_set_cr3(struct kvm_vcpu * vcpu,unsigned long cr3) sev_post_set_cr3() argument
4663 unsigned long cr3; svm_load_mmu_pgd() local
[all...]

12