| /OK3568_Linux_fs/kernel/Documentation/x86/ |
| H A D | pat.rst | 1 .. 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/ia64/ |
| H A D | aliasing.rst | 2 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 …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/memory-hotplug/ |
| H A D | mem-on-off-test.sh | 2 # 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 …]
|
| /OK3568_Linux_fs/kernel/sound/isa/wavefront/ |
| H A D | wavefront_synth.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/arch/x86/mm/pat/ |
| H A D | memtype.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/ulp/iser/ |
| H A D | iscsi_iser.h | 7 * 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 …]
|
| H A D | iser_initiator.c | 3 * 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 …]
|
| /OK3568_Linux_fs/kernel/net/rds/ |
| H A D | ib_cm.c | 14 * - 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 51 conn->c_version = version; in rds_ib_set_protocol() 59 struct rds_ib_connection *ic = conn->c_transport_data; in rds_ib_set_flow_control() 63 ic->i_flowctl = 1; in rds_ib_set_flow_control() 66 ic->i_flowctl = 0; in rds_ib_set_flow_control() 72 * low timeout, but not the absolute minimum - this should 76 * smallest infinite number :-) above. 81 * Caller passes in a qp_attr pointer - don't waste stack spacv [all …]
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | dm-writecache.c | 1 // 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 …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/share/info/ |
| H A D | libc.info-2 | 11 “GNU Lesser General Public License”, the Front-Cover texts being “A GNU 12 Manual”, and with the Back-Cover Texts as in (a) below. A copy of the 16 (a) The FSF’s Back-Cover Text is: “You have the freedom to copy and 19 INFO-DIR-SECTION Software libraries 20 START-INFO-DIR-ENTRY 22 END-INFO-DIR-ENTRY 24 INFO-DIR-SECTION GNU C library functions and macros 25 START-INFO-DIR-ENTRY 311 * O_CREAT: (libc)Open-time Flags. 312 * O_DIRECTORY: (libc)Open-time Flags. [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/share/info/ |
| H A D | libc.info-2 | 11 “GNU Lesser General Public License”, the Front-Cover texts being “A GNU 12 Manual”, and with the Back-Cover Texts as in (a) below. A copy of the 16 (a) The FSF’s Back-Cover Text is: “You have the freedom to copy and 19 INFO-DIR-SECTION Software libraries 20 START-INFO-DIR-ENTRY 22 END-INFO-DIR-ENTRY 24 INFO-DIR-SECTION GNU C library functions and macros 25 START-INFO-DIR-ENTRY 311 * O_CREAT: (libc)Open-time Flags. 312 * O_DIRECTORY: (libc)Open-time Flags. [all …]
|
| /OK3568_Linux_fs/kernel/net/sunrpc/xprtrdma/ |
| H A D | verbs.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | io.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/ |
| H A D | i915_memcpy.c | 17 * 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/sw/rdmavt/ |
| H A D | qp.c | 2 * Copyright(c) 2016 - 2020 Intel Corporation. 24 * - Redistributions of source code must retain the above copyright 26 * - Redistributions in binary form must reproduce the above copyright 30 * - Neither the name of Intel Corporation nor the names of its 37 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 108 * completions as per IB 1.2 C10-96. 139 * there are no security issues. The extra fault recovery machinery in cacheless_memcpy() 147 struct rvt_wss *wss = rdi->wss; in rvt_wss_exit() 153 kfree(wss->entries); in rvt_wss_exit() 154 wss->entries = NULL; in rvt_wss_exit() [all …]
|
| /OK3568_Linux_fs/kernel/fs/cifs/ |
| H A D | smbdirect.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 60 /* SMBD minimum receive size and fragmented sized defined in [MS-SMBD] */ 72 /* No need to retry on Receiver Not Ready since SMBD manages credits */ 77 * as defined in [MS-SMBD] 3.1.1.1 89 /* The maximum fragmented upper-layer payload receive size supported */ 92 /* The maximum single-message size which can be received */ 163 if (info->transport_status == SMBD_CONNECTED) { in smbd_disconnect_rdma_work() 164 info->transport_status = SMBD_DISCONNECTING; in smbd_disconnect_rdma_work() 165 rdma_disconnect(info->id); in smbd_disconnect_rdma_work() 171 queue_work(info->workqueue, &info->disconnect_work); in smbd_disconnect_rdma_connection() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xquartz/xpr/ |
| H A D | dri.c | 3 Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas. 5 Copyright (c) 2002-2012 Apple Computer, Inc. 22 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 23 IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR 38 #include <dix-config.h> 68 #include "x-hash.h" 69 #include "x-hook.h" 83 static x_hash_table *surface_hash; /* maps surface ids -> drawablePrivs */ 117 dixSetPrivate(&pScreen->devPrivates, DRIScreenPrivKey, NULL); in DRIScreenInit() 121 dixSetPrivate(&pScreen->devPrivates, DRIScreenPrivKey, pDRIPriv); in DRIScreenInit() [all …]
|
| /OK3568_Linux_fs/kernel/include/xen/interface/ |
| H A D | xen.h | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 86 /* Architecture-specific hypercall definitions. */ 100 * In the side comments, 'V.' denotes a per-VCPU VIRQ while 'G.' denotes a 101 * global VIRQ. The former can be bound once per VCPU and cannot be re-bound. 103 * allocated to VCPU0 but can subsequently be re-bound. 114 #define VIRQ_MEM_EVENT 10 /* G. (DOM0) A memory event has occured */ 116 #define VIRQ_ENOMEM 12 /* G. (DOM0) Low on heap memory */ 119 /* Architecture-specific VIRQ definitions. */ 144 * x != 0 => PFD == x - 1 146 * Sub-commands: ptr[1:0] specifies the appropriate MMU_* command. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/nvme/host/ |
| H A D | rdma.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2015-2016 HGST, a Western Digital Company. 14 #include <linux/blk-mq.h> 15 #include <linux/blk-mq-rdma.h> 25 #include <linux/nvme-rdma.h> 144 * allows read and write access to all physical memory. 149 "Use memory registration even for contiguous memory regions"); 153 static void nvme_rdma_recv_done(struct ib_cq *cq, struct ib_wc *wc); 161 return queue - queue->ctrl->queues; in nvme_rdma_queue_idx() 167 queue->ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_rdma_poll_queue() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xwin/ |
| H A D | winwin32rootless.c | 2 *Copyright (C) 1994-2000 The XFree86 Project, Inc. All Rights Reserved. 18 *NONINFRINGEMENT. IN NO EVENT SHALL THE XFREE86 PROJECT BE LIABLE FOR 36 #include <xwin-config.h> 91 /* Create a memory bitmap compatible with the screen */ in winMWExtWMQueryDIBFormat() 92 hbmp = CreateCompatibleBitmap(pRLWinPriv->hdcScreen, 1, 1); in winMWExtWMQueryDIBFormat() 94 ErrorF("winMWExtWMQueryDIBFormat - CreateCompatibleBitmap failed\n"); in winMWExtWMQueryDIBFormat() 100 pbmih->biSize = sizeof(BITMAPINFOHEADER); in winMWExtWMQueryDIBFormat() 103 if (!GetDIBits(pRLWinPriv->hdcScreen, in winMWExtWMQueryDIBFormat() 105 ErrorF("winMWExtWMQueryDIBFormat - First call to GetDIBits failed\n"); in winMWExtWMQueryDIBFormat() 114 winDebug("winMWExtWMQueryDIBFormat - First call masks: %08x %08x %08x\n", in winMWExtWMQueryDIBFormat() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ntfs/ |
| H A D | unistr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * unistr.c - NTFS Unicode string handling. Part of the Linux-NTFS project. 5 * Copyright (c) 2001-2006 Anton Altaparmakov 41 * ntfs_are_names_equal - compare two Unicode names for equality 66 * ntfs_collate_names - collate two Unicode names 76 * -1 if the first name collates before the second one, 106 return -1; in ntfs_collate_names() 111 return -1; in ntfs_collate_names() 122 * ntfs_ucsncmp - compare two little endian Unicode strings 129 * conversion is performed on non-little endian machines. [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | smc911x.h | 6 * SPDX-License-Identifier: GPL-2.0+ 25 return *(volatile u32*)(dev->iobase + offset); in __smc911x_reg_read() 33 *(volatile u32*)(dev->iobase + offset) = val; in __smc911x_reg_write() 40 volatile u16 *addr_16 = (u16 *)(dev->iobase + offset); in smc911x_reg_read() 46 *(volatile u16 *)(dev->iobase + offset) = (u16)val; in smc911x_reg_write() 47 *(volatile u16 *)(dev->iobase + offset + 2) = (u16)(val >> 16); in smc911x_reg_write() 54 * of the Lan911x memory space 116 #define INT_STS_SW_INT 0x80000000 /* R/WC */ 117 #define INT_STS_TXSTOP_INT 0x02000000 /* R/WC */ 118 #define INT_STS_RXSTOP_INT 0x01000000 /* R/WC */ [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sram/ |
| H A D | sram.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic on-chip SRAM 10 - Rob Herring <robh@kernel.org> 13 Simple IO memory regions to be managed by the genalloc API. 15 Each child of the sram node specifies a region of reserved memory. Each 17 reserved memory. 19 Following the generic-names recommended practice, node names should 30 - mmio-sram [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/cxgb4/ |
| H A D | cq.c | 2 * Copyright (c) 2009-2010 Chelsio, Inc. All rights reserved. 14 * - 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 49 res_wr->op_nres = cpu_to_be32( in destroy_cq() 53 res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); in destroy_cq() 54 res_wr->cookie = (uintptr_t)wr_waitp; in destroy_cq() 55 res = res_wr->res; in destroy_cq() 56 res->u.cq.restype = FW_RI_RES_TYPE_CQ; in destroy_cq() 57 res->u.cq.op = FW_RI_RES_OP_RESET; in destroy_cq() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/mtrr/ |
| H A D | mtrr.c | 1 /* Generic MTRR (Memory Type Range Register) driver. 3 Copyright (C) 1997-2000 Richard Gooch 29 on 6-7 March 2002. 31 System Programming Guide; Section 9.11. (1997 edition - PPro). 85 if (ops->vendor && ops->vendor < X86_VENDOR_NUM) in set_mtrr_ops() 86 mtrr_ops[ops->vendor] = ops; in set_mtrr_ops() 89 /* Returns non-zero if we have the write-combining memory type */ 98 * write-combining. Don't allow it and leave room for other in have_wrcomb() 101 if (dev->vendor == PCI_VENDOR_ID_SERVERWORKS && in have_wrcomb() 102 dev->device == PCI_DEVICE_ID_SERVERWORKS_LE && in have_wrcomb() [all …]
|