Home
last modified time | relevance | path

Searched full:satp (Results 1 – 13 of 13) sorted by relevance

/linux/arch/riscv/kernel/
H A Dhibernate-asm.S41 * a0: satp of saved page tables.
42 * a1: satp of temporary page tables.
63 csrw satp, s1
H A Dsuspend.c40 context->satp = csr_read(CSR_SATP); in suspend_save_csrs()
61 csr_write(CSR_SATP, context->satp); in suspend_restore_csrs()
H A Dvmcore_info.c30 vmcoreinfo_append_str("NUMBER(satp)=0x%llx\n", get_satp_value()); in arch_crash_save_vmcoreinfo()
H A Dhead.S82 /* Point stvec to virtual address of instruction after satp write */
87 /* Compute satp for kernel page tables, but don't load it yet */
H A Dkexec_relocate.S37 * When we switch SATP.MODE to "Bare" we'll only
/linux/tools/testing/selftests/kvm/lib/riscv/
H A Dprocessor.c195 unsigned long satp; in riscv_vcpu_mmu_setup() local
226 TEST_FAIL("Unable to set satp mode 0x%lx, max mode 0x%lx\n", in riscv_vcpu_mmu_setup()
229 satp = (vm->mmu.pgd >> PGTBL_PAGE_SIZE_SHIFT) & SATP_PPN; in riscv_vcpu_mmu_setup()
230 satp |= satp_mode; in riscv_vcpu_mmu_setup()
232 vcpu_set_reg(vcpu, RISCV_GENERAL_CSR_REG(satp), satp); in riscv_vcpu_mmu_setup()
/linux/arch/riscv/kernel/pi/
H A Dfdt_early.c189 * set_satp_mode_from_fdt - determine SATP mode based on the MMU type in fdt
193 * Returns the SATP mode corresponding to the MMU type of the first enabled CPU,
/linux/arch/riscv/include/asm/
H A Dsuspend.h20 unsigned long satp; member
/linux/Documentation/translations/zh_CN/arch/riscv/
H A Dboot.rst39 * ``$satp = 0``: 如果存在MMU,必须将其禁用。
/linux/Documentation/arch/riscv/
H A Dboot.rst34 * ``$satp = 0``: the MMU, if present, must be disabled.
/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c386 case KVM_REG_RISCV_CSR_REG(satp): in smstateen_csr_id_to_str()
387 return RISCV_CSR_GENERAL(satp); in smstateen_csr_id_to_str()
928 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CSR | KVM_REG_RISCV_CSR_GENERAL | KVM_REG_RISCV_CSR_REG(satp),
/linux/arch/riscv/mm/
H A Dinit.c827 * then read SATP to see if the configuration was taken into account
829 * The maximum SATP mode is limited by both the command line and the "mmu-type"
831 * SATP mode is attempted.
/linux/Documentation/devicetree/bindings/riscv/
H A Dextensions.yaml147 virtual memory scheme SvNN supported in satp, the corresponding
162 modes supported in satp, as ratified in RISC-V Profiles Version 1.0,