Searched refs:stval (Results 1 – 14 of 14) sorted by relevance
/openbmc/linux/arch/riscv/kvm/ |
H A D | vcpu_exit.c | 22 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 D | vcpu_insn.c | 159 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 D | vcpu.c | 743 trap.stval = csr_read(CSR_STVAL); in kvm_arch_vcpu_ioctl_run()
|
/openbmc/linux/arch/riscv/include/uapi/asm/ |
H A D | kvm.h | 79 unsigned long stval; member
|
/openbmc/qemu/linux-headers/asm-riscv/ |
H A D | kvm.h | 78 unsigned long stval; member
|
/openbmc/qemu/target/riscv/ |
H A D | cpu_helper.c | 649 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 D | machine.c | 424 VMSTATE_UINTTL(env.stval, RISCVCPU),
|
H A D | cpu.h | 296 target_ulong stval; member
|
H A D | csr.c | 3250 *val = env->stval; in read_stval() 3257 env->stval = val; in write_stval()
|
/openbmc/linux/tools/testing/selftests/kvm/riscv/ |
H A D | get-reg-list.c | 204 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 D | kvm_host.h | 109 unsigned long stval; member
|
/openbmc/qemu/target/riscv/kvm/ |
H A D | kvm-cpu.c | 618 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 D | asm-offsets.c | 201 OFFSET(KVM_ARCH_TRAP_STVAL, kvm_cpu_trap, stval); in asm_offsets()
|
/openbmc/linux/Documentation/virt/kvm/ |
H A D | api.rst | 2790 0x80x0 0000 0300 0006 stval Supervisor bad address or instruction
|