/linux-master/arch/x86/hyperv/ |
H A D | hv_vtl.c | 123 input->vp_context.cr3 = __native_read_cr3();
|
H A D | ivm.c | 325 asm volatile("movq %%cr3, %%rax;" : "=a" (vmsa->cr3));
|
/linux-master/drivers/tty/serial/ |
H A D | stm32-usart.h | 14 u16 cr3; member in struct:stm32_usart_offsets
|
H A D | fsl_lpuart.c | 1768 unsigned char cr3; local 1790 cr3 = readb(sport->port.membase + UARTCR3); 1791 cr3 |= UARTCR3_FEIE; 1792 writeb(cr3, sport->port.membase + UARTCR3); 1983 unsigned char cr1, old_cr1, old_cr2, cr3, cr4, bdh, modem; local 1990 cr3 = readb(sport->port.membase + UARTCR3); 2043 cr3 |= UARTCR3_T8; 2045 cr3 &= ~UARTCR3_T8; 2113 writeb(cr3, sport->port.membase + UARTCR3);
|
/linux-master/arch/x86/kvm/svm/ |
H A D | svm.c | 1328 save->cr3 = 0; 1830 static void sev_post_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3) argument 1835 * For guests that don't set guest_state_protected, the cr3 update is 1837 * that do (SEV-ES/SEV-SNP), the cr3 update needs to be written to 1843 svm->vmcb->save.cr3 = cr3; 3407 "cr3:", save->cr3, "cr4:", save->cr4); 3499 vcpu->arch.cr3 = svm->vmcb->save.cr3; 4254 unsigned long cr3; local [all...] |
H A D | svm.h | 119 u64 cr3; member in struct:vmcb_save_area_cached 374 * KVM_REQ_LOAD_MMU_PGD is always requested when the cached vcpu->arch.cr3
|
/linux-master/arch/x86/include/asm/ |
H A D | svm.h | 317 u64 cr3; member in struct:vmcb_save_area 374 u64 cr3; member in struct:sev_es_save_area
|
H A D | kvm_host.h | 754 unsigned long cr3; member in struct:kvm_vcpu_arch 1641 void (*post_set_cr3)(struct kvm_vcpu *vcpu, unsigned long cr3); 1845 unsigned long cr3; member in struct:kvm_arch_async_pf 1937 int load_pdptrs(struct kvm_vcpu *vcpu, unsigned long cr3); 2065 int kvm_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3);
|
H A D | hyperv-tlfs.h | 779 u64 cr3; member in struct:hv_init_vp_context
|
/linux-master/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 149 __u64 cr0, cr2, cr3, cr4, cr8; member in struct:kvm_sregs 160 __u64 cr0, cr2, cr3, cr4, cr8; member in struct:kvm_sregs2
|
/linux-master/tools/arch/x86/include/uapi/asm/ |
H A D | kvm.h | 149 __u64 cr0, cr2, cr3, cr4, cr8; member in struct:kvm_sregs 160 __u64 cr0, cr2, cr3, cr4, cr8; member in struct:kvm_sregs2
|
/linux-master/include/uapi/linux/ |
H A D | acrn.h | 265 * @cr3: Value of register CR3 290 __le64 cr3; member in struct:acrn_regs
|
/linux-master/arch/x86/kvm/vmx/ |
H A D | nested.c | 1110 * Load guest's/host's cr3 at nested entry/exit. @nested_ept is true if we are 1115 static int nested_vmx_load_cr3(struct kvm_vcpu *vcpu, unsigned long cr3, argument 1119 if (CC(!kvm_vcpu_is_legal_cr3(vcpu, cr3))) { 1129 CC(!load_pdptrs(vcpu, cr3))) { 1134 vcpu->arch.cr3 = cr3; 1141 kvm_mmu_new_pgd(vcpu, cr3); 3127 unsigned long cr3, cr4; local 3150 cr3 = __get_current_cr3_fast(); 3151 if (unlikely(cr3 ! [all...] |
H A D | vmx.c | 2490 vcpu->arch.cr3 = vmcs_readl(GUEST_CR3); 3347 * When !CR0_PG -> CR0_PG, vcpu->arch.cr3 becomes active, but 3396 guest_cr3 = vcpu->arch.cr3; 4293 unsigned long cr0, cr3, cr4; local 4303 cr3 = __read_cr3(); 4304 vmcs_writel(HOST_CR3, cr3); /* 22.2.3 FIXME: shadow tables */ 4305 vmx->loaded_vmcs->host_state.cr3 = cr3; 7314 unsigned long cr3, cr4; local 7364 cr3 [all...] |
/linux-master/tools/testing/selftests/kvm/include/x86_64/ |
H A D | processor.h | 552 uint64_t cr3; local 554 __asm__ __volatile__("mov %%cr3, %[cr3]" 555 : /* output */ [cr3]"=r"(cr3)); 556 return cr3;
|
/linux-master/arch/s390/boot/ |
H A D | head.S | 279 .quad 0 # cr3: instruction authorization
|
/linux-master/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | processor.c | 103 "cr3: 0x%.16llx cr4: 0x%.16llx\n", 105 sregs->cr0, sregs->cr2, sregs->cr3, sregs->cr4); 571 sregs.cr3 = vm->pgd;
|
/linux-master/arch/x86/kvm/ |
H A D | x86.c | 866 int load_pdptrs(struct kvm_vcpu *vcpu, unsigned long cr3) argument 869 gfn_t pdpt_gfn = cr3 >> PAGE_SHIFT; 886 cr3 & GENMASK(11, 5), sizeof(pdpte)); 1210 /* PCID can not be enabled when cr3[11:0]!=000H or EFER.LMA=0 */ 1266 int kvm_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3) argument 1272 skip_tlb_flush = cr3 & X86_CR3_PCID_NOFLUSH; 1273 cr3 &= ~X86_CR3_PCID_NOFLUSH; 1274 pcid = cr3 & X86_CR3_PCID_MASK; 1279 if (cr3 == kvm_read_cr3(vcpu) && !is_pae_paging(vcpu)) 1287 if (!kvm_vcpu_is_legal_cr3(vcpu, cr3)) [all...] |
H A D | emulate.c | 2808 if (ctxt->ops->set_cr(ctxt, 3, tss->cr3))
|
/linux-master/arch/powerpc/include/asm/ |
H A D | ppc_asm.h | 591 #define cr3 3 macro
|
/linux-master/tools/testing/selftests/powerpc/primitives/asm/ |
H A D | ppc_asm.h | 591 #define cr3 3 macro
|
/linux-master/arch/x86/kvm/mmu/ |
H A D | mmu.c | 4270 arch.cr3 = kvm_mmu_get_guest_pgd(vcpu, vcpu->arch.mmu); 4289 work->arch.cr3 != kvm_mmu_get_guest_pgd(vcpu, vcpu->arch.mmu)) 5990 * be synced when switching to that new cr3, so nothing needs to be 6019 * Mappings not reachable via the current cr3 or the prev_roots will be 6020 * synced when switching to that cr3, so nothing needs to be done here 6130 * creation. When emulating 32-bit mode, cr3 is only 32 bits even on
|