Searched refs:CSR_SATP (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/arch/riscv/mm/ ! |
D | context.c | 193 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()
|
D | fault.c | 125 pfn = csr_read(CSR_SATP) & SATP_PPN; in vmalloc_fault()
|
D | init.c | 783 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/ ! |
D | suspend.c | 28 context->satp = csr_read(CSR_SATP); in suspend_save_csrs() 39 csr_write(CSR_SATP, context->satp); in suspend_restore_csrs()
|
D | kexec_relocate.S | 78 csrw CSR_SATP, zero 214 csrw CSR_SATP, zero
|
D | head.S | 105 csrw CSR_SATP, a0 124 csrw CSR_SATP, a2
|
/linux-6.1.9/drivers/firmware/efi/libstub/ ! |
D | riscv-stub.c | 99 csr_write(CSR_SATP, 0); in efi_enter_kernel()
|
/linux-6.1.9/arch/riscv/include/asm/ ! |
D | csr.h | 248 #define CSR_SATP 0x180 macro
|