Home
last modified time | relevance | path

Searched +full:riscv +full:- +full:zicond (Results 1 – 4 of 4) sorted by relevance

/linux/arch/riscv/boot/dts/sophgo/
H A Dsg2044-cpus.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
7 #address-cells = <2>;
8 #size-cells = <2>;
11 #address-cells = <1>;
12 #size-cells = <0>;
13 timebase-frequency = <50000000>;
16 compatible = "thead,c920", "riscv";
18 i-cache-block-size = <64>;
19 i-cache-size = <65536>;
20 i-cache-sets = <512>;
[all …]
/linux/arch/riscv/boot/dts/spacemit/
H A Dk1.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
6 #include <dt-bindings/clock/spacemit,k1-syscon.h>
8 /dts-v1/;
10 #address-cells = <2>;
11 #size-cells = <2>;
16 #address-cells = <1>;
17 #size-cells = <0>;
18 timebase-frequency = <24000000>;
20 cpu-map {
53 compatible = "spacemit,x60", "riscv";
[all …]
/linux/arch/riscv/kernel/
H A Dcpufeature.c1 // 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 Dsys_hwprobe.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * are supported by the hardware. See Documentation/arch/riscv/hwprobe.rst for
26 u64 id = -1ULL; in hwprobe_arch_id()
33 switch (pair->key) { in hwprobe_arch_id()
51 * If there's a mismatch for the given set, return -1 in the in hwprobe_arch_id()
55 id = -1ULL; in hwprobe_arch_id()
60 pair->value = id; in hwprobe_arch_id()
69 pair->value = 0; in hwprobe_isa_ext0()
71 pair->value |= RISCV_HWPROBE_IMA_FD; in hwprobe_isa_ext0()
74 pair->value |= RISCV_HWPROBE_IMA_C; in hwprobe_isa_ext0()
[all …]