Searched full:satp (Results 1 – 13 of 13) sorted by relevance
| /linux/arch/riscv/kernel/ |
| H A D | hibernate-asm.S | 41 * a0: satp of saved page tables. 42 * a1: satp of temporary page tables. 63 csrw satp, s1
|
| H A D | suspend.c | 40 context->satp = csr_read(CSR_SATP); in suspend_save_csrs() 61 csr_write(CSR_SATP, context->satp); in suspend_restore_csrs()
|
| H A D | vmcore_info.c | 30 vmcoreinfo_append_str("NUMBER(satp)=0x%llx\n", get_satp_value()); in arch_crash_save_vmcoreinfo()
|
| H A D | head.S | 82 /* 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 D | kexec_relocate.S | 37 * When we switch SATP.MODE to "Bare" we'll only
|
| /linux/tools/testing/selftests/kvm/lib/riscv/ |
| H A D | processor.c | 195 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 D | fdt_early.c | 189 * 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 D | suspend.h | 20 unsigned long satp; member
|
| /linux/Documentation/translations/zh_CN/arch/riscv/ |
| H A D | boot.rst | 39 * ``$satp = 0``: 如果存在MMU,必须将其禁用。
|
| /linux/Documentation/arch/riscv/ |
| H A D | boot.rst | 34 * ``$satp = 0``: the MMU, if present, must be disabled.
|
| /linux/tools/testing/selftests/kvm/riscv/ |
| H A D | get-reg-list.c | 386 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 D | init.c | 827 * 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 D | extensions.yaml | 147 virtual memory scheme SvNN supported in satp, the corresponding 162 modes supported in satp, as ratified in RISC-V Profiles Version 1.0,
|