/openbmc/linux/Documentation/driver-api/md/ |
H A D | raid5-cache.rst | 7 caches data to the RAID disks. The cache can be in write-through (supported 8 since 4.4) or write-back mode (supported since 4.10). mdadm (supported since 9 3.4) has a new option '--write-journal' to create array with cache. Please 11 in write-through mode. A user can switch it to write-back mode by:: 13 echo "write-back" > /sys/block/md0/md/journal_mode 15 And switch it back to write-through mode by:: 17 echo "write-through" > /sys/block/md0/md/journal_mode 22 write-through mode 25 This mode mainly fixes the 'write hole' issue. For RAID 4/5/6 array, an unclean 27 and parity don't match. The reason is that a stripe write involves several RAID [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-bdi | 14 non-block filesystems which provide their own BDI, such as NFS 17 MAJOR:MINOR-fuseblk 23 The default backing dev, used for non-block device backed 30 Size of the read-ahead window in kilobytes 32 (read-write) 38 total write-back cache that relates to its current average 42 percentage of the write-back cache to a particular device. 45 (read-write) 52 total write-back cache that relates to its current average 56 of the write-back cache to a particular device. The value is [all …]
|
H A D | debugfs-scmi-raw | 5 Description: SCMI Raw synchronous message injection/snooping facility; write 7 in little-endian binary format to have it sent to the configured 11 Each write to the entry causes one command request to be built 12 and sent while the replies are read back one message at time 20 Description: SCMI Raw asynchronous message injection/snooping facility; write 22 in little-endian binary format to have it sent to the configured 29 Each write to the entry causes one command request to be built 30 and sent while the replies are read back one message at time 38 Description: SCMI Raw message errors facility; any kind of timed-out or 41 Each read gives back one message at time (receiving an EOF at [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/arm64/ |
H A D | recommended.json | 9 "PublicDescription": "Attributable Level 1 data cache access, write", 12 "BriefDescription": "L1D cache access, write" 21 "PublicDescription": "Attributable Level 1 data cache refill, write", 24 "BriefDescription": "L1D cache refill, write" 39 "PublicDescription": "Attributable Level 1 data cache Write-Back, victim", 42 "BriefDescription": "L1D cache Write-Back, victim" 45 "PublicDescription": "Level 1 data cache Write-Back, cleaning and coherency", 48 "BriefDescription": "L1D cache Write-Back, cleaning and coherency" 63 "PublicDescription": "Attributable Level 1 data TLB refill, write", 66 "BriefDescription": "L1D tlb refill, write" [all …]
|
/openbmc/linux/Documentation/scsi/ |
H A D | sd-parameters.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 --------------- 9 Enable/disable drive write & read cache. 12 cache_type string WCE RCD Write cache Read cache 14 write through 0 0 off on 16 write back 1 0 on on 17 write back, no read (daft) 1 1 on off 20 To set cache type to "write back" and save this setting to the drive:: 22 # echo "write back" > cache_type 27 # echo "temporary write back" > cache_type
|
/openbmc/linux/include/linux/ |
H A D | counter.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 39 * struct counter_comp - Counter component node 41 * @name: device-specific component name 42 * @priv: component-relevant data 44 * respective Synapse action mode should be passed back via 47 * respective Device u8 component should be passed back via 50 * respective Count u8 component should be passed back via 53 * respective Signal u8 component should be passed back via 57 * back via the val parameter. 59 * respective Count u32 component should be passed back via [all …]
|
H A D | pstore_zone.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * struct pstore_zone_info - pstore/zone back-end driver structure 14 * @owner: Module which is responsible for this back-end driver. 15 * @name: Name of the back-end driver. 28 * @write: The same as @read, but the following error number: 29 * -EBUSY means try to write again later. 30 * -ENOMSG means to try next zone. 35 * @panic_write:The write operation only used for panic case. It's optional 39 * excluding -ENOMSG mean error. -ENOMSG means to try next zone. 52 pstore_zone_write_op write; member
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | watchdog.h | 1 /* SPDX-License-Identifier: GPL-2.0+ 3 * include/asm-sh/watchdog.h 25 * See cpu-sh2/watchdog.h for explanation of this stupidity.. 36 * CKS0-2 supports a number of clock division ratios. At the time the watchdog 39 * lower than WTCSR_CKS_1024, else we drop back into the usec range. 42 * -------------------------------------------- 63 * sh_wdt_read_cnt - Read from Counter 64 * Reads back the WTCNT value. 72 * sh_wdt_write_cnt - Write to Counter 73 * @val: Value to write [all …]
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | traps.h | 122 #define MMU_WP (0x0800) /* write-protected */ 142 /* bits for 68040 write back status word */ 173 #define MMU060_RW (0x01800000) /* read/write */ 174 # define MMU060_RW_W (0x00800000) /* write */ 176 # define MMU060_RW_RMW (0x01800000) /* read/modify/write */ 177 # define MMU060_W (0x00800000) /* general write, includes rmw */ 189 #define MMU060_WP (0x00000080) /* write protection */ 192 #define MMU060_WE (0x00000010) /* bus error on write */ 222 unsigned short wb3s; /* write back 3 status */ 223 unsigned short wb2s; /* write back 2 status */ [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac4_descs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 46 /* TDES3 (write back format) */ 83 /* TDS3 use for both format (read and write back) */ 89 /* RDES0 (write back format) */ 92 /* RDES1 (write back format) */ 107 /* RDES2 (write back format) */ 121 /* RDES3 (write back format) */ 144 /* TDS3 use for both format (read and write back) */
|
/openbmc/u-boot/drivers/dfu/ |
H A D | Kconfig | 21 This option allows performing update of DFU-managed medium with data 27 bool "MMC back end for DFU" 29 This option enables using DFU to read and write to MMC based storage. 32 bool "NAND back end for DFU" 35 This option enables using DFU to read and write to NAND based 39 bool "RAM back end for DFU" 41 This option enables using DFU to read and write RAM on the target. 44 bool "SPI flash back end for DFU" 46 This option enables using DFU to read and write to SPI flash based
|
/openbmc/linux/arch/sh/include/cpu-sh2/cpu/ |
H A D | cache.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * include/asm-sh/cpu-sh2/cache.h 22 /* 0x00000000-0x7fffffff: Write-through */ 23 /* 0x80000000-0x9fffffff: Write-back */ 24 /* 0xc0000000-0xdfffffff: Write-through */ 26 /* 0x00000000-0x7fffffff: Write-back */ 27 /* 0x80000000-0x9fffffff: Write-through */ 28 /* 0xc0000000-0xdfffffff: Write-back */
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | pcl730.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Driver for Advantech PCL-730 and clones 10 * Description: Advantech PCL-730 (& compatibles) 11 * Devices: [Advantech] PCL-730 (pcl730), PCM-3730 (pcm3730), PCL-725 (pcl725), 12 * PCL-733 (pcl733), PCL-734 (pcl734), 13 * [ADLink] ACL-7130 (acl7130), ACL-7225b (acl7225b), 14 * [ICP] ISO-730 (iso730), P8R8-DIO (p8r8dio), P16R16-DIO (p16r16dio), 15 * [Diamond Systems] OPMM-1616-XT (opmm-1616-xt), PEARL-MM-P (pearl-mm-p), 16 * IR104-PBF (ir104-pbf), 21 * [0] - I/O port base [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/dma/ |
H A D | qcom_hidma_mgmt.txt | 14 instance can use like maximum read/write request and number of bytes to 15 read/write in a single burst. 18 - compatible: "qcom,hidma-mgmt-1.0"; 19 - reg: Address range for DMA device 20 - dma-channels: Number of channels supported by this DMA controller. 21 - max-write-burst-bytes: Maximum write burst in bytes that HIDMA can 26 - max-read-burst-bytes: Maximum read burst in bytes that HIDMA can 31 - max-write-transactions: This value is how many times a write burst is 32 applied back to back while writing to the destination before yielding 34 - max-read-transactions: This value is how many times a read burst is [all …]
|
/openbmc/linux/Documentation/arch/x86/ |
H A D | mtrr.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 :Authors: - Richard Gooch <rgooch@atnf.csiro.au> - 3 Jun 1999 8 - Luis R. Rodriguez <mcgrof@do-not-panic.com> - April 9, 2015 17 non-PAT systems while a no-op but equally effective on PAT enabled systems. 37 a video (VGA) card on a PCI or AGP bus. Enabling write-combining 38 allows bus write transfers to be combined into a larger transfer 40 of image write operations 2.5 times or more. 46 The AMD K6-2 (stepping 8 and above) and K6-3 processors have two 50 The Centaur C6 (WinChip) has 8 MCRs, allowing write-combining. These 62 which allows you to read and write. The other is an ioctl() [all …]
|
/openbmc/u-boot/include/ |
H A D | video_osd.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 22 * struct video_osd_ops - driver operations for OSD uclass 24 * The OSD uclass implements support for text-oriented on-screen displays, 26 * text-based overlay over the video output of an associated display. 29 * either a generic form (by specifying a string, a driver-specific color value 31 * driver-specific form (by specifying "raw" driver-specific data to display at 43 * get_info() - Get information about a OSD instance 51 * @return 0 if OK, -ve on error. 56 * set_mem() - Write driver-specific text data to OSD screen 58 * The passed data are device-specific, and it's up to the driver how [all …]
|
/openbmc/linux/drivers/infiniband/ulp/rtrs/ |
H A D | README | 8 transport. It is optimized to transfer (read/write) IO blocks. 11 possibility to either write data from an sg list to the remote side 15 RTRS provides I/O fail-over and load-balancing capabilities by using 17 Documentation/ABI/testing/sysfs-class-rtrs-client). 26 -------- 35 When processing an incoming write or read request, rtrs client uses memory 42 On an established session client sends to server write or read messages. 52 buffer after it returns back from the block layer and RNBD server. 53 The new rkey is sent back to the client along with the IO result. 64 ------------------------ [all …]
|
/openbmc/linux/arch/arm/mm/ |
H A D | cache-fa.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm/mm/cache-fa.S 6 * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt> 8 * Based on cache-v4wb.S: 9 * Copyright (C) 1997-2002 Russell king 18 #include "proc-macros.S" 69 mcrne p15, 0, ip, c7, c10, 4 @ drain write buffer 79 * - start - start address (inclusive, page aligned) 80 * - end - end address (exclusive, page aligned) 81 * - flags - vma_area_struct flags describing address space [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a76/ |
H A D | cache.json | 23 …cess or Level 0 Macro-op cache access. This event counts any instruction fetch which accesses the … 27 …"PublicDescription": "This event counts any write-back of data from the L1 data cache to L2 or L3.… 31 …counts any transaction from L1 which looks up in the L2 cache, and any write-back from the L1 to t… 39 …write-back of data from the L2 cache to outside the core. This includes snoops to the L2 which ret… 43 …unts any full cache line write into the L2 cache which does not cause a linefill, including write-… 57 …unts any full cache line write into the L3 cache which does not cause a linefill, including write-… 67 …any cacheable read transaction returning datafrom the SCU, or for any cacheable write to the SCU.",
|
/openbmc/u-boot/test/dm/ |
H A D | misc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 21 ut_assertok(uclass_get_device_by_name(UCLASS_MISC, "misc-test", &dev)); in dm_test_misc() 23 /* Read / write tests */ in dm_test_misc() 25 ut_asserteq(5, misc_write(dev, 4, "WRITE", 5)); in dm_test_misc() 41 ut_assertok(memcmp(buf, "Forty-two", 9)); in dm_test_misc() 45 ut_assertok(memcmp(buf, "Forty-one", 9)); in dm_test_misc() 50 /* Read back last issued ioctl */ in dm_test_misc() 56 /* Read back last issued ioctl */ in dm_test_misc() 63 /* Read back enable/disable status */ in dm_test_misc() 69 /* Read back enable/disable status */ in dm_test_misc() [all …]
|
/openbmc/linux/arch/x86/lib/ |
H A D | usercopy_64.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 * clean_cache_range - write back a cache range with CLWB 22 * @size: number of bytes to write back 24 * Write back a cache range using the CLWB (cache line write back) 31 unsigned long clflush_mask = x86_clflush_size - 1; in clean_cache_range() 56 * __copy_user_nocache() uses non-temporal stores for the bulk in __copy_user_flushcache() 60 * - Require 8-byte alignment when size is 8 bytes or larger. in __copy_user_flushcache() 61 * - Require 4-byte alignment when size is 4 bytes. in __copy_user_flushcache() 72 flushed = dest - (unsigned long) dst; in __copy_user_flushcache() 73 if (size > flushed && !IS_ALIGNED(size - flushed, 8)) in __copy_user_flushcache() [all …]
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | sleep34xx.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Karthik Dasu <karthik-dp@ti.com> 9 * Richard Woodruff <r-woodruff2@ti.com> 57 * with non-Thumb-2-capable firmware. 77 str r1, [r2, r3] @ write to l2dis_3630 86 .arch armv7-a 89 stmfd sp!, {r4 - r11, lr} @ save registers on stack 96 dsb @ data write barrier 103 ldmfd sp!, {r4 - r11, pc} 115 * omap34xx_cpu_suspend() - This bit of code saves the CPU context if needed [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-bcm-kona.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/mmc/slot-gpio.h> 16 #include "sdhci-pltfm.h" 43 struct mutex write_lock; /* protect back to back writes */ 63 return -EFAULT; in sdhci_bcm_kona_sd_reset() 72 * Back-to-Back register write needs a delay of 1ms at bootup (min 10uS) in sdhci_bcm_kona_sd_reset() 73 * Back-to-Back writes to same register needs delay when SD bus clock in sdhci_bcm_kona_sd_reset() 74 * is very low w.r.t AHB clock, mainly during boot-time and during card in sdhci_bcm_kona_sd_reset() 75 * insert-removal. in sdhci_bcm_kona_sd_reset() 97 * Back-to-Back register write needs a delay of 1ms at bootup (min 10uS) in sdhci_bcm_kona_sd_init() [all …]
|
/openbmc/linux/arch/sh/mm/ |
H A D | cache-sh2a.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/sh/mm/cache-sh2a.c 47 * Write back the dirty D-caches, but not invalidate them. 57 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh2a__flush_wback_region() 58 end = ((unsigned long)start + size + L1_CACHE_BYTES-1) in sh2a__flush_wback_region() 59 & ~(L1_CACHE_BYTES-1); in sh2a__flush_wback_region() 66 if (((end - begin) >> PAGE_SHIFT) >= MAX_OCACHE_PAGES) { in sh2a__flush_wback_region() 89 * Write back the dirty D-caches and invalidate them. 97 begin = (unsigned long)start & ~(L1_CACHE_BYTES-1); in sh2a__flush_purge_region() 98 end = ((unsigned long)start + size + L1_CACHE_BYTES-1) in sh2a__flush_purge_region() [all …]
|
/openbmc/linux/fs/afs/ |
H A D | write.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* handling of writes to regular files and writing back to the server 8 #include <linux/backing-dev.h> 28 * need to pin the cache object to write back to. 33 afs_vnode_cache(AFS_FS_I(mapping->host))); in afs_dirty_folio() 47 * Flush out a conflicting write. This may extend the write to the surrounding 66 * prepare to perform part of a write to a page 81 vnode->fid.vid, vnode->fid.vnode, pos, len); in afs_write_begin() 87 ret = netfs_write_begin(&vnode->netfs, file, mapping, pos, len, &folio, fsdata); in afs_write_begin() 92 from = pos - index * PAGE_SIZE; in afs_write_begin() [all …]
|