Home
last modified time | relevance | path

Searched refs:CSR_SATP (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/arch/riscv/mm/
Dcontext.c192 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()
Dkasan_init.c489 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()
Dfault.c136 pfn = csr_read(CSR_SATP) & SATP_PPN; in vmalloc_fault()
Dinit.c842 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/
Dsuspend.c33 context->satp = csr_read(CSR_SATP); in suspend_save_csrs()
46 csr_write(CSR_SATP, context->satp); in suspend_restore_csrs()
Dkexec_relocate.S73 csrw CSR_SATP, zero
208 csrw CSR_SATP, zero
Dhibernate-asm.S26 csrw CSR_SATP, s0
Dhead.S106 csrw CSR_SATP, a0
122 csrw CSR_SATP, a2
Dhibernate.c102 hdr->saved_satp = csr_read(CSR_SATP); in arch_hibernation_header_save()
/linux-6.12.1/drivers/firmware/efi/libstub/
Driscv.c96 csr_write(CSR_SATP, 0); in efi_enter_kernel()
/linux-6.12.1/tools/arch/riscv/include/asm/
Dcsr.h296 #define CSR_SATP 0x180 macro
/linux-6.12.1/arch/riscv/include/asm/
Dcsr.h298 #define CSR_SATP 0x180 macro