Home
last modified time | relevance | path

Searched refs:satp_mode (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/arch/riscv/mm/
Dcontext.c195 satp_mode); in set_mm_asid()
204 csr_write(CSR_SATP, virt_to_pfn(mm->pgd) | satp_mode); in set_mm_noasid()
Dinit.c46 u64 satp_mode __ro_after_init = !IS_ENABLED(CONFIG_XIP_KERNEL) ? SATP_MODE_57 : SATP_MODE_39;
48 u64 satp_mode __ro_after_init = SATP_MODE_32;
50 EXPORT_SYMBOL(satp_mode);
741 satp_mode = SATP_MODE_48; in disable_pgtable_l5()
748 satp_mode = SATP_MODE_39; in disable_pgtable_l4()
806 identity_satp = PFN_DOWN((uintptr_t)&early_pg_dir) | satp_mode; in set_satp_mode()
1319 csr_write(CSR_SATP, PFN_DOWN(__pa_symbol(swapper_pg_dir)) | satp_mode); in setup_vm_final()
Dkasan_init.c478 csr_write(CSR_SATP, PFN_DOWN(__pa(tmp_pg_dir)) | satp_mode); in kasan_init()
523 csr_write(CSR_SATP, PFN_DOWN(__pa(swapper_pg_dir)) | satp_mode); in kasan_init()
/Linux-v6.6/arch/riscv/kvm/
Dvcpu_onereg.c155 case KVM_REG_RISCV_CONFIG_REG(satp_mode): in kvm_riscv_vcpu_get_reg_config()
156 reg_val = satp_mode >> SATP_MODE_SHIFT; in kvm_riscv_vcpu_get_reg_config()
261 case KVM_REG_RISCV_CONFIG_REG(satp_mode): in kvm_riscv_vcpu_set_reg_config()
262 if (reg_val != (satp_mode >> SATP_MODE_SHIFT)) in kvm_riscv_vcpu_set_reg_config()
/Linux-v6.6/arch/riscv/include/uapi/asm/
Dkvm.h58 unsigned long satp_mode; member
/Linux-v6.6/arch/riscv/kernel/
Dhibernate.c398 hibernate_restore_image(resume_hdr.saved_satp, (PFN_DOWN(__pa(resume_pg_dir)) | satp_mode), in swsusp_arch_resume()
Dhead.S90 la a1, satp_mode
/Linux-v6.6/tools/testing/selftests/kvm/riscv/
Dget-reg-list.c133 case KVM_REG_RISCV_CONFIG_REG(satp_mode): in config_id_to_str()
491 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CONFIG | KVM_REG_RISCV_CONFIG_REG(satp_mode),
/Linux-v6.6/arch/riscv/include/asm/
Dpgtable.h916 extern u64 satp_mode;