Searched refs:CSR_SATP (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/arch/riscv/mm/ |
D | context.c | 192 csr_write(CSR_SATP, virt_to_pfn(mm->pgd) | in set_mm_asid() 203 csr_write(CSR_SATP, virt_to_pfn(mm->pgd) | satp_mode); in set_mm_noasid() 232 old = csr_read(CSR_SATP); in asids_init() 234 csr_write(CSR_SATP, asid_bits); in asids_init() 235 asid_bits = (csr_read(CSR_SATP) >> SATP_ASID_SHIFT) & SATP_ASID_MASK; in asids_init() 237 csr_write(CSR_SATP, old); in asids_init()
|
D | kasan_init.c | 489 csr_write(CSR_SATP, PFN_DOWN(__pa(tmp_pg_dir)) | satp_mode); in kasan_init() 534 csr_write(CSR_SATP, PFN_DOWN(__pa(swapper_pg_dir)) | satp_mode); in kasan_init()
|
D | fault.c | 136 pfn = csr_read(CSR_SATP) & SATP_PPN; in vmalloc_fault()
|
D | init.c | 842 csr_write(CSR_SATP, identity_satp); in set_satp_mode() 843 hw_satp = csr_swap(CSR_SATP, 0ULL); in set_satp_mode() 1352 csr_write(CSR_SATP, PFN_DOWN(__pa_symbol(swapper_pg_dir)) | satp_mode); in setup_vm_final()
|
/linux-6.12.1/arch/riscv/kernel/ |
D | suspend.c | 33 context->satp = csr_read(CSR_SATP); in suspend_save_csrs() 46 csr_write(CSR_SATP, context->satp); in suspend_restore_csrs()
|
D | kexec_relocate.S | 73 csrw CSR_SATP, zero 208 csrw CSR_SATP, zero
|
D | hibernate-asm.S | 26 csrw CSR_SATP, s0
|
D | head.S | 106 csrw CSR_SATP, a0 122 csrw CSR_SATP, a2
|
D | hibernate.c | 102 hdr->saved_satp = csr_read(CSR_SATP); in arch_hibernation_header_save()
|
/linux-6.12.1/drivers/firmware/efi/libstub/ |
D | riscv.c | 96 csr_write(CSR_SATP, 0); in efi_enter_kernel()
|
/linux-6.12.1/tools/arch/riscv/include/asm/ |
D | csr.h | 296 #define CSR_SATP 0x180 macro
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | csr.h | 298 #define CSR_SATP 0x180 macro
|