| /linux-6.15/drivers/tty/serial/ |
| H A D | stm32-usart.c | 49 .cr3 = 0x14, 67 .cr3 = 0x08, 90 .cr3 = 0x08, 192 *cr3 |= USART_CR3_DEM; in stm32_usart_config_reg_rs485() 235 cr3 = readl_relaxed(port->membase + ofs->cr3); in stm32_usart_config_rs485() 255 writel_relaxed(cr3, port->membase + ofs->cr3); in stm32_usart_config_rs485() 1198 cr3 = readl_relaxed(port->membase + ofs->cr3); in stm32_usart_set_termios() 1380 writel_relaxed(cr3, port->membase + ofs->cr3); in stm32_usart_set_termios() 1872 u32 cr3; in stm32_usart_serial_remove() local 1893 cr3 = readl_relaxed(port->membase + ofs->cr3); in stm32_usart_serial_remove() [all …]
|
| /linux-6.15/arch/x86/power/ |
| H A D | hibernate_asm_64.S | 31 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 D | hibernate_asm_32.S | 29 movl %cr3, %eax 53 movl %eax, %cr3 58 movl %cr3, %eax; # flush TLB 59 movl %eax, %cr3 87 movl %ebp, %cr3
|
| H A D | hibernate.c | 60 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()
|
| /linux-6.15/drivers/firmware/efi/libstub/ |
| H A D | x86-5lvl.c | 13 static void (*la57_toggle)(void *cr3); 69 u64 *cr3 = (u64 *)__native_read_cr3(); in efi_5level_switch() local 82 new_cr3[0] = (u64)cr3 | _PAGE_TABLE_NOENC; in efi_5level_switch() 85 new_cr3 = (u64 *)(cr3[0] & PAGE_MASK); in efi_5level_switch()
|
| /linux-6.15/scripts/gdb/linux/ |
| H A D | pgtable.py | 66 def __init__(self, cr3, page_levels): argument 67 self.cr3 = cr3 69 self.page_level_write_through = is_bit_defined_tupled(cr3, 3) 70 self.page_level_cache_disabled = is_bit_defined_tupled(cr3, 4) 71 self.next_entry_physical_address = cr3 & PHYSICAL_ADDRESS_MASK & page_mask()
|
| /linux-6.15/arch/x86/kernel/ |
| H A D | sev_verify_cbit.S | 56 movq %cr3, %rcx 59 movq %rdi, %cr3 68 movq %rcx, %cr3
|
| H A D | relocate_kernel_64.S | 80 movq %cr3, %rax 82 movq %r9, %cr3 179 movq %r9, %cr3 199 movq %cr3, %rax 200 movq %rax, %cr3 248 movq %rax, %cr3 274 movq %rax, %cr3
|
| H A D | relocate_kernel_32.S | 54 movl %cr3, %eax 87 movl %eax, %cr3 136 movl %eax, %cr3 150 movl %eax, %cr3 192 movl %eax, %cr3 209 movl %eax, %cr3
|
| H A D | process_32.c | 62 unsigned long cr0 = 0L, cr2 = 0L, cr3 = 0L, cr4 = 0L; in __show_regs() local 82 cr3 = __read_cr3(); in __show_regs() 85 log_lvl, cr0, cr2, cr3, cr4); in __show_regs()
|
| /linux-6.15/arch/x86/platform/olpc/ |
| H A D | xo1-wakeup.S | 25 # Set up %cr3 27 movl %eax, %cr3 51 movl %cr3, %eax 52 movl %eax, %cr3
|
| /linux-6.15/arch/x86/include/asm/xen/ |
| H A D | interface_32.h | 101 #define xen_cr3_to_pfn(cr3) (((unsigned)(cr3) >> 12) | ((unsigned)(cr3) << 20)) argument
|
| H A D | interface_64.h | 134 #define xen_cr3_to_pfn(cr3) ((unsigned long)(cr3) >> 12) argument
|
| /linux-6.15/arch/x86/entry/ |
| H A D | calling.h | 176 mov %cr3, \scratch_reg 178 mov \scratch_reg, %cr3 186 mov %cr3, \scratch_reg 214 mov \scratch_reg, %cr3 233 movq %cr3, \scratch_reg 244 movq \scratch_reg, %cr3 275 movq \save_reg, %cr3
|
| H A D | entry_32.S | 60 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
|
| /linux-6.15/arch/x86/kvm/ |
| H A D | smm.c | 57 CHECK_SMRAM32_OFFSET(cr3, 0xFFF8); in check_smram_offsets() 97 CHECK_SMRAM64_OFFSET(cr3, 0xFF50); in check_smram_offsets() 191 smram->cr3 = kvm_read_cr3(vcpu); in enter_smm_save_state_32() 244 smram->cr3 = kvm_read_cr3(vcpu); in enter_smm_save_state_64() 416 u64 cr0, u64 cr3, u64 cr4) in rsm_enter_protected_mode() argument 424 pcid = cr3 & 0xfff; in rsm_enter_protected_mode() 425 cr3 &= ~0xfff; in rsm_enter_protected_mode() 428 bad = kvm_set_cr3(vcpu, cr3); in rsm_enter_protected_mode() 450 bad = kvm_set_cr3(vcpu, cr3 | pcid); in rsm_enter_protected_mode() 500 smstate->cr3, smstate->cr4); in rsm_load_state_32() [all …]
|
| H A D | cpuid.h | 245 static inline bool kvm_vcpu_is_legal_cr3(struct kvm_vcpu *vcpu, unsigned long cr3) in kvm_vcpu_is_legal_cr3() argument 248 cr3 &= ~(X86_CR3_LAM_U48 | X86_CR3_LAM_U57); in kvm_vcpu_is_legal_cr3() 250 return kvm_vcpu_is_legal_gpa(vcpu, cr3); in kvm_vcpu_is_legal_cr3()
|
| H A D | smm.h | 64 u32 cr3; member 128 u64 cr3; member
|
| /linux-6.15/include/xen/interface/hvm/ |
| H A D | hvm_vcpu.h | 24 uint32_t cr3; member 87 uint64_t cr3; member
|
| /linux-6.15/drivers/media/platform/nxp/ |
| H A D | imx7-media-csi.c | 362 u32 cr3; in imx7_csi_dma_reflash() local 365 cr3 |= BIT_DMA_REFLASH_RFF; in imx7_csi_dma_reflash() 382 cr3 |= BIT_DMA_REQ_EN_RFF; in imx7_csi_dmareq_rff_enable() 383 cr3 |= BIT_HRESP_ERR_EN; in imx7_csi_dmareq_rff_enable() 384 cr3 &= ~BIT_RXFF_LEVEL_MASK; in imx7_csi_dmareq_rff_enable() 385 cr3 |= BIT_RXFF_LEVEL(2); in imx7_csi_dmareq_rff_enable() 394 cr3 &= ~BIT_DMA_REQ_EN_RFF; in imx7_csi_dmareq_rff_disable() 395 cr3 &= ~BIT_HRESP_ERR_EN; in imx7_csi_dmareq_rff_disable() 532 u32 cr3 = BIT_FRMCNT_RST; in imx7_csi_configure() local 581 cr3 |= BIT_TWO_8BIT_SENSOR; in imx7_csi_configure() [all …]
|
| /linux-6.15/arch/x86/kvm/svm/ |
| H A D | nested.c | 62 u64 cr3 = svm->nested.ctl.nested_cr3; in nested_svm_get_tdp_pdptr() local 71 (cr3 & GENMASK(11, 5)) + index * 8, 8); in nested_svm_get_tdp_pdptr() 401 to->cr3 = from->cr3; in __nested_copy_vmcb_save_to_cache() 514 if (CC(!kvm_vcpu_is_legal_cr3(vcpu, cr3))) in nested_svm_load_cr3() 518 CC(!load_pdptrs(vcpu, cr3))) in nested_svm_load_cr3() 521 vcpu->arch.cr3 = cr3; in nested_svm_load_cr3() 527 kvm_mmu_new_pgd(vcpu, cr3); in nested_svm_load_cr3() 802 vmcb12->save.cr3, in enter_svm_guest_mode() 906 vmcb01->save.cr3 = kvm_read_cr3(vcpu); in nested_svm_vmrun() 947 to_save->cr3 = from_save->cr3; in svm_copy_vmrun_state() [all …]
|
| /linux-6.15/arch/x86/kernel/acpi/ |
| H A D | wakeup_32.S | 27 movl %cr3, %eax 28 movl %eax, %cr3
|
| H A D | madt_playdead.S | 24 movq %rsi, %cr3
|
| /linux-6.15/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), 377 __entry->kernel ? "kernel" : "user", __entry->cr3)
|
| /linux-6.15/arch/x86/mm/ |
| H A D | tlb.c | 161 unsigned long cr3 = __sme_pa(pgd) | lam; in build_cr3() local 164 cr3 |= kern_pcid(asid); in build_cr3() 169 return cr3; in build_cr3() 994 unsigned long cr3 = __read_cr3(); in initialize_tlbstate_and_flush() local 997 WARN_ON((cr3 & CR3_ADDR_MASK) != __pa(mm->pgd)); in initialize_tlbstate_and_flush() 1000 WARN_ON(cr3 & (X86_CR3_LAM_U48 | X86_CR3_LAM_U57)); in initialize_tlbstate_and_flush() 1484 unsigned long cr3 = in __get_current_cr3_fast() local 1492 VM_BUG_ON(cr3 != __read_cr3()); in __get_current_cr3_fast() 1493 return cr3; in __get_current_cr3_fast()
|