Home
last modified time | relevance | path

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

123456789

/linux/drivers/gpu/drm/tegra/
H A 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 …]
H A Dnvdec.c22 #include "riscv.h"
51 struct tegra_drm_riscv riscv; member
118 err = tegra_drm_riscv_boot_bootrom(&nvdec->riscv, nvdec->carveout_base, 1, in nvdec_boot_riscv()
119 &nvdec->riscv.bl_desc); in nvdec_boot_riscv()
135 err = tegra_drm_riscv_boot_bootrom(&nvdec->riscv, nvdec->carveout_base, 1, in nvdec_boot_riscv()
136 &nvdec->riscv.os_desc); in nvdec_boot_riscv()
498 nvdec->riscv.dev = dev; in nvdec_probe()
499 nvdec->riscv.regs = nvdec->regs; in nvdec_probe()
501 err = tegra_drm_riscv_read_descriptors(&nvdec->riscv); in nvdec_probe()
/linux/Documentation/devicetree/bindings/riscv/
H A Dextensions.yaml4 $id: http://devicetree.org/schemas/riscv/extensions.yaml#
28 riscv,isa:
33 https://riscv.org/specifications/
37 Notably, riscv,isa was defined prior to the creation of the
42 insensitive, letters in the riscv,isa string must be all
48 riscv,isa-base:
56 riscv,isa-extensions:
117 encoding") of the riscv-v-spec.
182 request #42 from riscv/jhauser-2023-RC4") of riscv-aia.
209 of riscv-j-extension.
[all …]
/linux/arch/riscv/
H A DMakefile47 UTS_MACHINE := riscv$(BITS)
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
78 KBUILD_BASE_ISA = -march=$(shell echo $(riscv-march-y) | sed -E 's/(rv32ima|rv64ima)fd([^v_]*)v?/\1…
85 KBUILD_AFLAGS += -march=$(riscv-march-y)
88 CC_FLAGS_FPU := -march=$(shell echo $(riscv-march-y) | sed -E 's/(rv32ima|rv64ima)([^v_]*)v?/\1\2/…
[all …]
/linux/arch/riscv/boot/dts/andes/
H A Dqilai.dtsi20 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 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 …]
H A 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/Documentation/devicetree/bindings/perf/
H A 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/arch/riscv/kernel/tests/
H A 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
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/tools/testing/selftests/riscv/
H A DREADME4 - 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/arch/riscv/boot/dts/sophgo/
H A Dcv180x-cpus.dtsi14 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/cpu/
H A 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/arch/riscv/kernel/
H A Dcpu.c54 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/arch/riscv/purgatory/
H A DMakefile17 $(obj)/memcpy.o: $(srctree)/arch/riscv/lib/memcpy.S FORCE
20 $(obj)/memset.o: $(srctree)/arch/riscv/lib/memset.S FORCE
23 $(obj)/strcmp.o: $(srctree)/arch/riscv/lib/strcmp.S FORCE
26 $(obj)/strlen.o: $(srctree)/arch/riscv/lib/strlen.S FORCE
29 $(obj)/strncmp.o: $(srctree)/arch/riscv/lib/strncmp.S FORCE
35 $(obj)/strnlen.o: $(srctree)/arch/riscv/lib/strnlen.S FORCE
38 $(obj)/strchr.o: $(srctree)/arch/riscv/lib/strchr.S FORCE
41 $(obj)/strrchr.o: $(srctree)/arch/riscv/lib/strrchr.S FORCE
/linux/Documentation/devicetree/bindings/timer/
H A 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/Documentation/arch/riscv/
H A 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>`_
H A Dhwprobe.rst95 ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs.
223 riscv-code-size-reduction.
228 riscv-code-size-reduction.
233 riscv-code-size-reduction.
238 riscv-code-size-reduction.
246 riscv/zawrs") of riscv-isa-manual.
253 frozen at commit 194f0094 ("Version 0.9 for freeze") of riscv-zalasr.
275 ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs.
279 riscv-zabha.
282 ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs.
[all …]
/linux/tools/testing/kunit/qemu_configs/
H A 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/lib/crypto/
H A DKconfig21 default y if RISCV && 64BIT && TOOLCHAIN_HAS_VECTOR_CRYPTO && \
118 default y if RISCV && 64BIT && TOOLCHAIN_HAS_VECTOR_CRYPTO && \
157 default y if RISCV && 64BIT && TOOLCHAIN_HAS_VECTOR_CRYPTO && \
202 default y if RISCV
218 default 2 if MIPS || RISCV
260 default y if RISCV && 64BIT && TOOLCHAIN_HAS_VECTOR_CRYPTO && \
279 default y if RISCV && 64BIT && TOOLCHAIN_HAS_VECTOR_CRYPTO && \
308 default y if RISCV && 64BIT && TOOLCHAIN_HAS_VECTOR_CRYPTO && \
/linux/arch/riscv/boot/dts/starfive/
H A Djh7110.dtsi23 compatible = "sifive,s7", "riscv";
30 riscv,isa = "rv64imac_zba_zbb";
31 riscv,isa-base = "rv64i";
32 riscv,isa-extensions = "i", "m", "a", "c", "zba", "zbb", "zicntr", "zicsr",
37 compatible = "riscv,cpu-intc";
45 compatible = "sifive,u74-mc", "riscv";
58 mmu-type = "riscv,sv39";
60 riscv,isa = "rv64imafdc_zba_zbb";
61 riscv,isa-base = "rv64i";
62 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zba", "zbb", "zicntr",
[all …]
/linux/arch/riscv/include/asm/
H A Dgdb_xml.h13 "qXfer:features:read:riscv-64bit-cpu.xml";
19 "<xi:include href=\"riscv-64bit-cpu.xml\"/>"
25 "<feature name=\"org.gnu.gdb.riscv.cpu\">"
65 "qXfer:features:read:riscv-32bit-cpu.xml";
71 "<xi:include href=\"riscv-32bit-cpu.xml\"/>"
77 "<feature name=\"org.gnu.gdb.riscv.cpu\">"
/linux/drivers/clk/sunxi-ng/
H A DKconfig18 depends on MACH_SUN8I || RISCV || COMPILE_TEST
23 depends on MACH_SUN8I || RISCV || COMPILE_TEST
89 depends on MACH_SUN8I || ARM64 || RISCV || COMPILE_TEST
119 depends on MACH_SUN8I || ARM64 || RISCV || COMPILE_TEST
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Driscv,cpu-intc.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/riscv,cpu-intc.yaml#
42 - const: riscv,cpu-intc
43 - const: riscv,cpu-intc
71 compatible = "riscv,cpu-intc";
/linux/tools/testing/selftests/rseq/
H A Drseq-riscv.h171 #include "rseq-riscv-bits.h"
175 #include "rseq-riscv-bits.h"
183 #include "rseq-riscv-bits.h"
187 #include "rseq-riscv-bits.h"
195 #include "rseq-riscv-bits.h"
/linux/drivers/firmware/efi/
H A DMakefile39 riscv-obj-$(CONFIG_EFI) := efi-init.o riscv-runtime.o
40 obj-$(CONFIG_RISCV) += $(riscv-obj-y)

123456789