Home
last modified time | relevance | path

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

/linux/arch/riscv/kernel/
H A Dsuspend.c33 context->satp = csr_read(CSR_SATP); in suspend_save_csrs()
46 csr_write(CSR_SATP, context->satp); in suspend_restore_csrs()
H A Dhibernate-asm.S63 csrw satp, s1
/linux/tools/testing/selftests/kvm/lib/riscv/
H A Dprocessor.c199 unsigned long satp; in riscv_vcpu_mmu_setup() local
214 satp = (vm->pgd >> PGTBL_PAGE_SIZE_SHIFT) & SATP_PPN; in riscv_vcpu_mmu_setup()
215 satp |= SATP_MODE_48; in riscv_vcpu_mmu_setup()
217 vcpu_set_reg(vcpu, RISCV_GENERAL_CSR_REG(satp), satp); in riscv_vcpu_mmu_setup()
/linux/arch/riscv/include/asm/
H A Dsuspend.h20 unsigned long satp;
21 unsigned long satp; global() member
/linux/Documentation/translations/zh_CN/arch/riscv/
H A Dboot.rst39 * ``$satp = 0``: 如果存在MMU,必须将其禁用。
/linux/arch/riscv/include/uapi/asm/
H A Dkvm.h80 unsigned long satp; member
/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c279 case KVM_REG_RISCV_CSR_REG(satp): in general_csr_id_to_str()
280 return RISCV_CSR_GENERAL(satp); in general_csr_id_to_str()
723 …| KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CSR | KVM_REG_RISCV_CSR_GENERAL | KVM_REG_RISCV_CSR_REG(satp),
/linux/Documentation/arch/riscv/
H A Dboot.rst34 * ``$satp = 0``: the MMU, if present, must be disabled.
/linux/Documentation/virt/kvm/
H A Dapi.rst2847 0x80x0 0000 0300 0008 satp Supervisor address translation and protection