Searched +full:riscv +full:- +full:v +full:- +full:spec (Results 1 – 11 of 11) sorted by relevance
/linux-6.8/Documentation/devicetree/bindings/riscv/ |
D | extensions.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 --- 4 $id: http://devicetree.org/schemas/riscv/extensions.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RISC-V ISA extensions 10 - Paul Walmsley <paul.walmsley@sifive.com> 11 - Palmer Dabbelt <palmer@sifive.com> 12 - Conor Dooley <conor@kernel.org> 15 RISC-V has a large number of extensions, some of which are "standard" 16 extensions, meaning they are ratified by RISC-V International, and others [all …]
|
/linux-6.8/arch/riscv/ |
D | Makefile | 2 # architecture-specific flags and dependencies. 9 LDFLAGS_vmlinux := -z norelro 11 LDFLAGS_vmlinux += -shared -Bsymbolic -z notext --emit-relocs 12 KBUILD_CFLAGS += -fPIE 15 LDFLAGS_vmlinux += --no-relax 16 KBUILD_CPPFLAGS += -DCC_USING_PATCHABLE_FUNCTION_ENTRY 18 CC_FLAGS_FTRACE := -fpatchable-function-entry=4 20 CC_FLAGS_FTRACE := -fpatchable-function-entry=2 25 KBUILD_CFLAGS_MODULE += -mcmodel=medany 33 KBUILD_CFLAGS += -mabi=lp64 [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # see Documentation/kbuild/kconfig-language.rst. 13 config RISCV config 177 # https://github.com/llvm/llvm-project/commit/6ab8927931851bb42b2c93a00801dc499d7d9b1e 184 depends on $(cc-option,-fpatchable-function-entry=8) 187 def_bool $(cc-option,-fsanitize=shadow-call-stack) 188 …# https://github.com/riscv-non-isa/riscv-elf-psabi-doc/commit/a484e843e6eeb51f0cb7b8819e50da6d2444… 189 depends on $(ld-option,--no-relax-gp) 193 # https://github.com/llvm/llvm-project/commit/6611d58f5bbcbec77262d392e2923e1d680f6985 196 # https://github.com/llvm/llvm-project/commit/bbc0f99f3bc96f1db16f649fc21dd18e5b0918f6 [all …]
|
/linux-6.8/Documentation/devicetree/bindings/interrupt-controller/ |
D | sifive,plic-1.0.0.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 --- 5 $id: http://devicetree.org/schemas/interrupt-controller/sifive,plic-1.0.0.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: SiFive Platform-Level Interrupt Controller (PLIC) 11 SiFive SoCs and other RISC-V SoCs include an implementation of the 12 Platform-Level Interrupt Controller (PLIC) high-level specification in 13 the RISC-V Privileged Architecture specification. The PLIC connects all 18 in an 4 core system with 2-way SMT, you have 8 harts and probably at least two 21 Each interrupt can be enabled on per-context basis. Any context can claim [all …]
|
/linux-6.8/Documentation/arch/riscv/ |
D | vector.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Vector Extension Support for RISC-V Linux 8 order to support the use of the RISC-V Vector Extension. 11 --------------------- 15 these interfaces is to give init systems a way to modify the availability of V 19 are not portable to non-Linux, nor non-RISC-V environments, so it is discourage 20 to use in a portable code. To get the availability of V in an ELF program, 27 argument consists of two 2-bit enablement statuses and a bit for inheritance 30 Enablement status is a tri-state value each occupying 2-bit of space in 33 * :c:macro:`PR_RISCV_V_VSTATE_CTRL_DEFAULT`: Use the system-wide default [all …]
|
/linux-6.8/arch/riscv/kernel/ |
D | cpufeature.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 #include "copy-unaligned.h" 32 #define NUM_ALPHA_EXTS ('z' - 'a' + 1) 37 #define MISALIGNED_COPY_SIZE ((MISALIGNED_BUFFER_SIZE / 2) - 0x80) 44 /* Per-cpu ISA extensions. */ 53 * riscv_isa_extension_base() - Get base extension word 69 * __riscv_isa_extension_available() - Check whether given extension 94 pr_err("Zicbom detected in ISA string, disabling as no cbom-block-size found\n"); in riscv_isa_extension_check() 97 pr_err("Zicbom disabled as cbom-block-size present, but is not a power-of-2\n"); in riscv_isa_extension_check() 103 pr_err("Zicboz detected in ISA string, disabling as no cboz-block-size found\n"); in riscv_isa_extension_check() [all …]
|
D | acpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * RISC-V Specific Low-Level ACPI Boot Support 5 * Copyright (C) 2013-2014, Linaro Ltd. 12 * Copyright (C) 2021-2023, Ventana Micro Systems Inc. 13 * Author: Sunil V L <sunilvl@ventanamicro.com> 38 return -EINVAL; in parse_acpi() 48 return -EINVAL; /* Core will print when we return error */ in parse_acpi() 55 * acpi_fadt_sanity_check() - Check FADT presence and carry out sanity 68 * FADT is required on riscv; retrieve it to check its presence in acpi_fadt_sanity_check() 76 return -ENODEV; in acpi_fadt_sanity_check() [all …]
|
/linux-6.8/drivers/irqchip/ |
D | irq-sifive-plic.c | 1 // SPDX-License-Identifier: GPL-2.0 24 * This driver implements a version of the RISC-V PLIC with the actual layout 27 * https://static.dev.sifive.com/U54-MC-RVCoreIP.pdf 29 * The largest number supported by devices marked as 'sifive,plic-1.0.0', is 30 * 1024, of which device 0 is defined as non-existent by the RISC-V Privileged 31 * Spec. 106 raw_spin_lock(&handler->enable_lock); in plic_toggle() 107 __plic_toggle(handler->enable_base, hwirq, enable); in plic_toggle() 108 raw_spin_unlock(&handler->enable_lock); in plic_toggle() 119 plic_toggle(handler, d->hwirq, enable); in plic_irq_toggle() [all …]
|
/linux-6.8/Documentation/virt/kvm/ |
D | api.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 The Definitive KVM (Kernel-based Virtual Machine) API Documentation 13 - System ioctls: These query and set global attributes which affect the 17 - VM ioctls: These query and set attributes that affect an entire virtual 24 - vcpu ioctls: These query and set attributes that control the operation 32 - device ioctls: These query and set attributes that control the operation 80 facility that allows backward-compatible extensions to the API to be 104 the ioctl returns -ENOTTY. 122 ----------------------- 139 ----------------- [all …]
|
/linux-6.8/Documentation/admin-guide/ |
D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 37 If set to vendor, prefer vendor-specific driver 69 Documentation/firmware-guide/acpi/debug.rst for more information about 127 Format: <byte> or <bitmap-list> [all …]
|
/linux-6.8/tools/lib/bpf/ |
D | libbpf.c | 1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 6 * Copyright (C) 2013-2015 Alexei Starovoitov <ast@kernel.org> 67 #pragma GCC diagnostic ignored "-Wformat-nonliteral" 267 if (err != -EPERM || geteuid() != 0) in pr_perm_msg() 284 pr_warn("permission error while running as root; try raising 'ulimit -l'? current value: %s\n", in pr_perm_msg() 300 fd = -1; \ 311 /* as of v1.0 libbpf_set_strict_mode() is a no-op */ in libbpf_set_strict_mode() 329 return "v" _S(LIBBPF_MAJOR_VERSION) "." _S(LIBBPF_MINOR_VERSION); in libbpf_version_string() 357 /* stored as sec_def->cookie for all libbpf-supported SEC()s */ 376 /* BPF program support non-linear XDP buffer */ [all …]
|