Home
last modified time | relevance | path

Searched refs:stval (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_exit.c22 fault_addr = (trap->htval << 2) | (trap->stval & 0x3); in gstage_page_fault()
158 csr_write(CSR_VSTVAL, trap->stval); in kvm_riscv_vcpu_trap_redirect()
219 trap->scause, trap->stval, trap->htval, trap->htinst); in kvm_riscv_vcpu_exit()
H A Dvcpu_insn.c159 utrap.stval = insn; in truly_illegal_insn()
175 utrap.stval = insn; in truly_virtual_insn()
413 unsigned long insn = trap->stval; in kvm_riscv_vcpu_virtual_insn()
H A Dvcpu.c743 trap.stval = csr_read(CSR_STVAL); in kvm_arch_vcpu_ioctl_run()
/openbmc/linux/arch/riscv/include/uapi/asm/
H A Dkvm.h79 unsigned long stval; member
/openbmc/qemu/linux-headers/asm-riscv/
H A Dkvm.h78 unsigned long stval; member
/openbmc/qemu/target/riscv/
H A Dcpu_helper.c649 env->vstval = env->stval; in riscv_cpu_swap_hypervisor_regs()
650 env->stval = env->stval_hs; in riscv_cpu_swap_hypervisor_regs()
672 env->stval_hs = env->stval; in riscv_cpu_swap_hypervisor_regs()
673 env->stval = env->vstval; in riscv_cpu_swap_hypervisor_regs()
1957 env->stval = tval; in riscv_cpu_do_interrupt()
H A Dmachine.c424 VMSTATE_UINTTL(env.stval, RISCVCPU),
H A Dcpu.h296 target_ulong stval; member
H A Dcsr.c3250 *val = env->stval; in read_stval()
3257 env->stval = val; in write_stval()
/openbmc/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c204 case KVM_REG_RISCV_CSR_REG(stval): in general_csr_id_to_str()
205 return RISCV_CSR_GENERAL(stval); in general_csr_id_to_str()
531 … KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CSR | KVM_REG_RISCV_CSR_GENERAL | KVM_REG_RISCV_CSR_REG(stval),
/openbmc/linux/arch/riscv/include/asm/
H A Dkvm_host.h109 unsigned long stval; member
/openbmc/qemu/target/riscv/kvm/
H A Dkvm-cpu.c618 KVM_RISCV_GET_CSR(cs, env, stval, env->stval); in kvm_riscv_get_regs_csr()
635 KVM_RISCV_SET_CSR(cs, env, stval, env->stval); in kvm_riscv_put_regs_csr()
1626 env->stval = 0; in kvm_riscv_reset_vcpu()
/openbmc/linux/arch/riscv/kernel/
H A Dasm-offsets.c201 OFFSET(KVM_ARCH_TRAP_STVAL, kvm_cpu_trap, stval); in asm_offsets()
/openbmc/linux/Documentation/virt/kvm/
H A Dapi.rst2790 0x80x0 0000 0300 0006 stval Supervisor bad address or instruction