Lines Matching +full:hart +full:- +full:2
1 // SPDX-License-Identifier: GPL-2.0-only
5 * Run with 'taskset -c <cpu-list> cbo' to only execute hwprobe on a
22 #define MK_CBO(fn) le32_bswap((uint32_t)(fn) << 20 | 10 << 15 | 2 << 12 | 0 << 7 | 15)
30 unsigned long *regs = (unsigned long *)&((ucontext_t *)context)->uc_mcontext; in sigill_handler()
44 ".4byte %2\n" \
50 static void cbo_flush(char *base) { cbo_insn(base, 2); } in cbo_flush()
85 return n != 0 && (n & (n - 1)) == 0; in is_power_of_2()
140 if (i % 2) in test_zicboz()
145 char expected = i % 2 ? 0x0 : 0xa5; in test_zicboz()
185 "presence (present or not) is consistent for each hart\n", in check_no_zicbo_cpus()
207 [TEST_NO_ZICBOM] = { .nr_tests = 2, test_no_zicbom },
223 if (argc > 1 && !strcmp(argv[1], "--sigill")) { in main()