Home
last modified time | relevance | path

Searched full:xtheadvector (Results 1 – 12 of 12) sorted by relevance

/linux/tools/testing/selftests/riscv/vector/
H A Dvstate_prctl.c14 int test_and_compare_child(long provided, long expected, int inherit, int xtheadvector) in test_and_compare_child() argument
24 rc = launch_test(NEXT_PROGRAM, inherit, xtheadvector); in test_and_compare_child()
95 int xtheadvector = 0; in TEST() local
99 xtheadvector = 1; in TEST()
107 EXPECT_EQ(0, test_and_compare_child(flag, PR_RISCV_V_VSTATE_CTRL_ON, 0, xtheadvector)); in TEST()
113 int xtheadvector = 0; in TEST() local
117 xtheadvector = 1; in TEST()
125 EXPECT_EQ(0, test_and_compare_child(flag, PR_RISCV_V_VSTATE_CTRL_OFF, 1, xtheadvector)); in TEST()
131 int xtheadvector = 0; in TEST() local
135 xtheadvector = 1; in TEST()
[all …]
H A Dv_initval.c10 int xtheadvector = 0; in TEST() local
14 xtheadvector = 1; in TEST()
19 ASSERT_EQ(0, launch_test(NEXT_PROGRAM, 0, xtheadvector)); in TEST()
H A Dvstate_exec_nolibc.c9 int rc, pid, status, test_inherit = 0, xtheadvector = 0; in main() local
17 xtheadvector = 1; in main()
59 if (xtheadvector) in main()
H A Dv_helpers.c29 int launch_test(char *next_program, int test_inherit, int xtheadvector) in launch_test() argument
43 exec_argv[2] = xtheadvector != 0 ? "x" : NULL; in launch_test()
H A Dv_helpers.h8 int launch_test(char *next_program, int test_inherit, int xtheadvector);
/linux/arch/riscv/boot/dts/sophgo/
H A Dsg2042-cpus.dtsi264 "xtheadvector";
291 "xtheadvector";
318 "xtheadvector";
345 "xtheadvector";
372 "xtheadvector";
399 "xtheadvector";
426 "xtheadvector";
453 "xtheadvector";
480 "xtheadvector";
507 "xtheadvector";
[all …]
/linux/arch/riscv/
H A DKconfig.vendor45 bool "xtheadvector extension support"
51 Say N here if you want to disable all xtheadvector related procedures
53 contains xtheadvector rather than the standard vector.
/linux/arch/riscv/kernel/vendor_extensions/
H A Dthead_hwprobe.c17 VENDOR_EXT_KEY(XTHEADVECTOR); in hwprobe_isa_vendor_ext_thead_0()
H A Dthead.c13 __RISCV_ISA_EXT_DATA(xtheadvector, RISCV_ISA_VENDOR_EXT_XTHEADVECTOR),
/linux/arch/riscv/kernel/
H A Dbugs.c51 return sprintf(buf, "Mitigation: xtheadvector disabled\n"); in cpu_show_ghostwrite()
H A Dcpufeature.c1027 * to disable xtheadvector if necessary. in riscv_fill_hwcap_from_ext_list()
/linux/arch/riscv/include/asm/
H A Dvector.h68 return riscv_isa_vendor_extension_available(THEAD_VENDOR_ID, XTHEADVECTOR); in has_xtheadvector_no_alternatives()