Home
last modified time | relevance | path

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

/linux-6.1.9/arch/riscv/mm/ !
Dcontext.c193 csr_write(CSR_SATP, virt_to_pfn(mm->pgd) | in set_mm_asid()
214 csr_write(CSR_SATP, virt_to_pfn(mm->pgd) | satp_mode); in set_mm_noasid()
231 old = csr_read(CSR_SATP); in asids_init()
233 csr_write(CSR_SATP, asid_bits); in asids_init()
234 asid_bits = (csr_read(CSR_SATP) >> SATP_ASID_SHIFT) & SATP_ASID_MASK; in asids_init()
236 csr_write(CSR_SATP, old); in asids_init()
Dfault.c125 pfn = csr_read(CSR_SATP) & SATP_PPN; in vmalloc_fault()
Dinit.c783 csr_write(CSR_SATP, identity_satp); in set_satp_mode()
784 hw_satp = csr_swap(CSR_SATP, 0ULL); in set_satp_mode()
1137 csr_write(CSR_SATP, PFN_DOWN(__pa_symbol(swapper_pg_dir)) | satp_mode); in setup_vm_final()
/linux-6.1.9/arch/riscv/kernel/ !
Dsuspend.c28 context->satp = csr_read(CSR_SATP); in suspend_save_csrs()
39 csr_write(CSR_SATP, context->satp); in suspend_restore_csrs()
Dkexec_relocate.S78 csrw CSR_SATP, zero
214 csrw CSR_SATP, zero
Dhead.S105 csrw CSR_SATP, a0
124 csrw CSR_SATP, a2
/linux-6.1.9/drivers/firmware/efi/libstub/ !
Driscv-stub.c99 csr_write(CSR_SATP, 0); in efi_enter_kernel()
/linux-6.1.9/arch/riscv/include/asm/ !
Dcsr.h248 #define CSR_SATP 0x180 macro