| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/riscv/ |
| D | cpus.yaml | 4 $id: http://devicetree.org/schemas/riscv/cpus.yaml# 50 - const: riscv 56 - const: riscv 57 - const: riscv # Simulator only 67 https://riscv.org/specifications/ 70 - riscv,sv32 71 - riscv,sv39 72 - riscv,sv48 73 - riscv,sv57 74 - riscv,none [all …]
|
| D | extensions.yaml | 4 $id: http://devicetree.org/schemas/riscv/extensions.yaml# 31 const: riscv 34 riscv,isa: 39 https://riscv.org/specifications/ 43 Notably, riscv,isa was defined prior to the creation of the 48 insensitive, letters in the riscv,isa string must be all 54 riscv,isa-base: 62 riscv,isa-extensions: 116 encoding") of the riscv-v-spec. 129 request #42 from riscv/jhauser-2023-RC4") of riscv-aia. [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
| D | riscv.c | 11 #include "riscv.h" 32 static void riscv_writel(struct tegra_drm_riscv *riscv, u32 value, u32 offset) in riscv_writel() argument 34 writel(value, riscv->regs + offset); in riscv_writel() 37 int tegra_drm_riscv_read_descriptors(struct tegra_drm_riscv *riscv) in tegra_drm_riscv_read_descriptors() argument 39 struct tegra_drm_riscv_descriptor *bl = &riscv->bl_desc; in tegra_drm_riscv_read_descriptors() 40 struct tegra_drm_riscv_descriptor *os = &riscv->os_desc; in tegra_drm_riscv_read_descriptors() 41 const struct device_node *np = riscv->dev->of_node; in tegra_drm_riscv_read_descriptors() 47 dev_err(riscv->dev, "failed to read " name ": %d\n", err); \ in tegra_drm_riscv_read_descriptors() 62 dev_err(riscv->dev, "descriptors not available\n"); in tegra_drm_riscv_read_descriptors() 69 int tegra_drm_riscv_boot_bootrom(struct tegra_drm_riscv *riscv, phys_addr_t image_address, in tegra_drm_riscv_boot_bootrom() argument [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/riscv/ |
| D | cpus.yaml | 4 $id: http://devicetree.org/schemas/riscv/cpus.yaml# 36 - const: riscv 37 - const: riscv # Simulator only 47 https://riscv.org/specifications/ 50 - riscv,sv32 51 - riscv,sv39 52 - riscv,sv48 54 riscv,isa: 59 https://riscv.org/specifications/ 62 insensitive, letters in the riscv,isa string must be all [all …]
|
| /kernel/linux/linux-6.6/arch/riscv/ |
| D | Makefile | 58 riscv-march-$(CONFIG_ARCH_RV32I) := rv32ima 59 riscv-march-$(CONFIG_ARCH_RV64I) := rv64ima 60 riscv-march-$(CONFIG_FPU) := $(riscv-march-y)fd 61 riscv-march-$(CONFIG_RISCV_ISA_C) := $(riscv-march-y)c 62 riscv-march-$(CONFIG_RISCV_ISA_V) := $(riscv-march-y)v 68 riscv-march-$(CONFIG_TOOLCHAIN_NEEDS_EXPLICIT_ZICSR_ZIFENCEI) := $(riscv-march-y)_zicsr_zifencei 72 riscv-march-$(CONFIG_TOOLCHAIN_HAS_ZIHINTPAUSE) := $(riscv-march-y)_zihintpause 76 KBUILD_CFLAGS += -march=$(shell echo $(riscv-march-y) | sed -E 's/(rv32ima|rv64ima)fd([^v_]*)v?/\1\… 78 KBUILD_AFLAGS += -march=$(riscv-march-y) 95 KBUILD_CFLAGS += $(call cc-option,-mno-riscv-attribute) [all …]
|
| /kernel/linux/linux-5.10/arch/riscv/ |
| D | Makefile | 51 riscv-march-$(CONFIG_ARCH_RV32I) := rv32ima 52 riscv-march-$(CONFIG_ARCH_RV64I) := rv64ima 53 riscv-march-$(CONFIG_FPU) := $(riscv-march-y)fd 54 riscv-march-$(CONFIG_RISCV_ISA_C) := $(riscv-march-y)c 60 riscv-march-$(CONFIG_TOOLCHAIN_NEEDS_EXPLICIT_ZICSR_ZIFENCEI) := $(riscv-march-y)_zicsr_zifencei 63 KBUILD_CFLAGS += -march=$(subst fd,,$(riscv-march-y)) 64 KBUILD_AFLAGS += -march=$(riscv-march-y) 95 boot := arch/riscv/boot 98 head-y := arch/riscv/kernel/head.o 100 core-y += arch/riscv/ [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/perf/ |
| D | riscv,pmu.yaml | 4 $id: http://devicetree.org/schemas/perf/riscv,pmu.yaml# 31 https://github.com/riscv-non-isa/riscv-sbi-doc/blob/master/riscv-sbi.adoc 35 const: riscv,pmu 37 riscv,event-to-mhpmevent: 54 riscv,event-to-mhpmcounters: 68 riscv,raw-event-to-mhpmcounters: 93 "riscv,event-to-mhpmevent": [ "riscv,event-to-mhpmcounters" ] 103 compatible = "riscv,pmu"; 104 riscv,event-to-mhpmevent = <0x0000B 0x0000 0x0001>; 105 riscv,event-to-mhpmcounters = <0x00001 0x00001 0x00000001>, [all …]
|
| /kernel/linux/linux-5.10/arch/riscv/boot/dts/sifive/ |
| D | fu540-c000.dtsi | 26 compatible = "sifive,e51", "sifive,rocket0", "riscv"; 32 riscv,isa = "rv64imac"; 36 compatible = "riscv,cpu-intc"; 41 compatible = "sifive,u54-mc", "sifive,rocket0", "riscv"; 53 mmu-type = "riscv,sv39"; 55 riscv,isa = "rv64imafdc"; 60 compatible = "riscv,cpu-intc"; 65 compatible = "sifive,u54-mc", "sifive,rocket0", "riscv"; 77 mmu-type = "riscv,sv39"; 79 riscv,isa = "rv64imafdc"; [all …]
|
| /kernel/linux/linux-6.6/arch/riscv/boot/dts/sifive/ |
| D | fu540-c000.dtsi | 26 compatible = "sifive,e51", "sifive,rocket0", "riscv"; 32 riscv,isa = "rv64imac"; 36 compatible = "riscv,cpu-intc"; 41 compatible = "sifive,u54-mc", "sifive,rocket0", "riscv"; 53 mmu-type = "riscv,sv39"; 55 riscv,isa = "rv64imafdc"; 60 compatible = "riscv,cpu-intc"; 65 compatible = "sifive,u54-mc", "sifive,rocket0", "riscv"; 77 mmu-type = "riscv,sv39"; 79 riscv,isa = "rv64imafdc"; [all …]
|
| D | fu740-c000.dtsi | 26 compatible = "sifive,bullet0", "riscv"; 33 riscv,isa = "rv64imac"; 37 compatible = "riscv,cpu-intc"; 42 compatible = "sifive,bullet0", "riscv"; 54 mmu-type = "riscv,sv39"; 57 riscv,isa = "rv64imafdc"; 61 compatible = "riscv,cpu-intc"; 66 compatible = "sifive,bullet0", "riscv"; 78 mmu-type = "riscv,sv39"; 81 riscv,isa = "rv64imafdc"; [all …]
|
| /kernel/linux/linux-5.10/arch/riscv/boot/dts/kendryte/ |
| D | k210.dtsi | 34 compatible = "kendryte,k210", "sifive,rocket0", "riscv"; 35 riscv,isa = "rv64imafdc"; 46 compatible = "riscv,cpu-intc"; 52 compatible = "kendryte,k210", "sifive,rocket0", "riscv"; 53 riscv,isa = "rv64imafdc"; 64 compatible = "riscv,cpu-intc"; 100 compatible = "riscv,clint0"; 110 compatible = "kendryte,k210-plic0", "riscv,plic0"; 114 riscv,ndev = <65>; 115 riscv,max-priority = <7>;
|
| /kernel/linux/linux-5.10/arch/riscv/kernel/ |
| D | cpu.c | 20 if (!of_device_is_compatible(node, "riscv")) { in riscv_of_processor_hartid() 35 if (of_property_read_string(node, "riscv,isa", &isa)) { in riscv_of_processor_hartid() 36 pr_warn("CPU with hartid=%d has no \"riscv,isa\" property\n", hart); in riscv_of_processor_hartid() 56 if (of_device_is_compatible(node, "riscv")) in riscv_of_parent_hartid() 76 if (strcmp(mmu_type, "riscv,sv32") != 0) in print_mmu() 79 if (strcmp(mmu_type, "riscv,sv39") != 0 && in print_mmu() 80 strcmp(mmu_type, "riscv,sv48") != 0) in print_mmu() 113 if (!of_property_read_string(node, "riscv,isa", &isa)) in c_show() 118 && strcmp(compat, "riscv")) in c_show()
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/cpu/ |
| D | idle-states.yaml | 265 Documentation/devicetree/bindings/riscv/cpus.yaml 268 http://github.com/riscv/riscv-sbi-doc/riscv-sbi.adoc 306 - riscv,idle-state 317 riscv,sbi-suspend-param: 718 compatible = "riscv"; 720 riscv,isa = "rv64imafdc"; 721 mmu-type = "riscv,sv48"; 727 compatible = "riscv,cpu-intc"; 734 compatible = "riscv"; 736 riscv,isa = "rv64imafdc"; [all …]
|
| /kernel/linux/linux-6.6/arch/riscv/boot/dts/thead/ |
| D | th1520.dtsi | 20 compatible = "thead,c910", "riscv"; 22 riscv,isa = "rv64imafdc"; 31 mmu-type = "riscv,sv39"; 34 compatible = "riscv,cpu-intc"; 41 compatible = "thead,c910", "riscv"; 43 riscv,isa = "rv64imafdc"; 52 mmu-type = "riscv,sv39"; 55 compatible = "riscv,cpu-intc"; 62 compatible = "thead,c910", "riscv"; 64 riscv,isa = "rv64imafdc"; [all …]
|
| /kernel/linux/linux-6.6/drivers/clocksource/ |
| D | timer-riscv.c | 11 #define pr_fmt(fmt) "riscv-timer: " fmt 25 #include <clocksource/timer-riscv.h> 149 pr_err("RISCV timer registration failed [%d]\n", error); in riscv_timer_init_common() 157 "riscv-timer", &riscv_clock_event); in riscv_timer_init_common() 169 "clockevents/riscv/timer:starting", in riscv_timer_init_common() 172 pr_err("cpu hp setup state failed for RISCV timer [%d]\n", in riscv_timer_init_common() 200 child = of_find_compatible_node(NULL, NULL, "riscv,timer"); in riscv_timer_init_dt() 203 "riscv,timer-cannot-wake-cpu"); in riscv_timer_init_dt() 210 TIMER_OF_DECLARE(riscv_timer, "riscv", riscv_timer_init_dt);
|
| /kernel/linux/linux-6.6/arch/riscv/kernel/ |
| D | cpu.c | 53 if (!of_device_is_compatible(node, "riscv")) { in riscv_early_of_processor_hartid() 69 if (of_property_read_string(node, "riscv,isa-base", &isa)) in riscv_early_of_processor_hartid() 82 if (!of_property_present(node, "riscv,isa-extensions")) in riscv_early_of_processor_hartid() 85 if (of_property_match_string(node, "riscv,isa-extensions", "i") < 0 || in riscv_early_of_processor_hartid() 86 of_property_match_string(node, "riscv,isa-extensions", "m") < 0 || in riscv_early_of_processor_hartid() 87 of_property_match_string(node, "riscv,isa-extensions", "a") < 0) { in riscv_early_of_processor_hartid() 96 pr_warn("CPU with hartid=%lu is invalid: this kernel does not parse \"riscv,isa\"", in riscv_early_of_processor_hartid() 101 if (of_property_read_string(node, "riscv,isa", &isa)) { in riscv_early_of_processor_hartid() 102 pr_warn("CPU with hartid=%lu has no \"riscv,isa-base\" or \"riscv,isa\" property\n", in riscv_early_of_processor_hartid() 129 if (of_device_is_compatible(node, "riscv")) { in riscv_of_parent_hartid() [all …]
|
| /kernel/linux/linux-6.6/arch/riscv/boot/dts/microchip/ |
| D | mpfs.dtsi | 18 compatible = "sifive,e51", "sifive,rocket0", "riscv"; 24 riscv,isa = "rv64imac"; 30 compatible = "riscv,cpu-intc"; 36 compatible = "sifive,u54-mc", "sifive,rocket0", "riscv"; 48 mmu-type = "riscv,sv39"; 50 riscv,isa = "rv64imafdc"; 58 compatible = "riscv,cpu-intc"; 64 compatible = "sifive,u54-mc", "sifive,rocket0", "riscv"; 76 mmu-type = "riscv,sv39"; 78 riscv,isa = "rv64imafdc"; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/timer/ |
| D | riscv,timer.yaml | 4 $id: http://devicetree.org/schemas/timer/riscv,timer.yaml# 20 in Documentation/devicetree/bindings/riscv/cpus.yaml 25 - riscv,timer 31 riscv,timer-cannot-wake-cpu: 46 compatible = "riscv,timer";
|
| /kernel/linux/linux-6.6/Documentation/riscv/ |
| D | acpi.rst | 9 "riscv-isa-release-1239329-2023-05-23" (commit 1239329 10 ) <https://github.com/riscv/riscv-isa-manual/releases/tag/riscv-isa-release-1239329-2023-05-23>`_
|
| /kernel/linux/linux-6.6/arch/riscv/boot/dts/renesas/ |
| D | r9a07g043f.dtsi | 21 compatible = "andestech,ax45mp", "riscv"; 26 riscv,isa = "rv64imafdc"; 27 mmu-type = "riscv,sv39"; 37 compatible = "riscv,cpu-intc"; 51 riscv,ndev = <511>;
|
| /kernel/linux/linux-6.6/tools/testing/kunit/qemu_configs/ |
| D | riscv.py | 11 …'Please ensure that qemu-system-riscv is installed, or edit the path in "qemu_configs/riscv.py"\n') 14 QEMU_ARCH = QemuArchParams(linux_arch='riscv', 23 kernel_path='arch/riscv/boot/Image',
|
| /kernel/linux/linux-6.6/arch/riscv/boot/dts/allwinner/ |
| D | sun20i-d1s.dtsi | 15 compatible = "thead,c906", "riscv"; 25 mmu-type = "riscv,sv39"; 27 riscv,isa = "rv64imafdc"; 31 compatible = "riscv,cpu-intc"; 70 riscv,ndev = <175>;
|
| /kernel/linux/linux-6.6/arch/riscv/boot/dts/starfive/ |
| D | jh7100.dtsi | 21 compatible = "sifive,u74-mc", "riscv"; 34 mmu-type = "riscv,sv39"; 35 riscv,isa = "rv64imafdc"; 39 compatible = "riscv,cpu-intc"; 46 compatible = "sifive,u74-mc", "riscv"; 59 mmu-type = "riscv,sv39"; 60 riscv,isa = "rv64imafdc"; 64 compatible = "riscv,cpu-intc"; 158 riscv,ndev = <133>;
|
| /kernel/linux/linux-5.10/drivers/clocksource/ |
| D | timer-riscv.c | 116 child = of_get_compatible_child(n, "riscv,cpu-intc"); in riscv_timer_init_dt() 138 pr_err("RISCV timer register failed [%d] for cpu = [%d]\n", in riscv_timer_init_dt() 147 "riscv-timer", &riscv_clock_event); in riscv_timer_init_dt() 154 "clockevents/riscv/timer:starting", in riscv_timer_init_dt() 157 pr_err("cpu hp setup state failed for RISCV timer [%d]\n", in riscv_timer_init_dt() 162 TIMER_OF_DECLARE(riscv_timer, "riscv", riscv_timer_init_dt);
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/ |
| D | sifive,plic-1.0.0.yaml | 64 riscv,cpu-intc node, which has a riscv node as parent. 66 riscv,ndev: 78 - riscv,ndev 96 riscv,ndev = <10>;
|