/linux-master/arch/x86/kvm/ |
H A D | cpuid.h | 287 static inline bool kvm_vcpu_is_legal_cr3(struct kvm_vcpu *vcpu, unsigned long cr3) argument 290 cr3 &= ~(X86_CR3_LAM_U48 | X86_CR3_LAM_U57); 292 return kvm_vcpu_is_legal_gpa(vcpu, cr3);
|
H A D | smm.c | 57 CHECK_SMRAM32_OFFSET(cr3, 0xFFF8); 97 CHECK_SMRAM64_OFFSET(cr3, 0xFF50); 190 smram->cr3 = kvm_read_cr3(vcpu); 243 smram->cr3 = kvm_read_cr3(vcpu); 415 u64 cr0, u64 cr3, u64 cr4) 423 pcid = cr3 & 0xfff; 424 cr3 &= ~0xfff; 427 bad = kvm_set_cr3(vcpu, cr3); 449 bad = kvm_set_cr3(vcpu, cr3 | pcid); 499 smstate->cr3, smstat 414 rsm_enter_protected_mode(struct kvm_vcpu *vcpu, u64 cr0, u64 cr3, u64 cr4) argument [all...] |
H A D | mmu.h | 135 static inline unsigned long kvm_get_pcid(struct kvm_vcpu *vcpu, gpa_t cr3) argument 140 ? cr3 & X86_CR3_PCID_MASK
|
H A D | kvm_cache_regs.h | 194 return vcpu->arch.cr3;
|
/linux-master/arch/x86/kvm/svm/ |
H A D | nested.c | 62 u64 cr3 = svm->nested.ctl.nested_cr3; local 66 ret = kvm_vcpu_read_guest_page(vcpu, gpa_to_gfn(cr3), &pdpte, 67 offset_in_page(cr3) + index * 8, 8); 305 CC(!kvm_vcpu_is_legal_cr3(vcpu, save->cr3))) 397 to->cr3 = from->cr3; 504 * Load guest's/host's cr3 on nested vmentry or vmexit. @nested_npt is true 507 static int nested_svm_load_cr3(struct kvm_vcpu *vcpu, unsigned long cr3, argument 510 if (CC(!kvm_vcpu_is_legal_cr3(vcpu, cr3))) 514 CC(!load_pdptrs(vcpu, cr3))) [all...] |
/linux-master/drivers/media/platform/nxp/ |
H A D | imx7-media-csi.c | 362 u32 cr3; local 364 cr3 = imx7_csi_reg_read(csi, CSI_CSICR3); 365 cr3 |= BIT_DMA_REFLASH_RFF; 366 imx7_csi_reg_write(csi, cr3, CSI_CSICR3); 380 u32 cr3 = imx7_csi_reg_read(csi, CSI_CSICR3); local 382 cr3 |= BIT_DMA_REQ_EN_RFF; 383 cr3 |= BIT_HRESP_ERR_EN; 384 cr3 &= ~BIT_RXFF_LEVEL_MASK; 385 cr3 |= BIT_RXFF_LEVEL(2); 387 imx7_csi_reg_write(csi, cr3, CSI_CSICR 392 u32 cr3 = imx7_csi_reg_read(csi, CSI_CSICR3); local 532 u32 cr3 = BIT_FRMCNT_RST; local [all...] |
/linux-master/include/trace/events/ |
H A D | xen.h | 368 TP_PROTO(bool kernel, unsigned long cr3), 369 TP_ARGS(kernel, cr3), 372 __field(unsigned long, cr3) 375 __entry->cr3 = cr3), 376 TP_printk("%s cr3 %lx", 377 __entry->kernel ? "kernel" : "user", __entry->cr3)
|
/linux-master/arch/x86/entry/ |
H A D | entry_32.S | 56 /* Unconditionally switch to user cr3 */ 60 movl %cr3, \scratch_reg 62 movl \scratch_reg, %cr3 74 /* On user-cr3? */ 75 movl %cr3, %eax 78 /* From userspace with kernel cr3 - BUG */ 85 * Switch to kernel cr3 if not already loaded and return current cr3 in 90 movl %cr3, \scratch_reg 95 movl \scratch_reg, %cr3 [all...] |
/linux-master/arch/x86/realmode/rm/ |
H A D | reboot.S | 103 movl %ecx, %cr3
|
H A D | trampoline_64.S | 161 movl %eax, %cr3 244 movq %rax, %cr3
|
H A D | wakeup_asm.S | 25 pmode_cr3: .long 0 /* Saved %cr3 */ 112 movl %eax, %cr3
|
/linux-master/arch/x86/boot/compressed/ |
H A D | pgtable_64.c | 106 void (*toggle_la57)(void *cr3);
|
H A D | misc.h | 206 unsigned long sev_verify_cbit(unsigned long cr3);
|
H A D | head_64.S | 236 movl %eax, %cr3 542 movl %edi, %cr3
|
/linux-master/arch/x86/mm/ |
H A D | mem_encrypt_boot.S | 99 mov %rdx, %cr3
|
/linux-master/arch/x86/xen/ |
H A D | mmu_pv.c | 33 * Naively, when loading %cr3 with the base of a new pagetable, Xen 38 * that it is still valid when you do load it into %cr3, and doesn't 117 * Note about cr3 (pagetable base) values: 119 * xen_cr3 contains the current logical cr3 value; it contains the 120 * last set cr3. This may not be the current effective cr3, because 122 * at its own cr3 can use this value knowing that it everything will 125 * xen_current_cr3 contains the actual vcpu cr3; it is set once the 126 * hypercall to set the vcpu cr3 is complete (so it may be a little 128 * looking at another vcpu's cr3 valu 1318 __xen_write_cr3(bool kernel, unsigned long cr3) argument 1345 xen_write_cr3(unsigned long cr3) argument 1387 xen_write_cr3_init(unsigned long cr3) argument [all...] |
/linux-master/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | svm.c | 92 asm volatile ("mov %%cr3, %0" : "=r"(save->cr3) : : "memory");
|
/linux-master/arch/x86/kvm/vmx/ |
H A D | vmcs.h | 35 unsigned long cr3; /* May not match real cr3 */ member in struct:vmcs_host_state
|
/linux-master/arch/powerpc/kernel/ |
H A D | cpu_setup_6xx.S | 365 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-master/arch/x86/power/ |
H A D | cpu.c | 125 ctxt->cr3 = __read_cr3(); 213 write_cr3(ctxt->cr3);
|
/linux-master/arch/x86/kernel/ |
H A D | head_32.S | 117 movl %cr3, %eax 231 movl %eax,%cr3 /* set the page table pointer.. */
|
H A D | process_64.c | 71 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L, fs, gs, shadowgs; local 116 cr3 = __read_cr3(); 124 log_lvl, cr2, cr3, cr4);
|
H A D | head_64.S | 133 movq %rax, %cr3 193 movq %rax, %cr3 318 * by now because the cr3-switch above unmaps the real-mode stack.
|
/linux-master/tools/testing/selftests/kvm/include/x86_64/ |
H A D | svm.h | 212 u64 cr3; member in struct:vmcb_save_area
|
/linux-master/arch/x86/kernel/acpi/ |
H A D | wakeup_64.S | 95 movq %rbx, %cr3
|