Searched +full:riscv +full:- +full:zacas (Results 1 – 4 of 4) sorted by relevance
| /linux/Documentation/arch/riscv/ |
| H A D | hwprobe.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 RISC-V Hardware Probing Interface 4 --------------------------------- 6 The RISC-V hardware probing interface is based around a single syscall, which 18 The arguments are split into three groups: an array of key-value pairs, a CPU 19 set, and some flags. The key-value pairs are supplied with a count. Userspace 22 will be cleared to -1, and its value set to 0. The CPU set is defined by 23 CPU_SET(3) with size ``cpusetsize`` bytes. For value-like keys (eg. vendor, 25 have the same value. Otherwise -1 will be returned. For boolean-like keys, the 33 by sys_riscv_hwprobe() to only those which match each of the key-value pairs. [all …]
|
| /linux/arch/riscv/kernel/ |
| H A D | cpufeature.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 #include <asm/text-patching.h> 32 #define NUM_ALPHA_EXTS ('z' - 'a' + 1) 43 /* Per-cpu ISA extensions. */ 49 * riscv_isa_extension_base() - Get base extension word 63 * __riscv_isa_extension_available() - Check whether given extension 89 return -EPROBE_DEFER; in riscv_ext_f_depends() 96 pr_err("Zicbom detected in ISA string, disabling as no cbom-block-size found\n"); in riscv_ext_zicbom_validate() 97 return -EINVAL; in riscv_ext_zicbom_validate() 100 pr_err("Zicbom disabled as cbom-block-size present, but is not a power-of-2\n"); in riscv_ext_zicbom_validate() [all …]
|
| H A D | sys_hwprobe.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * are supported by the hardware. See Documentation/arch/riscv/hwprobe.rst for 30 u64 id = -1ULL; in hwprobe_arch_id() 34 if (pair->key != RISCV_HWPROBE_KEY_MVENDORID && in hwprobe_arch_id() 35 pair->key != RISCV_HWPROBE_KEY_MIMPID && in hwprobe_arch_id() 36 pair->key != RISCV_HWPROBE_KEY_MARCHID) in hwprobe_arch_id() 42 switch (pair->key) { in hwprobe_arch_id() 60 * If there's a mismatch for the given set, return -1 in the in hwprobe_arch_id() 64 id = -1ULL; in hwprobe_arch_id() 70 pair->value = id; in hwprobe_arch_id() [all …]
|
| /linux/arch/riscv/net/ |
| H A D | bpf_jit_comp64.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <asm/text-patching.h> 81 __set_bit(reg, &ctx->flags); in bpf_to_rv_reg() 96 return test_bit(reg, &ctx->flags); in seen_reg() 103 __set_bit(RV_CTX_F_SEEN_S5, &ctx->flags); in mark_fp() 108 __set_bit(RV_CTX_F_SEEN_CALL, &ctx->flags); in mark_call() 113 return test_bit(RV_CTX_F_SEEN_CALL, &ctx->flags); in seen_call() 118 __set_bit(RV_CTX_F_SEEN_TAIL_CALL, &ctx->flags); in mark_tail_call() 123 return test_bit(RV_CTX_F_SEEN_TAIL_CALL, &ctx->flags); in seen_tail_call() 131 __set_bit(RV_CTX_F_SEEN_S6, &ctx->flags); in rv_tail_call_reg() [all …]
|