Home
last modified time | relevance | path

Searched full:riscv (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/linux-6.14.4/arch/riscv/boot/dts/sophgo/
Dsg2042-cpus.dtsi257 compatible = "thead,c920", "riscv";
259 riscv,isa = "rv64imafdc";
260 riscv,isa-base = "rv64i";
261 riscv,isa-extensions = "i", "m", "a", "f", "d", "c",
272 mmu-type = "riscv,sv39";
275 compatible = "riscv,cpu-intc";
282 compatible = "thead,c920", "riscv";
284 riscv,isa = "rv64imafdc";
285 riscv,isa-base = "rv64i";
286 riscv,isa-extensions = "i", "m", "a", "f", "d", "c",
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/riscv/
Dextensions.yaml4 $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 …]
Dcpus.yaml4 $id: http://devicetree.org/schemas/riscv/cpus.yaml#
66 - const: riscv
72 - const: riscv
73 - const: riscv # Simulator only
83 https://riscv.org/specifications/
86 - riscv,sv32
87 - riscv,sv39
88 - riscv,sv48
89 - riscv,sv57
90 - riscv,none
[all …]
/linux-6.14.4/arch/riscv/boot/dts/spacemit/
Dk1.dtsi51 compatible = "spacemit,x60", "riscv";
54riscv,isa = "rv64imafdcv_zicbom_zicbop_zicboz_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_zfh_z…
55 riscv,isa-base = "rv64i";
56 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "v", "zicbom",
61 riscv,cbom-block-size = <64>;
62 riscv,cbop-block-size = <64>;
63 riscv,cboz-block-size = <64>;
71 mmu-type = "riscv,sv39";
74 compatible = "riscv,cpu-intc";
81 compatible = "spacemit,x60", "riscv";
[all …]
/linux-6.14.4/drivers/gpu/drm/tegra/
Driscv.c11 #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 …]
/linux-6.14.4/arch/riscv/
DMakefile68 riscv-march-$(CONFIG_ARCH_RV32I) := rv32ima
69 riscv-march-$(CONFIG_ARCH_RV64I) := rv64ima
70 riscv-march-$(CONFIG_FPU) := $(riscv-march-y)fd
71 riscv-march-$(CONFIG_RISCV_ISA_C) := $(riscv-march-y)c
72 riscv-march-$(CONFIG_RISCV_ISA_V) := $(riscv-march-y)v
82 riscv-march-$(CONFIG_TOOLCHAIN_NEEDS_EXPLICIT_ZICSR_ZIFENCEI) := $(riscv-march-y)_zicsr_zifencei
86 riscv-march-$(CONFIG_TOOLCHAIN_HAS_ZACAS) := $(riscv-march-y)_zacas
89 riscv-march-$(CONFIG_TOOLCHAIN_HAS_ZABHA) := $(riscv-march-y)_zabha
93 KBUILD_CFLAGS += -march=$(shell echo $(riscv-march-y) | sed -E 's/(rv32ima|rv64ima)fd([^v_]*)v?/\1\…
95 KBUILD_AFLAGS += -march=$(riscv-march-y)
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/interrupt-controller/
Driscv,aplic.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/riscv,aplic.yaml#
16 https://github.com/riscv/riscv-aia.
31 - const: riscv,aplic
46 RISC-V HARTS (or CPUs). Each node pointed to should be a riscv,cpu-intc
57 riscv,num-sources:
65 riscv,children:
78 riscv,delegation:
95 riscv,delegation: [ "riscv,children" ]
102 - riscv,num-sources
117 compatible = "qemu,aplic", "riscv,aplic";
[all …]
Driscv,imsics.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/riscv,imsics.yaml#
15 AIA specification can be found at https://github.com/riscv/riscv-aia.
51 - const: riscv,imsics
75 to should be a riscv,cpu-intc node, which has a CPU node (i.e. RISC-V
78 riscv,num-ids:
85 riscv,num-guest-ids:
92 riscv,num-ids property.
94 riscv,guest-index-bits:
101 riscv,hart-index-bits:
108 riscv,group-index-bits:
[all …]
/linux-6.14.4/arch/riscv/boot/dts/sifive/
Dfu540-c000.dtsi26 compatible = "sifive,e51", "sifive,rocket0", "riscv";
32 riscv,isa = "rv64imac";
33 riscv,isa-base = "rv64i";
34 riscv,isa-extensions = "i", "m", "a", "c", "zicntr", "zicsr", "zifencei",
39 compatible = "riscv,cpu-intc";
44 compatible = "sifive,u54-mc", "sifive,rocket0", "riscv";
56 mmu-type = "riscv,sv39";
58 riscv,isa = "rv64imafdc";
59 riscv,isa-base = "rv64i";
60 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
[all …]
Dfu740-c000.dtsi26 compatible = "sifive,bullet0", "riscv";
33 riscv,isa = "rv64imac";
34 riscv,isa-base = "rv64i";
35 riscv,isa-extensions = "i", "m", "a", "c", "zicntr", "zicsr", "zifencei",
40 compatible = "riscv,cpu-intc";
45 compatible = "sifive,bullet0", "riscv";
57 mmu-type = "riscv,sv39";
60 riscv,isa = "rv64imafdc";
61 riscv,isa-base = "rv64i";
62 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/perf/
Driscv,pmu.yaml4 $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 …]
/linux-6.14.4/Documentation/devicetree/bindings/iommu/
Driscv,iommu.yaml4 $id: http://devicetree.org/schemas/iommu/riscv,iommu.yaml#
22 Visit https://github.com/riscv-non-isa/riscv-iommu for more details.
31 # actually required. For non-PCIe hardware implementations 'riscv,iommu'
37 - qemu,riscv-iommu
38 - const: riscv,iommu
42 - const: riscv,pci-iommu
84 compatible = "qemu,riscv-iommu", "riscv,iommu";
104 compatible = "qemu,riscv-iommu", "riscv,iommu";
114 compatible = "qemu,riscv-iommu", "riscv,iommu";
142 compatible = "pci1efd,edf1", "riscv,pci-iommu";
/linux-6.14.4/arch/riscv/boot/dts/microchip/
Dmpfs.dtsi19 compatible = "sifive,e51", "sifive,rocket0", "riscv";
25 riscv,isa = "rv64imac";
26 riscv,isa-base = "rv64i";
27 riscv,isa-extensions = "i", "m", "a", "c", "zicntr", "zicsr", "zifencei",
34 compatible = "riscv,cpu-intc";
40 compatible = "sifive,u54-mc", "sifive,rocket0", "riscv";
52 mmu-type = "riscv,sv39";
54 riscv,isa = "rv64imafdc";
55 riscv,isa-base = "rv64i";
56 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
[all …]
/linux-6.14.4/arch/riscv/boot/dts/allwinner/
Dsun20i-d1s.dtsi15 compatible = "thead,c906", "riscv";
25 mmu-type = "riscv,sv39";
27 riscv,isa = "rv64imafdc";
28 riscv,isa-base = "rv64i";
29 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
35 compatible = "riscv,cpu-intc";
74 riscv,ndev = <175>;
81 compatible = "riscv,pmu";
82 riscv,event-to-mhpmcounters =
93 riscv,event-to-mhpmevent =
[all …]
/linux-6.14.4/arch/riscv/kernel/tests/
DKconfig.debug2 menu "arch/riscv/kernel Testing and Coverage"
8 bool "arch/riscv/kernel runtime Testing"
11 Enable riscv kernel runtime testing.
16 bool "KUnit test riscv module linking at runtime" if !KUNIT_ALL_TESTS
20 Enable this option to test riscv module linking at boot. This will
35 endmenu # "arch/riscv/kernel runtime Testing"
/linux-6.14.4/arch/riscv/boot/dts/thead/
Dth1520.dtsi21 compatible = "thead,c910", "riscv";
23 riscv,isa = "rv64imafdc";
24 riscv,isa-base = "rv64i";
25 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
35 mmu-type = "riscv,sv39";
38 compatible = "riscv,cpu-intc";
45 compatible = "thead,c910", "riscv";
47 riscv,isa = "rv64imafdc";
48 riscv,isa-base = "rv64i";
49 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/cpu/
Didle-states.yaml322 Documentation/devicetree/bindings/riscv/cpus.yaml
325 http://github.com/riscv/riscv-sbi-doc/riscv-sbi.adoc
370 - riscv,idle-state
381 riscv,sbi-suspend-param:
782 compatible = "riscv";
784 riscv,isa = "rv64imafdc";
785 mmu-type = "riscv,sv48";
791 compatible = "riscv,cpu-intc";
798 compatible = "riscv";
800 riscv,isa = "rv64imafdc";
[all …]
/linux-6.14.4/arch/riscv/kernel/
Dcpu.c54 if (!of_device_is_compatible(node, "riscv")) { in riscv_early_of_processor_hartid()
70 if (of_property_read_string(node, "riscv,isa-base", &isa)) in riscv_early_of_processor_hartid()
83 if (!of_property_present(node, "riscv,isa-extensions")) in riscv_early_of_processor_hartid()
86 if (of_property_match_string(node, "riscv,isa-extensions", "i") < 0 || in riscv_early_of_processor_hartid()
87 of_property_match_string(node, "riscv,isa-extensions", "m") < 0 || in riscv_early_of_processor_hartid()
88 of_property_match_string(node, "riscv,isa-extensions", "a") < 0) { in riscv_early_of_processor_hartid()
97 pr_warn("CPU with hartid=%lu is invalid: this kernel does not parse \"riscv,isa\"", in riscv_early_of_processor_hartid()
102 if (of_property_read_string(node, "riscv,isa", &isa)) { in riscv_early_of_processor_hartid()
103 pr_warn("CPU with hartid=%lu has no \"riscv,isa-base\" or \"riscv,isa\" property\n", in riscv_early_of_processor_hartid()
130 if (of_device_is_compatible(node, "riscv")) { in riscv_of_parent_hartid()
[all …]
/linux-6.14.4/drivers/clocksource/
Dtimer-riscv.c11 #define pr_fmt(fmt) "riscv-timer: " fmt
26 #include <clocksource/timer-riscv.h>
172 pr_err("RISCV timer registration failed [%d]\n", error); in riscv_timer_init_common()
180 "riscv-timer", &riscv_clock_event); in riscv_timer_init_common()
192 "clockevents/riscv/timer:starting", in riscv_timer_init_common()
195 pr_err("cpu hp setup state failed for RISCV timer [%d]\n", in riscv_timer_init_common()
223 child = of_find_compatible_node(NULL, NULL, "riscv,timer"); in riscv_timer_init_dt()
226 "riscv,timer-cannot-wake-cpu"); in riscv_timer_init_dt()
233 TIMER_OF_DECLARE(riscv_timer, "riscv", riscv_timer_init_dt);
/linux-6.14.4/Documentation/devicetree/bindings/timer/
Driscv,timer.yaml4 $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";
/linux-6.14.4/Documentation/arch/riscv/
Dacpi.rst9 "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>`_
/linux-6.14.4/arch/riscv/boot/dts/starfive/
Djh7100.dtsi21 compatible = "sifive,u74-mc", "riscv";
34 mmu-type = "riscv,sv39";
36 riscv,isa = "rv64imafdc";
37 riscv,isa-base = "rv64i";
38 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr",
43 compatible = "riscv,cpu-intc";
50 compatible = "sifive,u74-mc", "riscv";
63 mmu-type = "riscv,sv39";
65 riscv,isa = "rv64imafdc";
66 riscv,isa-base = "rv64i";
[all …]
/linux-6.14.4/tools/testing/kunit/qemu_configs/
Driscv.py11 …'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',
/linux-6.14.4/arch/riscv/boot/dts/renesas/
Dr9a07g043f.dtsi21 compatible = "andestech,ax45mp", "riscv";
26 riscv,isa = "rv64imafdc";
27 riscv,isa-base = "rv64i";
28 riscv,isa-extensions = "i", "m", "a", "f", "d", "c",
31 mmu-type = "riscv,sv39";
42 compatible = "andestech,cpu-intc", "riscv,cpu-intc";
136 riscv,ndev = <511>;
/linux-6.14.4/drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/arch/nvalloc/common/inc/
DrmRiscvUcode.h34 // Version 4 = for eb riscv boot
52 // Monitor Data offset within RISCV image and size
57 // Monitor Code offset withtin RISCV image and size
63 // Swbrom Code offset within RISCV image and size
68 // Swbrom Data offset within RISCV image and size

12345678910>>...12