Home
last modified time | relevance | path

Searched +full:cma +full:- +full:default (Results 1 – 25 of 120) sorted by relevance

12345

/openbmc/linux/kernel/dma/
H A Dcontiguous.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright (c) 2010-2011 by Samsung Electronics.
11 * The Contiguous Memory Allocator (CMA) makes it possible to
17 * Various devices on embedded systems have no scatter-getter and/or
32 * CMA tries to solve this issue by operating on memory regions
38 #define pr_fmt(fmt) "cma: " fmt
51 #include <linux/dma-map-ops.h>
52 #include <linux/cma.h>
61 struct cma *dma_contiguous_default_area;
64 * Default global CMA area size can be defined in kernel's .config.
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
9 default y
84 # by default.
95 default n
100 pools as needed. To reduce run-time kernel memory requirements, you
119 <Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt>
124 # Should be selected if we can mmap non-coherent mappings to userspace.
129 default y if !MMU
147 depends on HAVE_DMA_CONTIGUOUS && CMA
150 to allocate big physically-contiguous blocks of memory for use with
[all …]
H A Dpool.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/cma.h>
8 #include <linux/dma-map-ops.h>
9 #include <linux/dma-direct.h>
60 struct cma *cma; in cma_in_zone() local
62 cma = dev_get_cma_area(NULL); in cma_in_zone()
63 if (!cma) in cma_in_zone()
66 size = cma_get_size(cma); in cma_in_zone()
70 /* CMA can't cross zone boundaries, see cma_activate_area() */ in cma_in_zone()
71 end = cma_get_base(cma) + size - 1; in cma_in_zone()
[all …]
/openbmc/linux/mm/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
18 default y
33 compress them into a dynamically allocated RAM-based memory pool.
39 bool "Enable the compressed cache for swap pages by default"
62 swapped out again, it will be re-compressed.
65 prompt "Default compressor"
67 default ZSWAP_COMPRESSOR_DEFAULT_LZO
69 Selects the default compression algorithm for the compressed cache
86 Use the Deflate algorithm as the default compression algorithm.
92 Use the LZO algorithm as the default compression algorithm.
[all …]
/openbmc/linux/Documentation/devicetree/bindings/reserved-memory/
H A Dshared-dma-pool.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/reserved-memory/shared-dma-pool.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: /reserved-memory DMA pool
10 - devicetree-spec@vger.kernel.org
13 - $ref: reserved-memory.yaml
18 - const: shared-dma-pool
25 - const: restricted-dma-pool
30 When using this, the no-map and reusable properties must not
[all …]
/openbmc/linux/arch/xtensa/boot/dts/
H A Dkc705.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 /include/ "xtfpga-flash-128m.dtsi"
7 compatible = "cdns,xtensa-kc705";
16 reserved-memory {
17 #address-cells = <1>;
18 #size-cells = <1>;
22 linux,cma {
23 compatible = "shared-dma-pool";
27 alloc-ranges = <0x00000000 0x20000000>;
[all …]
/openbmc/linux/Documentation/devicetree/bindings/media/
H A Dnuvoton,npcm-vcd.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/nuvoton,npcm-vcd.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Joseph Liu <kwliu@nuvoton.com>
11 - Marvin Lin <kflin@nuvoton.com>
19 - nuvoton,npcm750-vcd
20 - nuvoton,npcm845-vcd
43 memory-region:
46 CMA pool to use for buffers allocation instead of the default CMA pool.
[all …]
H A Dallwinner,sun4i-a10-video-engine.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/media/allwinner,sun4i-a10-video-engine.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
16 - allwinner,sun4i-a10-video-engine
17 - allwinner,sun5i-a13-video-engine
18 - allwinner,sun7i-a20-video-engine
19 - allwinner,sun8i-a33-video-engine
[all …]
/openbmc/u-boot/include/configs/
H A Dbcmstb.h1 /* SPDX-License-Identifier: GPL-2.0+ */
51 * 0x01f0 0000 DTB copied from prior-stage-provided region
55 * : [~208 MiB uncompressed max, to CMA/bmem low address]
61 * 0x0761 7000 Prior-stage-provided device tree binary (DTB)
63 * 0x0f00 0000 Contiguous memory allocator (CMA/bmem) low address
65 * 0x8010 0000 U-Boot code at ELF load address
69 * Setting gd->relocaddr to CONFIG_SYS_TEXT_BASE in dram_init_banksize
70 * prevents U-Boot from relocating itself when it is run as an ELF
73 * We want to keep the ramdisk and FDT in the FIT image in-place, to
74 * accommodate stblinux's bmem and CMA regions. To accomplish this,
[all …]
/openbmc/linux/Documentation/powerpc/
H A Dfirmware-assisted-dump.rst2 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 …]
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dimx93-11x11-evk.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
12 compatible = "fsl,imx93-11x11-evk", "fsl,imx93";
15 stdout-path = &lpuart1;
18 reserved-memory {
19 #address-cells = <2>;
20 #size-cells = <2>;
23 linux,cma {
24 compatible = "shared-dma-pool";
26 alloc-ranges = <0 0x80000000 0 0x40000000>;
[all …]
H A Dimx93-tqma9352.dtsi1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright (c) 2022 TQ-Systems GmbH <linux@ew.tq-group.com>,
4 * D-82229 Seefeld, Germany.
11 model = "TQ-Systems i.MX93 TQMa93xxLA/TQMa93xxCA SOM";
12 compatible = "tq,imx93-tqma9352", "fsl,imx93";
14 reserved-memory {
15 #address-cells = <2>;
16 #size-cells = <2>;
19 linux,cma {
20 compatible = "shared-dma-pool";
[all …]
H A Dimx8ulp-evk.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
12 compatible = "fsl,imx8ulp-evk", "fsl,imx8ulp";
15 stdout-path = &lpuart5;
23 reserved-memory {
24 #address-cells = <2>;
25 #size-cells = <2>;
28 linux,cma {
29 compatible = "shared-dma-pool";
32 linux,cma-default;
[all …]
H A Dimx8mn-tqma8mqnl.dtsi1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright 2020-2021 TQ-Systems GmbH
9 model = "TQ-Systems i.MX8MN TQMa8MxNL";
10 compatible = "tq,imx8mn-tqma8mqnl", "fsl,imx8mn";
18 /* e-MMC IO, needed for HS modes */
19 reg_vcc1v8: regulator-vcc1v8 {
20 compatible = "regulator-fixed";
21 regulator-name = "TQMA8MXNL_VCC1V8";
22 regulator-min-microvolt = <1800000>;
23 regulator-max-microvolt = <1800000>;
[all …]
H A Dimx8mm-tqma8mqml.dtsi1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright 2020-2021 TQ-Systems GmbH
6 #include <dt-bindings/phy/phy-imx8-pcie.h>
10 model = "TQ-Systems GmbH i.MX8MM TQMa8MxML";
11 compatible = "tq,imx8mm-tqma8mqml", "fsl,imx8mm";
19 /* e-MMC IO, needed for HS modes */
20 reg_vcc1v8: regulator-vcc1v8 {
21 compatible = "regulator-fixed";
22 regulator-name = "TQMA8MXML_VCC1V8";
23 regulator-min-microvolt = <1800000>;
[all …]
H A Dimx8mq-tqma8mq.dtsi1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright 2019-2021 TQ-Systems GmbH
9 model = "TQ-Systems GmbH i.MX8MQ TQMa8MQ";
10 compatible = "tq,imx8mq-tqma8mq", "fsl,imx8mq";
18 /* e-MMC IO, needed for HS modes */
19 reg_vcc1v8: regulator-vcc1v8 {
20 compatible = "regulator-fixed";
21 regulator-name = "TQMA8MX_VCC1V8";
22 regulator-min-microvolt = <1800000>;
23 regulator-max-microvolt = <1800000>;
[all …]
H A Dimx8dxl-evk.dts1 // SPDX-License-Identifier: GPL-2.0+
6 /dts-v1/;
12 compatible = "fsl,imx8dxl-evk", "fsl,imx8dxl";
22 stdout-path = &lpuart0;
30 reserved-memory {
31 #address-cells = <2>;
32 #size-cells = <2>;
37 * This will be automatically added to dtb if OP-TEE is installed.
40 * no-map;
45 linux,cma {
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ul-ccimx6ulsom.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Digi International's ConnectCore 6UL System-On-Module device tree source
12 reg = <0x80000000 0>; /* will be filled by U-Boot */
15 reserved-memory {
16 #address-cells = <1>;
17 #size-cells = <1>;
20 linux,cma {
21 compatible = "shared-dma-pool";
24 linux,cma-default;
30 vref-supply = <&vdda_adc_3v3>;
[all …]
/openbmc/u-boot/doc/
H A DREADME.bcm7xxx4 This document describes how to use U-Boot on the Broadcom 7445 SoC, as
7 BOLT loads U-Boot as a generic ELF binary. Some U-Boot features such
11 - ext4 file system traversal
13 - support for loading FIT images
15 - advanced scripting
17 - support for FIT-provided DTBs instead of relying on the
18 BOLT-provided DTB
29 ${CROSS_COMPILE}strip u-boot
34 Flash the u-boot binary into board storage, then invoke it from BOLT.
37 BOLT> boot -bsu -elf flash0.u-boot1
[all …]
/openbmc/linux/drivers/gpu/drm/etnaviv/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
12 select CMA if HAVE_DMA_CONTIGUOUS
21 default y
/openbmc/linux/include/linux/
H A Ddma-map-ops.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #include <linux/dma-mapping.h>
13 struct cma;
88 #include <asm/dma-mapping.h>
92 if (dev->dma_ops) in get_dma_ops()
93 return dev->dma_ops; in get_dma_ops()
100 dev->dma_ops = dma_ops; in set_dma_ops()
114 extern struct cma *dma_contiguous_default_area;
116 static inline struct cma *dev_get_cma_area(struct device *dev) in dev_get_cma_area()
118 if (dev && dev->cma_area) in dev_get_cma_area()
[all …]
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-a1.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/gpio/meson-a1-gpio.h>
13 interrupt-parent = <&gic>;
14 #address-cells = <2>;
15 #size-cells = <2>;
18 #address-cells = <2>;
19 #size-cells = <0>;
23 compatible = "arm,cortex-a35";
[all …]
/openbmc/linux/Documentation/arch/arm/omap/
H A Ddss.rst7 TV-out and multiple display support, but there are lots of small improvements
10 The DSS2 driver (omapdss module) is in arch/arm/plat-omap/dss/, and the FB,
15 --------
19 - MIPI DPI (parallel) output
20 - MIPI DSI output in command mode
21 - MIPI DBI (RFBI) output
22 - SDI output
23 - TV output
24 - All pieces can be compiled as a module or inside kernel
25 - Use DISPC to update any of the outputs
[all …]
/openbmc/linux/drivers/s390/char/
H A Dvmcp.c1 // SPDX-License-Identifier: GPL-2.0
24 #include <linux/cma.h>
42 static struct cma *vmcp_cma;
65 order = get_order(session->bufsize); in vmcp_response_alloc()
66 nr_pages = ALIGN(session->bufsize, PAGE_SIZE) >> PAGE_SHIFT; in vmcp_response_alloc()
69 * allocator. If such low-order allocations can't be handled in vmcp_response_alloc()
75 session->response = (char *)page_to_virt(page); in vmcp_response_alloc()
76 session->cma_alloc = 1; in vmcp_response_alloc()
79 session->response = (char *)__get_free_pages(GFP_KERNEL | __GFP_RETRY_MAYFAIL, order); in vmcp_response_alloc()
87 if (!session->response) in vmcp_response_free()
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A Dfadump.c1 // SPDX-License-Identifier: GPL-2.0-or-later
25 #include <linux/cma.h>
33 #include <asm/fadump-internal.h>
58 #define RESERVED_RNGS_SZ 16384 /* 16K - 128 entries */
68 static struct cma *fadump_cma;
71 * fadump_cma_init() - Initialize CMA area from a fadump reserved memory
73 * This function initializes CMA area from fadump reserved memory.
76 * Initialize only the area equivalent to boot memory size for CMA use.
78 * to CMA and pages for those will stay reserved. boot memory size is
79 * aligned per CMA requirement to satisy cma_init_reserved_mem() call.
[all …]

12345