Home
last modified time | relevance | path

Searched refs:PR_RISCV_V_VSTATE_CTRL_ON (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/tools/testing/selftests/riscv/vector/
H A Dvstate_prctl.c106 rc = prctl(PR_RISCV_V_SET_CONTROL, PR_RISCV_V_VSTATE_CTRL_ON); in main()
116 flag = PR_RISCV_V_VSTATE_CTRL_ON; in main()
132 flag = PR_RISCV_V_VSTATE_CTRL_ON << PR_RISCV_V_VSTATE_CTRL_NEXT_SHIFT; in main()
133 if (test_and_compare_child(flag, PR_RISCV_V_VSTATE_CTRL_ON, 0)) in main()
142 flag = PR_RISCV_V_VSTATE_CTRL_ON << PR_RISCV_V_VSTATE_CTRL_NEXT_SHIFT; in main()
144 expected = flag | PR_RISCV_V_VSTATE_CTRL_ON; in main()
/openbmc/linux/arch/riscv/kernel/
H A Dvector.c130 return riscv_v_ctrl_get_cur(current) == PR_RISCV_V_VSTATE_CTRL_ON; in riscv_v_vstate_ctrl_user_allowed()
185 cur = PR_RISCV_V_VSTATE_CTRL_ON; in riscv_v_vstate_ctrl_init()
226 case PR_RISCV_V_VSTATE_CTRL_ON: in riscv_v_vstate_ctrl_set_current()
240 case PR_RISCV_V_VSTATE_CTRL_ON: in riscv_v_vstate_ctrl_set_current()
/openbmc/linux/tools/include/uapi/linux/
H A Dprctl.h303 # define PR_RISCV_V_VSTATE_CTRL_ON 2 macro
/openbmc/linux/include/uapi/linux/
H A Dprctl.h303 # define PR_RISCV_V_VSTATE_CTRL_ON 2 macro
/openbmc/linux/Documentation/riscv/
H A Dvector.rst37 * :c:macro:`PR_RISCV_V_VSTATE_CTRL_ON`: Allow Vector to be run for the
/openbmc/qemu/target/riscv/kvm/
H A Dkvm-cpu.c52 #define PR_RISCV_V_VSTATE_CTRL_ON 2 macro
1860 ret = prctl(PR_RISCV_V_SET_CONTROL, PR_RISCV_V_VSTATE_CTRL_ON); in kvm_cpu_realize()