| /linux/arch/riscv/boot/dts/sophgo/ |
| H A D | sg2044-cpus.dtsi | 16 compatible = "thead,c920", "riscv"; 25 mmu-type = "riscv,sv48"; 27 riscv,isa = "rv64imafdcv"; 28 riscv,isa-base = "rv64i"; 29 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", 40 riscv,cbom-block-size = <64>; 41 riscv,cbop-block-size = <64>; 42 riscv,cboz-block-size = <64>; 45 compatible = "riscv,cpu-intc"; 52 compatible = "thead,c920", "riscv"; [all …]
|
| H A D | cv180x-cpus.dtsi | 14 compatible = "thead,c906", "riscv"; 23 mmu-type = "riscv,sv39"; 24 riscv,isa = "rv64imafdc"; 25 riscv,isa-base = "rv64i"; 26 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr", 30 compatible = "riscv,cpu-intc";
|
| /linux/Documentation/devicetree/bindings/riscv/ |
| H A 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 …]
|
| H A D | cpus.yaml | 4 $id: http://devicetree.org/schemas/riscv/cpus.yaml# 69 - const: riscv 76 - const: riscv 77 - const: riscv # Simulator only 87 https://riscv.org/specifications/ 90 - riscv,sv32 91 - riscv,sv39 92 - riscv,sv48 93 - riscv,sv57 94 - riscv,none [all …]
|
| /linux/drivers/gpu/drm/tegra/ |
| H A 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 …]
|
| /linux/arch/riscv/ |
| H A D | Makefile | 61 riscv-march-$(CONFIG_ARCH_RV32I) := rv32ima 62 riscv-march-$(CONFIG_ARCH_RV64I) := rv64ima 63 riscv-march-$(CONFIG_FPU) := $(riscv-march-y)fd 64 riscv-march-$(CONFIG_RISCV_ISA_C) := $(riscv-march-y)c 65 riscv-march-$(CONFIG_RISCV_ISA_V) := $(riscv-march-y)v 75 riscv-march-$(CONFIG_TOOLCHAIN_NEEDS_EXPLICIT_ZICSR_ZIFENCEI) := $(riscv-march-y)_zicsr_zifencei 79 riscv-march-$(CONFIG_TOOLCHAIN_HAS_ZACAS) := $(riscv-march-y)_zacas 82 riscv-march-$(CONFIG_TOOLCHAIN_HAS_ZABHA) := $(riscv-march-y)_zabha 86 KBUILD_CFLAGS += -march=$(shell echo $(riscv-march-y) | sed -E 's/(rv32ima|rv64ima)fd([^v_]*)v?/\1\… 88 KBUILD_AFLAGS += -march=$(riscv-march-y) [all …]
|
| /linux/arch/riscv/boot/dts/tenstorrent/ |
| H A D | blackhole.dtsi | 16 compatible = "sifive,x280", "sifive,rocket0", "riscv"; 19 mmu-type = "riscv,sv57"; 20 riscv,isa-base = "rv64i"; 21 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "v", "zicsr", 25 compatible = "riscv,cpu-intc"; 32 compatible = "sifive,x280", "sifive,rocket0", "riscv"; 35 mmu-type = "riscv,sv57"; 36 riscv,isa-base = "rv64i"; 37 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "v", "zicsr", 41 compatible = "riscv,cpu-intc"; [all …]
|
| /linux/arch/riscv/boot/dts/spacemit/ |
| H A D | k1.dtsi | 53 compatible = "spacemit,x60", "riscv"; 56 …riscv,isa = "rv64imafdcv_zicbom_zicbop_zicboz_zicntr_zicond_zicsr_zifencei_zihintpause_zihpm_zfh_z… 57 riscv,isa-base = "rv64i"; 58 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "v", "zicbom", 63 riscv,cbom-block-size = <64>; 64 riscv,cbop-block-size = <64>; 65 riscv,cboz-block-size = <64>; 73 mmu-type = "riscv,sv39"; 76 compatible = "riscv,cpu-intc"; 83 compatible = "spacemit,x60", "riscv"; [all …]
|
| /linux/arch/riscv/boot/dts/andes/ |
| H A D | qilai.dtsi | 20 compatible = "andestech,ax45mp", "riscv"; 23 riscv,isa-base = "rv64i"; 24 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", 27 mmu-type = "riscv,sv39"; 38 compatible = "andestech,cpu-intc", "riscv,cpu-intc"; 45 compatible = "andestech,ax45mp", "riscv"; 48 riscv,isa-base = "rv64i"; 49 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", 52 mmu-type = "riscv,sv39"; 64 "riscv,cpu-intc"; [all …]
|
| /linux/arch/riscv/boot/dts/sifive/ |
| H A D | fu540-c000.dtsi | 26 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 …]
|
| H A D | fu740-c000.dtsi | 26 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/Documentation/devicetree/bindings/perf/ |
| H A 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 …]
|
| /linux/Documentation/devicetree/bindings/iommu/ |
| H A D | riscv,iommu.yaml | 4 $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/arch/riscv/kernel/tests/ |
| H A D | Kconfig.debug | 2 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 34 tristate "KUnit test for riscv kprobes" if !KUNIT_ALL_TESTS 39 Enable testing for riscv kprobes. Useful for riscv and/or kprobes 47 endmenu # "arch/riscv/kernel runtime Testing"
|
| /linux/arch/riscv/boot/dts/microchip/ |
| H A D | mpfs.dtsi | 19 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/arch/riscv/boot/dts/allwinner/ |
| H A D | sun20i-d1s.dtsi | 15 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/tools/testing/selftests/riscv/ |
| H A D | README | 4 - These tests are riscv specific and so not built or run but just skipped 5 completely when env-variable ARCH is found to be different than 'riscv'. 10 $ make TARGETS=riscv kselftest-clean 11 $ make TARGETS=riscv kselftest 15 $ make -C tools/testing/selftests TARGETS=riscv \ 18 or, alternatively, only specific riscv/ subtargets can be picked: 20 $ make -C tools/testing/selftests TARGETS=riscv RISCV_SUBTARGETS="mm vector" \
|
| /linux/Documentation/devicetree/bindings/cpu/ |
| H A D | idle-states.yaml | 322 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/arch/riscv/boot/dts/thead/ |
| H A D | th1520.dtsi | 23 compatible = "thead,c910", "riscv"; 25 riscv,isa = "rv64imafdc"; 26 riscv,isa-base = "rv64i"; 27 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", 40 mmu-type = "riscv,sv39"; 43 compatible = "riscv,cpu-intc"; 50 compatible = "thead,c910", "riscv"; 52 riscv,isa = "rv64imafdc"; 53 riscv,isa-base = "rv64i"; 54 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", [all …]
|
| /linux/arch/riscv/kernel/ |
| H A D | cpu.c | 54 if (!of_device_is_compatible(node, "riscv")) { in riscv_early_of_processor_hartid() 68 if (of_property_read_string(node, "riscv,isa-base", &isa)) in riscv_early_of_processor_hartid() 81 if (!of_property_present(node, "riscv,isa-extensions")) in riscv_early_of_processor_hartid() 84 if (of_property_match_string(node, "riscv,isa-extensions", "i") < 0 || in riscv_early_of_processor_hartid() 85 of_property_match_string(node, "riscv,isa-extensions", "m") < 0 || in riscv_early_of_processor_hartid() 86 of_property_match_string(node, "riscv,isa-extensions", "a") < 0) { in riscv_early_of_processor_hartid() 95 pr_warn("CPU with hartid=%lu is invalid: this kernel does not parse \"riscv,isa\"", in riscv_early_of_processor_hartid() 100 if (of_property_read_string(node, "riscv,isa", &isa)) { in riscv_early_of_processor_hartid() 101 pr_warn("CPU with hartid=%lu has no \"riscv,isa-base\" or \"riscv,isa\" property\n", in riscv_early_of_processor_hartid() 128 if (of_device_is_compatible(node, "riscv")) { in riscv_of_parent_hartid() [all …]
|
| /linux/drivers/clocksource/ |
| H A D | timer-riscv.c | 11 #define pr_fmt(fmt) "riscv-timer: " fmt 26 #include <clocksource/timer-riscv.h> 178 pr_err("RISCV timer registration failed [%d]\n", error); in riscv_timer_init_common() 186 "riscv-timer", &riscv_clock_event); in riscv_timer_init_common() 198 "clockevents/riscv/timer:starting", in riscv_timer_init_common() 201 pr_err("cpu hp setup state failed for RISCV timer [%d]\n", in riscv_timer_init_common() 229 child = of_find_compatible_node(NULL, NULL, "riscv,timer"); in riscv_timer_init_dt() 232 "riscv,timer-cannot-wake-cpu"); in riscv_timer_init_dt() 239 TIMER_OF_DECLARE(riscv_timer, "riscv", riscv_timer_init_dt);
|
| /linux/Documentation/devicetree/bindings/timer/ |
| H A 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";
|
| /linux/arch/riscv/boot/dts/anlogic/ |
| H A D | dr1v90.dtsi | 19 compatible = "nuclei,ux900", "riscv"; 27 mmu-type = "riscv,sv39"; 29 riscv,isa-base = "rv64i"; 30 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zba", "zbb", "zbc", 35 compatible = "riscv,cpu-intc"; 77 riscv,ndev = <150>;
|
| /linux/arch/riscv/boot/dts/renesas/ |
| H A D | r9a07g043f.dtsi | 21 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/Documentation/arch/riscv/ |
| H A 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>`_
|