Home
last modified time | relevance | path

Searched full:stvec (Results 1 – 5 of 5) sorted by relevance

/linux/arch/riscv/kernel/
H A Dhead.S82 /* Point stvec to virtual address of instruction after satp write */
95 * stvec if VA != PA, or simply fall through if VA == PA. We need a
H A Dkexec_relocate.S41 * deal with this we set stvec to the physical address at
/linux/tools/testing/selftests/kvm/lib/riscv/
H A Dprocessor.c352 vcpu_set_reg(vcpu, RISCV_GENERAL_CSR_REG(stvec), (unsigned long)guest_unexp_trap); in vm_arch_vcpu_add()
446 vcpu_set_reg(vcpu, RISCV_GENERAL_CSR_REG(stvec), (unsigned long)&exception_vectors); in vcpu_init_vector_tables()
/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c337 case KVM_REG_RISCV_CSR_REG(stvec): in general_csr_id_to_str()
338 return RISCV_CSR_GENERAL(stvec); in general_csr_id_to_str()
860 … KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CSR | KVM_REG_RISCV_CSR_GENERAL | KVM_REG_RISCV_CSR_REG(stvec),
/linux/Documentation/virt/kvm/
H A Dapi.rst2846 0x80x0 0000 0300 0002 stvec Supervisor trap vector base