Home
last modified time | relevance | path

Searched full:satp (Results 1 – 11 of 11) 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 Dkexec_relocate.S37 * When we switch SATP.MODE to "Bare" we'll only
/linux/tools/testing/selftests/kvm/lib/riscv/
H A Dprocessor.c196 unsigned long satp; in riscv_vcpu_mmu_setup()
227 TEST_FAIL("Unable to set satp mode 0x%lx, max mode 0x%lx\n", in vcpu_arch_dump()
230 satp = (vm->mmu.pgd >> PGTBL_PAGE_SIZE_SHIFT) & SATP_PPN; in vcpu_arch_dump()
231 satp |= satp_mode; in vcpu_arch_dump()
233 vcpu_set_reg(vcpu, RISCV_GENERAL_CSR_REG(satp), satp); in vcpu_arch_dump()
199 unsigned long satp; riscv_vcpu_mmu_setup() local
/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.c349 case KVM_REG_RISCV_CSR_REG(satp): in general_csr_id_to_str()
350 return RISCV_CSR_GENERAL(satp); in general_csr_id_to_str()
866 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CSR | KVM_REG_RISCV_CSR_GENERAL | KVM_REG_RISCV_CSR_REG(satp),
/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,
/linux/Documentation/virt/kvm/
H A Dapi.rst2850 0x80x0 0000 0300 0008 satp Supervisor address translation and protection