| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/reserved-memory/ |
| D | reserved-memory.txt | 1 *** Reserved memory regions *** 3 Reserved memory is specified as a node under the /reserved-memory node. 4 The operating system shall exclude reserved memory from normal usage 5 one can create child nodes describing particular reserved (excluded from 6 normal use) memory regions. Such memory regions are usually designed for 9 Parameters for each memory region can be encoded into the device tree 12 /reserved-memory node 13 --------------------- 14 #address-cells, #size-cells (required) - standard definition 15 - Should use the same values as the root node [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/reserved-memory/ |
| D | reserved-memory.txt | 1 *** Reserved memory regions *** 3 Reserved memory is specified as a node under the /reserved-memory node. 4 The operating system shall exclude reserved memory from normal usage 5 one can create child nodes describing particular reserved (excluded from 6 normal use) memory regions. Such memory regions are usually designed for 9 Parameters for each memory region can be encoded into the device tree 12 /reserved-memory node 13 --------------------- 14 #address-cells, #size-cells (required) - standard definition 15 - Should use the same values as the root node [all …]
|
| /kernel/linux/linux-4.19/Documentation/powerpc/ |
| D | firmware-assisted-dump.txt | 2 Firmware-Assisted Dump 3 ------------------------ 6 The goal of firmware-assisted dump is to enable the dump of 7 a crashed system, and to do so from a fully-reset system, and 11 - Firmware assisted dump (fadump) infrastructure is intended to replace 13 - Fadump uses the same firmware interfaces and memory reservation model 15 - Unlike phyp dump, fadump exports the memory dump through /proc/vmcore 18 - Unlike phyp dump, userspace tool does not need to refer any sysfs 20 - Unlike phyp dump, fadump allows user to release all the memory reserved 22 - Once enabled through kernel boot parameter, fadump can be [all …]
|
| /kernel/linux/linux-5.10/Documentation/powerpc/ |
| D | firmware-assisted-dump.rst | 2 Firmware-Assisted Dump 7 The goal of firmware-assisted dump is to enable the dump of 8 a crashed system, and to do so from a fully-reset system, and 12 - Firmware-Assisted Dump (FADump) infrastructure is intended to replace 14 - Fadump uses the same firmware interfaces and memory reservation model 16 - Unlike phyp dump, FADump exports the memory dump through /proc/vmcore 19 - Unlike phyp dump, userspace tool does not need to refer any sysfs 21 - Unlike phyp dump, FADump allows user to release all the memory reserved 23 - Once enabled through kernel boot parameter, FADump can be 28 Comparing with kdump or other strategies, firmware-assisted [all …]
|
| /kernel/linux/linux-5.10/kernel/dma/ |
| D | contiguous.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Contiguous Memory Allocator for DMA mapping framework 4 * Copyright (c) 2010-2011 by Samsung Electronics. 9 * Contiguous Memory Allocator 11 * The Contiguous Memory Allocator (CMA) makes it possible to 12 * allocate big contiguous chunks of memory after the system has 17 * Various devices on embedded systems have no scatter-getter and/or 18 * IO map support and require contiguous blocks of memory to 22 * Such devices often require big memory buffers (a full HD frame 24 * MB of memory), which makes mechanisms such as kmalloc() or [all …]
|
| /kernel/linux/linux-4.19/kernel/dma/ |
| D | contiguous.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Contiguous Memory Allocator for DMA mapping framework 4 * Copyright (c) 2010-2011 by Samsung Electronics. 19 #include <asm/dma-contiguous.h> 24 #include <linux/dma-contiguous.h> 39 * The size can be set in bytes or as a percentage of the total memory 46 static phys_addr_t size_cmdline = -1; 54 return -EINVAL; in early_cma() 61 if (*p != '-') { in early_cma() 82 for_each_memblock(memory, reg) in cma_early_percent_memory() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/include/hmm/ |
| D | hmm_pool.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (c) 2010 Intel Corporation. All Rights Reserved. 40 * struct hmm_pool_ops - memory pool callbacks. 42 * @pool_init: initialize the memory pool. 43 * @pool_exit: uninitialize the memory pool. 44 * @pool_alloc_pages: allocate pages from memory pool. 45 * @pool_free_pages: free pages to memory pool. 46 * @pool_inited: check whether memory pool is initialized. 66 * struct hmm_reserved_pool_info - represents reserved pool private data. 68 * The array is as reserved memory pool. [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/remoteproc/ |
| D | ti,davinci-rproc.txt | 4 Binding status: Unstable - Subject to changes for DT representation of clocks 7 The TI Davinci family of SoCs usually contains a TI DSP Core sub-system that 8 is used to offload some of the processor-intensive tasks or algorithms, for 11 The processor cores in the sub-system usually contain additional sub-modules 12 like L1 and/or L2 caches/SRAMs, an Interrupt Controller, an external memory 18 Each DSP Core sub-system is represented as a single DT node. 21 -------------------- 24 - compatible: Should be one of the following, 25 "ti,da850-dsp" for DSPs on OMAP-L138 SoCs 27 - reg: Should contain an entry for each value in 'reg-names'. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/remoteproc/ |
| D | ti,davinci-rproc.txt | 4 Binding status: Unstable - Subject to changes for DT representation of clocks 7 The TI Davinci family of SoCs usually contains a TI DSP Core sub-system that 8 is used to offload some of the processor-intensive tasks or algorithms, for 11 The processor cores in the sub-system usually contain additional sub-modules 12 like L1 and/or L2 caches/SRAMs, an Interrupt Controller, an external memory 18 Each DSP Core sub-system is represented as a single DT node. 21 -------------------- 24 - compatible: Should be one of the following, 25 "ti,da850-dsp" for DSPs on OMAP-L138 SoCs 27 - reg: Should contain an entry for each value in 'reg-names'. [all …]
|
| D | ti,omap-remoteproc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/ti,omap-remoteproc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Suman Anna <s-anna@ti.com> 13 The OMAP family of SoCs usually have one or more slave processor sub-systems 14 that are used to offload some of the processor-intensive tasks, or to manage 17 The processor cores in the sub-system are usually behind an IOMMU, and may 18 contain additional sub-modules like Internal RAM and/or ROMs, L1 and/or L2 21 The OMAP SoCs usually have a DSP processor sub-system and/or an IPU processor [all …]
|
| D | ti,k3-dsp-rproc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/ti,k3-dsp-rproc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Suman Anna <s-anna@ti.com> 13 The TI K3 family of SoCs usually have one or more TI DSP Core sub-systems 14 that are used to offload some of the processor-intensive tasks or algorithms, 17 These processor sub-systems usually contain additional sub-modules like 18 L1 and/or L2 caches/SRAMs, an Interrupt Controller, an external memory 23 Each DSP Core sub-system is represented as a single DT node. Each node has a [all …]
|
| /kernel/liteos_m/arch/risc-v/nuclei/gcc/nmsis/Core/Include/ |
| D | core_feature_base.h | 2 * Copyright (c) 2019 Nuclei Limited. All rights reserved. 4 * SPDX-License-Identifier: Apache-2.0 10 * www.apache.org/licenses/LICENSE-2.0 47 /** \brief Type of Control and Status Register(CSR), depends on the XLEN defined in RISC-V */ 69 …rv_csr_t b:1; /*!< bit: 1 Tentatively reserved for Bit-Manipulation… 71 …rv_csr_t d:1; /*!< bit: 3 Double-precision floating-point extension… 73 …rv_csr_t f:1; /*!< bit: 5 Single-precision floating-point extension… 77 …rv_csr_t j:1; /*!< bit: 9 Tentatively reserved for Dynamically Tran… 78 rv_csr_t _reserved1:1; /*!< bit: 10 Reserved */ 79 … l:1; /*!< bit: 11 Tentatively reserved for Decimal Floating-Point e… [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | memblock.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 * Logical memory blocks. 29 * enum memblock_flags - definition of memory region attributes 43 * struct memblock_region - represents a memory region 46 * @flags: memory region attributes 59 * struct memblock_type - collection of memory regions of certain type 64 * @name: the memory type symbolic name 75 * struct memblock - memblock allocator metadata 78 * @memory: usable memory regions 79 * @reserved: reserved memory regions [all …]
|
| /kernel/linux/linux-4.19/drivers/of/ |
| D | of_reserved_mem.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device tree based initialization code for reserved memory. 5 * Copyright (c) 2013, 2015 The Linux Foundation. All Rights Reserved. 12 #define pr_fmt(fmt) "OF: reserved mem: " fmt 42 return -ENOMEM; in early_init_dt_alloc_reserved_memory_arch() 49 return -ENOMEM; in early_init_dt_alloc_reserved_memory_arch() 62 pr_err("Reserved memory not supported, ignoring region 0x%llx%s\n", in early_init_dt_alloc_reserved_memory_arch() 64 return -ENOSYS; in early_init_dt_alloc_reserved_memory_arch() 69 * res_mem_save_node() - save fdt node for second pass initialization 81 rmem->fdt_node = node; in fdt_reserved_mem_save_node() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/fsl/ |
| D | qman.txt | 3 Copyright (C) 2008 - 2014 Freescale Semiconductor Inc. 7 - QMan Node 8 - QMan Private Memory Nodes 9 - Example 13 The Queue Manager is part of the Data-Path Acceleration Architecture (DPAA). QMan 16 flow-level queuing, is also responsible for congestion management functions such 22 - compatible 26 May include "fsl,<SoC>-qman" 28 - reg 30 Value type: <prop-encoded-array> [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/soc/fsl/ |
| D | qman.txt | 3 Copyright (C) 2008 - 2014 Freescale Semiconductor Inc. 7 - QMan Node 8 - QMan Private Memory Nodes 9 - Example 13 The Queue Manager is part of the Data-Path Acceleration Architecture (DPAA). QMan 16 flow-level queuing, is also responsible for congestion management functions such 22 - compatible 26 May include "fsl,<SoC>-qman" 28 - reg 30 Value type: <prop-encoded-array> [all …]
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | memblock.h | 7 * Logical memory blocks. 24 * enum memblock_flags - definition of memory region attributes 38 * struct memblock_region - represents a memory region 41 * @flags: memory region attributes 54 * struct memblock_type - collection of memory regions of certain type 59 * @name: the memory type symbolic name 70 * struct memblock - memblock allocator metadata 73 * @memory: usabe memory regions 74 * @reserved: reserved memory regions 75 * @physmem: all physical memory [all …]
|
| /kernel/linux/linux-5.10/drivers/of/ |
| D | of_reserved_mem.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device tree based initialization code for reserved memory. 5 * Copyright (c) 2013, 2015 The Linux Foundation. All Rights Reserved. 12 #define pr_fmt(fmt) "OF: reserved mem: " fmt 39 return -ENOMEM; in early_init_dt_alloc_reserved_memory_arch() 49 * fdt_reserved_mem_save_node() - save fdt node for second pass initialization 61 rmem->fdt_node = node; in fdt_reserved_mem_save_node() 62 rmem->name = uname; in fdt_reserved_mem_save_node() 63 rmem->base = base; in fdt_reserved_mem_save_node() 64 rmem->size = size; in fdt_reserved_mem_save_node() [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/media/ |
| D | s5p-mfc.txt | 10 - compatible : value should be either one among the following 11 (a) "samsung,mfc-v5" for MFC v5 present in Exynos4 SoCs 12 (b) "samsung,mfc-v6" for MFC v6 present in Exynos5 SoCs 13 (c) "samsung,mfc-v7" for MFC v7 present in Exynos5420 SoC 14 (d) "samsung,mfc-v8" for MFC v8 present in Exynos5800 SoC 15 (e) "samsung,exynos5433-mfc" for MFC v8 present in Exynos5433 SoC 16 (f) "samsung,mfc-v10" for MFC v10 present in Exynos7880 SoC 18 - reg : Physical base address of the IP registers and length of memory 21 - interrupts : MFC interrupt number to the CPU. 22 - clocks : from common clock binding: handle to mfc clock. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/ |
| D | s5p-mfc.txt | 10 - compatible : value should be either one among the following 11 (a) "samsung,mfc-v5" for MFC v5 present in Exynos4 SoCs 12 (b) "samsung,mfc-v6" for MFC v6 present in Exynos5 SoCs 13 (c) "samsung,mfc-v7" for MFC v7 present in Exynos5420 SoC 14 (d) "samsung,mfc-v8" for MFC v8 present in Exynos5800 SoC 15 (e) "samsung,exynos5433-mfc" for MFC v8 present in Exynos5433 SoC 16 (f) "samsung,mfc-v10" for MFC v10 present in Exynos7880 SoC 18 - reg : Physical base address of the IP registers and length of memory 21 - interrupts : MFC interrupt number to the CPU. 22 - clocks : from common clock binding: handle to mfc clock. [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/kernel/ |
| D | fadump.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * memory contents. The most of the code implementation has been adapted 32 #include <asm/fadump-internal.h> 56 #define RESERVED_RNGS_SZ 16384 /* 16K - 128 entries */ 60 struct fadump_mrange_info reserved_mrange_info = { "reserved", rngs, 70 * fadump_cma_init() - Initialize CMA area from a fadump reserved memory 72 * This function initializes CMA area from fadump reserved memory. 73 * The total size of fadump reserved memory covers for boot memory size 75 * Initialize only the area equivalent to boot memory size for CMA use. 76 * The reamining portion of fadump reserved memory will be not given [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | memblock.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Procedures for maintaining information about logical memory blocks. 35 * Memblock is a method of managing memory regions during the early 36 * boot period when the usual kernel memory allocators are not up and 39 * Memblock views the system memory as collections of contiguous 42 * * ``memory`` - describes the physical memory available to the 43 * kernel; this may differ from the actual physical memory installed 44 * in the system, for instance when the memory is restricted with 46 * * ``reserved`` - describes the regions that were allocated 47 * * ``physmem`` - describes the actual physical memory available during [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/verifier/ |
| D | ringbuf.c | 4 /* reserve 8 byte ringbuf memory */ 5 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 10 /* store a pointer to the reserved memory in R6 */ 15 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_6, -8), 17 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_10, -8), 20 /* submit the reserved ringbuf memory */ 22 /* add invalid offset to reserved ringbuf memory */ 36 /* reserve 8 byte ringbuf memory */ 37 BPF_ST_MEM(BPF_DW, BPF_REG_10, -8, 0), 42 /* store a pointer to the reserved memory in R6 */ [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
| D | nv40.c | 39 #define nv40_instobj(p) container_of((p), struct nv40_instobj, base.memory) 48 nv40_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data) in nv40_instobj_wr32() argument 50 struct nv40_instobj *iobj = nv40_instobj(memory); in nv40_instobj_wr32() 51 iowrite32_native(data, iobj->imem->iomem + iobj->node->offset + offset); in nv40_instobj_wr32() 55 nv40_instobj_rd32(struct nvkm_memory *memory, u64 offset) in nv40_instobj_rd32() argument 57 struct nv40_instobj *iobj = nv40_instobj(memory); in nv40_instobj_rd32() 58 return ioread32_native(iobj->imem->iomem + iobj->node->offset + offset); in nv40_instobj_rd32() 68 nv40_instobj_release(struct nvkm_memory *memory) in nv40_instobj_release() argument 74 nv40_instobj_acquire(struct nvkm_memory *memory) in nv40_instobj_acquire() argument 76 struct nv40_instobj *iobj = nv40_instobj(memory); in nv40_instobj_acquire() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
| D | nv40.c | 39 #define nv40_instobj(p) container_of((p), struct nv40_instobj, base.memory) 48 nv40_instobj_wr32(struct nvkm_memory *memory, u64 offset, u32 data) in nv40_instobj_wr32() argument 50 struct nv40_instobj *iobj = nv40_instobj(memory); in nv40_instobj_wr32() 51 iowrite32_native(data, iobj->imem->iomem + iobj->node->offset + offset); in nv40_instobj_wr32() 55 nv40_instobj_rd32(struct nvkm_memory *memory, u64 offset) in nv40_instobj_rd32() argument 57 struct nv40_instobj *iobj = nv40_instobj(memory); in nv40_instobj_rd32() 58 return ioread32_native(iobj->imem->iomem + iobj->node->offset + offset); in nv40_instobj_rd32() 68 nv40_instobj_release(struct nvkm_memory *memory) in nv40_instobj_release() argument 74 nv40_instobj_acquire(struct nvkm_memory *memory) in nv40_instobj_acquire() argument 76 struct nv40_instobj *iobj = nv40_instobj(memory); in nv40_instobj_acquire() [all …]
|