/openbmc/linux/arch/riscv/kernel/ |
H A D | cpufeature.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 #include "copy-unaligned.h" 29 #define NUM_ALPHA_EXTS ('z' - 'a' + 1) 33 #define MISALIGNED_COPY_SIZE ((MISALIGNED_BUFFER_SIZE / 2) - 0x80) 37 /* Host ISA bitmap */ 40 /* Per-cpu ISA extensions. */ 47 * riscv_isa_extension_base() - Get base extension word 49 * @isa_bitmap: ISA bitmap to use 52 * NOTE: If isa_bitmap is NULL then Host ISA bitmap will be used. 63 * __riscv_isa_extension_available() - Check whether given extension [all …]
|
/openbmc/linux/arch/riscv/ |
H A 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 …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # see Documentation/kbuild/kconfig-language.rst. 13 config RISCV config 169 # https://github.com/llvm/llvm-project/commit/6ab8927931851bb42b2c93a00801dc499d7d9b1e 176 depends on $(cc-option,-fpatchable-function-entry=8) 186 # VA_BITS - PAGE_SHIFT - 3 199 # set if we are running in S-mode and can use SBI calls 206 bool "MMU-based Paged Memory Management Support" 209 Select if you want MMU-based virtualised addressing space 286 This enables function pointer support for non-standard noncoherent [all …]
|
/openbmc/qemu/hw/riscv/ |
H A D | virt-acpi-build.c | 4 * RISC-V virt ACPI generation 6 * Copyright (C) 2008-2010 Kevin O'Connor <kevin@koconnor.net> 10 * Copyright (C) 2021-2023 Ventana Micro Systems Inc 27 #include "hw/acpi/acpi-defs.h" 29 #include "hw/acpi/aml-build.h" 34 #include "hw/pci-host/gpex.h" 35 #include "hw/riscv/virt.h" 36 #include "hw/riscv/numa.h" 37 #include "hw/virtio/virtio-acpi.h" 40 #include "qemu/error-report.h" [all …]
|
H A D | riscv-iommu-bits.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright © 2022-2023 Rivos Inc. 4 * Copyright © 2023 FORTH-ICS/CARV 5 * Copyright © 2023 RISC-V IOMMU Task Group 7 * RISC-V IOMMU - Register Layout and Data Structures. 10 * https://github.com/riscv-non-isa/riscv-iommu 19 #define GENMASK_ULL(h, l) (((~0ULL) >> (63 - (h) + (l))) << (l)) 23 * struct riscv_iommu_fq_record - Fault/Event Queue Record 40 * struct riscv_iommu_pq_record - PCIe Page Request record 110 /* 5.5 Device-directory-table pointer (64bits) */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/cpu/ |
H A D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 11 - Anup Patel <anup@brainfault.org> 15 1 - Introduction 18 ARM and RISC-V systems contain HW capable of managing power consumption 19 dynamically, where cores can be put in different low-power states (ranging 22 run-time, can be specified through device tree bindings representing the [all …]
|
/openbmc/qemu/docs/specs/ |
H A D | riscv-iommu.rst | 1 .. _riscv-iommu: 3 RISC-V IOMMU support for RISC-V machines 6 QEMU implements a RISC-V IOMMU emulation based on the RISC-V IOMMU spec 9 The emulation includes a PCI reference device (riscv-iommu-pci) and a platform 10 bus device (riscv-iommu-sys) that QEMU RISC-V boards can use. The 'virt' 11 RISC-V machine is compatible with both devices. 13 riscv-iommu-pci reference device 14 -------------------------------- 16 This device implements the RISC-V IOMMU emulation as recommended by the section 18 class 08h, sub-class 06h and programming interface 00h. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/perf/ |
H A D | riscv,pmu.yaml | 1 # SPDX-License-Identifier: BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/perf/riscv,pmu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RISC-V SBI PMU events 10 - Atish Patra <atishp@rivosinc.com> 31 https://github.com/riscv-non-isa/riscv-sbi-doc/blob/master/riscv-sbi.adoc 35 const: riscv,pmu 37 riscv,event-to-mhpmevent: 38 $ref: /schemas/types.yaml#/definitions/uint32-matrix [all …]
|
/openbmc/linux/arch/riscv/boot/dts/canaan/ |
H A D | k210.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> 6 #include <dt-bindings/clock/k210-clk.h> 7 #include <dt-bindings/pinctrl/k210-fpioa.h> 8 #include <dt-bindings/reset/k210-rst.h> 12 * Although the K210 is a 64-bit CPU, the address bus is only 32-bits 15 #address-cells = <1>; 16 #size-cells = <1>; 17 compatible = "canaan,kendryte-k210"; 28 * Since this is a non-ratified draft specification, the kernel does not [all …]
|
/openbmc/qemu/ |
H A D | MAINTAINERS | 10 consult qemu-devel and not any specific individual privately. 23 W: Web-page with status/info 59 ------------------------------ 63 L: qemu-devel@nongnu.org 72 R: Philippe Mathieu-Daudé <philmd@linaro.org> 75 F: docs/devel/build-environment.rst 76 F: docs/devel/code-of-conduct.rst 78 F: docs/devel/conflict-resolution.rst 80 F: docs/devel/submitting-a-patch.rst 81 F: docs/devel/submitting-a-pull-request.rst [all …]
|
H A D | configure | 14 source_path=$(cd "$(dirname -- "$0")"; pwd) 16 if test "$PWD" -ef "$source_path" 20 MARKER=build/auto-created-by-configure 22 if test -e build 24 if test -f $MARKER 26 rm -rf build 36 echo "your source directory, or try doing an out-of-tree build." 41 # This file is auto-generated by configure to support in-source tree 46 @$(MAKE) -C build -f Makefile $(MAKECMDGOALS) 48 test -e build/auto-created-by-configure ; \ [all …]
|
H A D | meson.build | 15 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py')) 28 config_host = keyval.load(meson.current_build_dir() / 'config-host.mak') 35 tmpdir = meson.current_build_dir() / 'meson-private/temp' 66 have_linux_user = have_linux_user or target.endswith('linux-user') 67 have_bsd_user = have_bsd_user or target.endswith('bsd-user') 68 have_system = have_system or target.endswith('-softmmu') 112 …dgen.version() + ' is unsupported. You can install a new version with "cargo install bindgen-cli"') 119 message('To use Rust you can install a new version with "cargo install bindgen-cli"') 127 '--rustc-version', rustc.version(), 128 '--workspace', meson.project_source_root() / 'rust'] [all …]
|
/openbmc/qemu/docs/about/ |
H A D | emulation.rst | 9 .. list-table:: Supported Guest Architectures for Emulation 11 :header-rows: 1 13 * - Architecture (qemu name) 14 - System 15 - User 16 - Notes 17 * - Alpha 18 - Yes 19 - Yes 20 - Legacy 64 bit RISC ISA developed by DEC [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | cpu.c | 2 * QEMU RISC-V CPU 4 * Copyright (c) 2016-2017 Sagar Karandikar, sagark@eecs.berkeley.edu 5 * Copyright (c) 2017-2018 SiFive, Inc. 21 #include "qemu/qemu-print.h" 27 #include "exec/exec-all.h" 30 #include "qemu/error-report.h" 31 #include "hw/qdev-properties.h" 32 #include "hw/core/qdev-prop-internal.h" 34 #include "fpu/softfloat-helpers.h" 39 #include "tcg/tcg-cpu.h" [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 5 force -- enable ACPI if default was off 6 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 7 off -- disable ACPI if default was on 8 noirq -- do not use ACPI for IRQ routing 9 strict -- Be less tolerant of platforms that are not 11 rsdt -- prefer RSDT over (default) XSDT 12 copy_dsdt -- copy DSDT to memory 26 If set to vendor, prefer vendor-specific driver 58 Documentation/firmware-guide/acpi/debug.rst for more information about 102 acpi_irq_isa= [HW,ACPI] If irq_balance, mark listed IRQs used by ISA [all …]
|
/openbmc/linux/tools/lib/bpf/ |
H A D | bpf_tracing.h | 1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ 114 /* i386 kernel is built with -mregparm=3 */ 161 * https://github.com/IBM/s390x-abi/releases/download/v1.6/lzsabi_s390x.pdf 195 * https://github.com/ARM-software/abi-aa/blob/main/aapcs32/aapcs32.rst#machine-registers 220 * https://github.com/ARM-software/abi-aa/blob/main/aapcs64/aapcs64.rst#machine-registers 286 * http://refspecs.linux-foundation.org/elf/elfspec_ppc.pdf (page 3-14, 351 …* https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-cc.adoc#risc-v-calling-co… 354 /* riscv provides struct user_regs_struct instead of struct pt_regs to userspace */ 382 …* https://raw.githubusercontent.com/wiki/foss-for-synopsys-dwc-arc-processors/toolchain/files/ARCv… 415 * https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html [all …]
|
/openbmc/qemu/target/riscv/tcg/ |
H A D | tcg-cpu.c | 2 * riscv TCG cpu class initialization 4 * Copyright (c) 2016-2017 Sagar Karandikar, sagark@eecs.berkeley.edu 5 * Copyright (c) 2017-2018 SiFive, Inc. 21 #include "exec/exec-all.h" 22 #include "exec/translation-block.h" 23 #include "tcg-cpu.h" 31 #include "qemu/error-report.h" 33 #include "accel/accel-cpu-target.h" 34 #include "accel/tcg/cpu-ops.h" 74 CPURISCVState *env = &cpu->env; in riscv_cpu_write_misa_bit() [all …]
|
/openbmc/linux/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|
H A D | opengrok0.0.log | 1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz' 2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz' 3 2024-12-2 [all...] |
H A D | opengrok1.0.log | 1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' 2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms) 3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa [all...] |
H A D | opengrok2.0.log | 1 2024-12-28 20:05:26.116-0600 FINEST t586 Statistics.logIt: Added: '/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh' (ShAnalyzer) (took 79 ms) 2 2024-12-28 20:05:26.112-0600 FINER t592 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/qemu',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/qemu/chardev/spice.c' 3 2024-12-28 20:05:26.116-0600 FINEST t592 Statistics.logIt: Added: '/openbmc/qemu/chardev/spice.c' (CAnalyzer) (took 33 ms) 4 2024-1 [all...] |
/openbmc/linux/Documentation/virt/kvm/ |
H A 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 …]
|
/openbmc/ |
D | opengrok1.0.log | 1 2025-06-27 03:00:36.378-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler 2 2025-06-27 03:00:36.494-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, - [all...] |
D | opengrok2.0.log | 1 2025-06-26 03:00:47.099-0500 FINE t1 Executor.registerErrorHandler: Installing default uncaught exception handler 2 2025-06-26 03:00:47.218-0500 INFO t1 Indexer.parseOptions: Indexer options: [-c, /usr/local/bin/ctags, -T, 12, -s, /opengrok/src, - [all...] |
/openbmc/u-boot/ |
H A D | README | 1 # SPDX-License-Identifier: GPL-2.0+ 3 # (C) Copyright 2000 - 2013 9 This directory contains the source code for U-Boot, a boot loader for 15 The development of U-Boot is closely related to Linux: some parts of 37 scattered throughout the U-Boot source identifying the people or 41 actual U-Boot source tree; however, it can be created dynamically 51 U-Boot, you should send a message to the U-Boot mailing list at 52 <u-boot@lists.denx.de>. There is also an archive of previous traffic 53 on the mailing list - please search the archive before asking FAQ's. 54 Please see http://lists.denx.de/pipermail/u-boot and [all …]
|