Home
last modified time | relevance | path

Searched refs:riscv_sbi (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/arch/riscv/kvm/
Dvcpu_sbi.c86 run->riscv_sbi.extension_id = cp->a7; in kvm_riscv_vcpu_sbi_forward()
87 run->riscv_sbi.function_id = cp->a6; in kvm_riscv_vcpu_sbi_forward()
88 run->riscv_sbi.args[0] = cp->a0; in kvm_riscv_vcpu_sbi_forward()
89 run->riscv_sbi.args[1] = cp->a1; in kvm_riscv_vcpu_sbi_forward()
90 run->riscv_sbi.args[2] = cp->a2; in kvm_riscv_vcpu_sbi_forward()
91 run->riscv_sbi.args[3] = cp->a3; in kvm_riscv_vcpu_sbi_forward()
92 run->riscv_sbi.args[4] = cp->a4; in kvm_riscv_vcpu_sbi_forward()
93 run->riscv_sbi.args[5] = cp->a5; in kvm_riscv_vcpu_sbi_forward()
94 run->riscv_sbi.ret[0] = cp->a0; in kvm_riscv_vcpu_sbi_forward()
95 run->riscv_sbi.ret[1] = cp->a1; in kvm_riscv_vcpu_sbi_forward()
[all …]
/linux-6.6.21/tools/testing/selftests/kvm/lib/riscv/
Ducall.c44 run->riscv_sbi.extension_id == KVM_RISCV_SELFTESTS_SBI_EXT) { in ucall_arch_get_ucall()
45 switch (run->riscv_sbi.function_id) { in ucall_arch_get_ucall()
47 return (void *)run->riscv_sbi.args[0]; in ucall_arch_get_ucall()
/linux-6.6.21/tools/include/uapi/linux/
Dkvm.h500 } riscv_sbi; member
/linux-6.6.21/include/uapi/linux/
Dkvm.h500 } riscv_sbi; member
/linux-6.6.21/Documentation/virt/kvm/
Dapi.rst6693 } riscv_sbi;
6697 of the SBI call are available in 'riscv_sbi' member of kvm_run structure. The
6698 'extension_id' field of 'riscv_sbi' represents SBI extension ID whereas the
6700 array field of 'riscv_sbi' represents parameters for the SBI call and 'ret'