Home
last modified time | relevance | path

Searched +full:no +full:- +full:memory +full:- +full:wc (Results 1 – 25 of 275) sorted by relevance

1234567891011

/kernel/linux/linux-4.19/Documentation/x86/
Dpat.txt4 x86 Page Attribute Table (PAT) allows for setting the memory attribute at the
6 for setting of memory types over physical address ranges. However, PAT is
8 and also due to the fact that there are no hardware limitations on number of
10 not having memory type aliasing for the same physical memory with multiple
13 PAT allows for different types of memory attributes. The most commonly used
14 ones that will be supported at this time are Write-back, Uncached,
15 Write-combined, Write-through and Uncached Minus.
19 --------
21 There are many different APIs in the kernel that allows setting of memory
24 their intended usage and their memory attribute relationships. Internally,
[all …]
/kernel/linux/linux-5.10/Documentation/x86/
Dpat.rst1 .. SPDX-License-Identifier: GPL-2.0
7 x86 Page Attribute Table (PAT) allows for setting the memory attribute at the
9 for setting of memory types over physical address ranges. However, PAT is
11 and also due to the fact that there are no hardware limitations on number of
13 not having memory type aliasing for the same physical memory with multiple
16 PAT allows for different types of memory attributes. The most commonly used
20 WB Write-back
22 WC Write-combined
23 WT Write-through
24 UC- Uncached Minus
[all …]
/kernel/linux/linux-4.19/Documentation/ia64/
Daliasing.txt1 MEMORY ATTRIBUTE ALIASING ON IA-64
8 MEMORY ATTRIBUTES
10 Itanium supports several attributes for virtual memory references.
15 WB Write-back (cacheable)
17 WC Write-coalescing
19 System memory typically uses the WB attribute. The UC attribute is
20 used for memory-mapped I/O devices. The WC attribute is uncacheable
29 support either WB or UC access to main memory, while others support
32 MEMORY MAP
34 Platform firmware describes the physical memory map and the
[all …]
/kernel/linux/linux-5.10/Documentation/ia64/
Daliasing.rst2 Memory Attribute Aliasing on IA-64
10 Memory Attributes
13 Itanium supports several attributes for virtual memory references.
19 WB Write-back (cacheable)
21 WC Write-coalescing
24 System memory typically uses the WB attribute. The UC attribute is
25 used for memory-mapped I/O devices. The WC attribute is uncacheable
34 support either WB or UC access to main memory, while others support
37 Memory Map
40 Platform firmware describes the physical memory map and the
[all …]
/kernel/linux/linux-4.19/net/sunrpc/xprtrdma/
Dfrwr_ops.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright (c) 2003-2007 Network Appliance, Inc. All rights reserved.
7 /* Lightweight memory registration using Fast Registration Work
11 * of arbitrarily sized memory regions. This is the fastest and safest
12 * but most complex memory registration mode.
17 * A Memory Region is prepared for RDMA READ or WRITE using a FAST_REG
19 * Memory Region is invalidated using a LOCAL_INV Work Request
29 * rb_mrs immediately so that no work (like managing a linked list
40 * ->op_map and the transport connect worker cannot run at the same
41 * time, but ->op_unmap can fire while the transport connect worker
[all …]
Dverbs.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (c) 2014-2017 Oracle. All rights reserved.
4 * Copyright (c) 2003-2007 Network Appliance, Inc. All rights reserved.
9 * COPYING in the main directory of this source tree, or the BSD-type
32 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
49 * o buffer memory
57 #include <asm-generic/barrier.h>
93 return -ENOMEM; in rpcrdma_alloc_wq()
120 ib_event_msg(event->event), event->device->name, context); in rpcrdma_qp_async_error_upcall()
122 if (ep->rep_connected == 1) { in rpcrdma_qp_async_error_upcall()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/memory-hotplug/
Dmem-on-off-test.sh2 # SPDX-License-Identifier: GPL-2.0
6 # Kselftest framework requirement - SKIP code is 4.
18 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
20 if [ ! -d "$SYSFS" ]; then
25 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then
26 echo $msg memory hotplug is not supported >&2
30 if ! grep -q 1 $SYSFS/devices/system/memory/memory*/removable; then
31 echo $msg no hot-pluggable memory >&2
37 # list all hot-pluggable memory
41 local state=${1:-.\*}
[all …]
/kernel/linux/linux-4.19/tools/testing/selftests/memory-hotplug/
Dmem-on-off-test.sh2 # SPDX-License-Identifier: GPL-2.0
6 # Kselftest framework requirement - SKIP code is 4.
18 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
20 if [ ! -d "$SYSFS" ]; then
25 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then
26 echo $msg memory hotplug is not supported >&2
30 if ! grep -q 1 $SYSFS/devices/system/memory/memory*/removable; then
31 echo $msg no hot-pluggable memory >&2
37 # list all hot-pluggable memory
41 local state=${1:-.\*}
[all …]
/kernel/linux/linux-4.19/drivers/md/
Ddm-writecache.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/device-mapper.h>
13 #include <linux/dm-io.h>
14 #include <linux/dm-kcopyd.h>
98 #define WC_MODE_PMEM(wc) ((wc)->pmem_mode) argument
99 #define WC_MODE_FUA(wc) ((wc)->writeback_fua) argument
101 #define WC_MODE_PMEM(wc) false argument
102 #define WC_MODE_FUA(wc) false argument
104 #define WC_MODE_SORT_FREELIST(wc) (!WC_MODE_PMEM(wc)) argument
190 struct dm_writecache *wc; member
[all …]
/kernel/linux/linux-5.10/drivers/md/
Ddm-writecache.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/device-mapper.h>
13 #include <linux/dm-io.h>
14 #include <linux/dm-kcopyd.h>
30 #define MAX_AGE_UNSPECIFIED -1UL
101 #define WC_MODE_PMEM(wc) ((wc)->pmem_mode) argument
102 #define WC_MODE_FUA(wc) ((wc)->writeback_fua) argument
104 #define WC_MODE_PMEM(wc) false argument
105 #define WC_MODE_FUA(wc) false argument
107 #define WC_MODE_SORT_FREELIST(wc) (!WC_MODE_PMEM(wc)) argument
[all …]
/kernel/linux/linux-5.10/sound/isa/wavefront/
Dwavefront_synth.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (C) by Paul Barton-Davis 1998-1999
5 * copyright (C) by Hannu Savolainen 1993-1996
14 * of GUS patches during loading, and full user-level access to all
15 * WaveFront commands. It tries to provide semi-intelligent patch and
36 loading. if non-zero, then during driver loading, the
80 checks on-board RAM.
87 MODULE_PARM_DESC(wf_raw, "if non-zero, assume that we need to boot the OS");
89 MODULE_PARM_DESC(fx_raw, "if non-zero, assume that the FX process needs help");
107 /* if WF_DEBUG not defined, no run-time debugging messages will
[all …]
/kernel/linux/linux-4.19/sound/isa/wavefront/
Dwavefront_synth.c1 /* Copyright (C) by Paul Barton-Davis 1998-1999
4 * copyright (C) by Hannu Savolainen 1993-1996
17 * of GUS patches during loading, and full user-level access to all
18 * WaveFront commands. It tries to provide semi-intelligent patch and
39 loading. if non-zero, then during driver loading, the
83 checks on-board RAM.
90 MODULE_PARM_DESC(wf_raw, "if non-zero, assume that we need to boot the OS");
92 MODULE_PARM_DESC(fx_raw, "if non-zero, assume that the FX process needs help");
110 /* if WF_DEBUG not defined, no run-time debugging messages will
121 if ((dev->debug & (cond)) == (cond)) { \
[all …]
/kernel/linux/linux-4.19/arch/x86/mm/
Dpat.c84 * memory type of pages that have backing page struct.
86 * X86 PAT supports 4 different memory types:
87 * - _PAGE_CACHE_MODE_WB
88 * - _PAGE_CACHE_MODE_WC
89 * - _PAGE_CACHE_MODE_UC_MINUS
90 * - _PAGE_CACHE_MODE_WT
104 unsigned long pg_flags = pg->flags & _PGMT_MASK; in get_page_memtype()
140 old_flags = pg->flags; in set_page_memtype()
142 } while (cmpxchg(&pg->flags, old_flags, new_flags) != old_flags); in set_page_memtype()
147 return -1; in get_page_memtype()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/sram/
Dsram.txt1 Generic on-chip SRAM
3 Simple IO memory regions to be managed by the genalloc API.
7 - compatible : mmio-sram or atmel,sama5d2-securam
9 - reg : SRAM iomem address range
12 ---------------------
14 Each child of the sram node specifies a region of reserved memory. Each
16 reserved memory.
18 Following the generic-names recommended practice, node names should
24 - #address-cells, #size-cells : should use the same values as the root node
25 - ranges : standard definition, should translate from local addresses
[all …]
/kernel/linux/linux-5.10/arch/x86/mm/pat/
Dmemtype.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Page Attribute Table (PAT) support: handle memory caching attributes in page tables.
14 * memory ranges: uncached, write-combining, write-through, write-protected,
15 * and the most commonly used and default attribute: write-back caching.
18 * a hardware interface to enumerate a limited number of physical memory ranges
20 * Even modern CPUs have MTRRs enabled - but these are typically not touched
21 * by the kernel or by user-space (such as the X server), we rely on PAT for any
24 * PAT doesn't work via explicit memory ranges, but uses page table entries to add
25 * cache attribute information to the mapped memory range: there's 3 bits used,
70 * various user-requested or hardware-forced reasons:
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
Discsi_iser.h7 * based on code maintained by open-iscsi@googlegroups.com
11 * Copyright (c) 2013-2014 Mellanox Technologies. All rights reserved.
23 * - Redistributions of source code must retain the above
27 * - Redistributions in binary form must reproduce the above
35 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
58 #include <linux/dma-mapping.h>
127 * supports -EAGAIN scheme where tx is suspended till the QP has room for more *
140 /* For Signature we don't support DATAOUTs so no need to make room for them */
147 - ISER_MAX_TX_MISC_PDUS \
148 - ISER_MAX_RX_MISC_PDUS) / \
[all …]
Diser_initiator.c3 * Copyright (c) 2013-2014 Mellanox Technologies. All rights reserved.
15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
27 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
43 /* Register user buffer memory and initialize passive rdma
45 * task->data[ISER_DIR_IN].data_len, Protection size
46 * os stored in task->prot[ISER_DIR_IN].data_len
51 struct iscsi_iser_task *iser_task = task->dd_data; in iser_prepare_read_cmd()
54 struct iser_ctrl *hdr = &iser_task->desc.iser_header; in iser_prepare_read_cmd()
55 struct iser_data_buf *buf_in = &iser_task->data[ISER_DIR_IN]; in iser_prepare_read_cmd()
[all …]
/kernel/linux/linux-4.19/drivers/infiniband/ulp/iser/
Discsi_iser.h7 * based on code maintained by open-iscsi@googlegroups.com
11 * Copyright (c) 2013-2014 Mellanox Technologies. All rights reserved.
23 * - Redistributions of source code must retain the above
27 * - Redistributions in binary form must reproduce the above
35 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
58 #include <linux/dma-mapping.h>
101 #define MASK_4K (~(SIZE_4K-1))
131 * supports -EAGAIN scheme where tx is suspended till the QP has room for more *
144 /* For Signature we don't support DATAOUTs so no need to make room for them */
151 - ISER_MAX_TX_MISC_PDUS \
[all …]
Diser_initiator.c3 * Copyright (c) 2013-2014 Mellanox Technologies. All rights reserved.
15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
27 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
43 /* Register user buffer memory and initialize passive rdma
45 * task->data[ISER_DIR_IN].data_len, Protection size
46 * os stored in task->prot[ISER_DIR_IN].data_len
51 struct iscsi_iser_task *iser_task = task->dd_data; in iser_prepare_read_cmd()
54 struct iser_ctrl *hdr = &iser_task->desc.iser_header; in iser_prepare_read_cmd()
55 struct iser_data_buf *buf_in = &iser_task->data[ISER_DIR_IN]; in iser_prepare_read_cmd()
[all …]
/kernel/linux/linux-5.10/net/rds/
Dib_cm.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
52 conn->c_version = version; in rds_ib_set_protocol()
60 struct rds_ib_connection *ic = conn->c_transport_data; in rds_ib_set_flow_control()
64 ic->i_flowctl = 1; in rds_ib_set_flow_control()
67 ic->i_flowctl = 0; in rds_ib_set_flow_control()
73 * low timeout, but not the absolute minimum - this should
77 * smallest infinite number :-) above.
82 * Caller passes in a qp_attr pointer - don't waste stack spacv
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_memcpy.c17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
51 :: "r" (src), "r" (dst) : "memory"); in __memcpy_ntdqa()
54 len -= 4; in __memcpy_ntdqa()
56 while (len--) { in __memcpy_ntdqa()
59 :: "r" (src), "r" (dst) : "memory"); in __memcpy_ntdqa()
80 :: "r" (src), "r" (dst) : "memory"); in __memcpy_ntdqu()
83 len -= 4; in __memcpy_ntdqu()
85 while (len--) { in __memcpy_ntdqu()
88 :: "r" (src), "r" (dst) : "memory"); in __memcpy_ntdqu()
97 * i915_memcpy_from_wc: perform an accelerated *aligned* read from WC
[all …]
/kernel/linux/linux-5.10/include/linux/
Dio.h1 /* SPDX-License-Identifier: GPL-2.0-only */
83 * Posting") mandate non-posted configuration transactions. There is
84 * no ioremap API in the kernel that can guarantee non-posted write
87 * should override it if they have memory mapping implementations that
88 * guarantee non-posted writes semantics to make the memory mapping
113 * end up write-combining. This facility should be used in conjunction
114 * with pgprot_writecombine, ioremap-wc, or set_memory_wc, since it has
115 * no effect if the per-page mechanisms are functional.
119 * to have no effect.
136 return -1; in arch_phys_wc_index()
[all …]
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
Dverbs.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (c) 2014-2017 Oracle. All rights reserved.
4 * Copyright (c) 2003-2007 Network Appliance, Inc. All rights reserved.
9 * COPYING in the main directory of this source tree, or the BSD-type
32 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
49 * o buffer memory
58 #include <asm-generic/barrier.h>
101 struct rpcrdma_ep *ep = r_xprt->rx_ep; in rpcrdma_xprt_drain()
102 struct rdma_cm_id *id = ep->re_id; in rpcrdma_xprt_drain()
107 ib_drain_rq(id->qp); in rpcrdma_xprt_drain()
[all …]
/kernel/linux/linux-4.19/include/linux/
Dio.h15 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
98 * Posting") mandate non-posted configuration transactions. There is
99 * no ioremap API in the kernel that can guarantee non-posted write
102 * should override it if they have memory mapping implementations that
103 * guarantee non-posted writes semantics to make the memory mapping
128 * end up write-combining. This facility should be used in conjunction
129 * with pgprot_writecombine, ioremap-wc, or set_memory_wc, since it has
130 * no effect if the per-page mechanisms are functional.
134 * to have no effect.
151 return -1; in arch_phys_wc_index()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/i915/
Di915_memcpy.c17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
47 :: "r" (src), "r" (dst) : "memory"); in __memcpy_ntdqa()
50 len -= 4; in __memcpy_ntdqa()
52 while (len--) { in __memcpy_ntdqa()
55 :: "r" (src), "r" (dst) : "memory"); in __memcpy_ntdqa()
65 * i915_memcpy_from_wc: perform an accelerated *aligned* read from WC
71 * non-temporal instructions where available. Note that all arguments
75 * To test whether accelerated reads from WC are supported, use
100 * Some hypervisors (e.g. KVM) don't support VEX-prefix instructions in i915_memcpy_init_early()

1234567891011