/Linux-v5.10/tools/testing/selftests/livepatch/ |
D | test-callbacks.sh | 2 # SPDX-License-Identifier: GPL-2.0 19 # - On livepatch enable, before the livepatch transition starts, 20 # pre-patch callbacks are executed for vmlinux and $MOD_TARGET (those 22 # according to the klp_patch, their post-patch callbacks run and the 25 # - Similarly, on livepatch disable, pre-patch callbacks run before the 26 # unpatching transition starts. klp_objects are reverted, post-patch 43 $MOD_LIVEPATCH: pre_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 47 $MOD_LIVEPATCH: post_patch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 52 $MOD_LIVEPATCH: pre_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state 56 $MOD_LIVEPATCH: post_unpatch_callback: $MOD_TARGET -> [MODULE_STATE_LIVE] Normal state [all …]
|
/Linux-v5.10/Documentation/livepatch/ |
D | callbacks.rst | 5 Livepatch (un)patch-callbacks provide a mechanism for livepatch modules 10 - Safe updates to global data 12 - "Patches" to init and probe functions 14 - Patching otherwise unpatchable code (i.e. assembly) 25 - Module init/exit code doesn't run when disabling and re-enabling a 28 - A module notifier can't stop a to-be-patched module from loading. 39 * Pre-patch 40 - before a klp_object is patched 42 * Post-patch 43 - after a klp_object has been patched and is active [all …]
|
/Linux-v5.10/drivers/clk/bcm/ |
D | clk-kona.c | 15 #include "clk-kona.h" 20 #include <linux/clk-provider.h> 35 /* Produces a mask of set bits covering a range of a 32-bit value */ 38 return ((1 << width) - 1) << shift; in bitfield_mask() 60 return (u64)reg_div + ((u64)1 << div->u.s.frac_width); in scaled_div_value() 76 combined <<= div->u.s.frac_width; in scaled_div_build() 86 return (u64)div->u.fixed; in scaled_div_min() 97 return (u64)div->u.fixed; in scaled_div_max() 99 reg_div = ((u32)1 << div->u.s.width) - 1; in scaled_div_max() 105 * Convert a scaled divisor into its divider representation as [all …]
|
/Linux-v5.10/Documentation/scsi/ |
D | lpfc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 (pre 2.6.10). The 8.0.16 release should be used if the driver is to be 20 The driver now requires a 2.6.12 (if pre-release, 2.6.12-rc1) or later 33 jitter, or a device temporarily loses connectivity (due to its cable 39 errored by the driver, the mid-layer would exhaust its retries, and the 41 re-enable the device. 56 The proposed patch was posted to the linux-scsi mailing list. The patch 57 is contained in the 2.6.10-rc2 (and later) patch kits. As such, this 71 At this time, the driver requires the 2.6.12 (if pre-release, 2.6.12-rc1)
|
/Linux-v5.10/drivers/misc/echo/ |
D | echo.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * SpanDSP - a series of DSP components for telephony 5 * echo.c - A line echo canceller. This code is being developed 24 This module aims to provide G.168-2002 compliant echo cancellation, to remove 25 electrical echoes (e.g. from 2-4 wire hybrids) from voice calls. 43 varies widely. This is quite easy to fix. If the signal level is normalised - 44 similar to applying AGC - LMS can work as well for a signal of varying 47 other algorithms exist - e.g. RLS (essentially the same as Kalman filtering), 51 A simple refinement to NLMS can improve its performance with speech. NLMS tends 54 high frequency content. Pre-whitening (i.e. filtering the signal to flatten its [all …]
|
/Linux-v5.10/drivers/ntb/hw/idt/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "IDT PCIe-switch Non-Transparent Bridge support" 7 This driver supports NTB of capable IDT PCIe-switches. 9 Some of the pre-initializations must be made before IDT PCIe-switch 10 exposes its NT-functions correctly. It should be done by either proper 12 by BIOS using slave-SMBus interface changing corresponding registers 17 the ports with NT-functions intended to be activated (see SWPARTxCTL 18 and SWPORTxCTL registers). Then all NT-function BARs must be enabled 25 BAR settings of peer NT-functions, the BAR setups can't be done over 26 kernel PCI fixups. That's why the alternative pre-initialization
|
/Linux-v5.10/Documentation/devicetree/bindings/phy/ |
D | apm-xgene-phy.txt | 1 * APM X-Gene 15Gbps Multi-purpose PHY nodes 3 PHY nodes are defined to describe on-chip 15Gbps Multi-purpose PHY. Each 4 PHY (pair of lanes) has its own node. 7 - compatible : Shall be "apm,xgene-phy". 8 - reg : PHY memory resource is the SDS PHY access resource. 9 - #phy-cells : Shall be 1 as it expects one argument for setting 14 - status : Shall be "ok" if enabled or "disabled" if disabled. 16 - clocks : Reference to the clock entry. 17 - apm,tx-eye-tuning : Manual control to fine tune the capture of the serial 19 Two set of 3-tuple setting for each (up to 3) [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/interrupt-controller/ |
D | arm,gic-v3.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/arm,gic-v3.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marc Zyngier <marc.zyngier@arm.com> 15 Software Generated Interrupts (SGI), and Locality-specific Peripheral 19 - $ref: /schemas/interrupt-controller.yaml# 24 - items: 25 - enum: 26 - qcom,msm8996-gic-v3 [all …]
|
/Linux-v5.10/fs/erofs/ |
D | utils.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 list_del(&page->lru); in erofs_allocpage() 47 return -1; in erofs_workgroup_get() 49 if (atomic_cmpxchg(&grp->refcount, o, o + 1) != o) in erofs_workgroup_get() 66 grp = xa_load(&sbi->managed_pslots, index); in erofs_find_workgroup() 74 DBG_BUGON(index != grp->index); in erofs_find_workgroup() 84 struct erofs_workgroup *pre; in erofs_insert_workgroup() local 91 atomic_inc(&grp->refcount); in erofs_insert_workgroup() 94 xa_lock(&sbi->managed_pslots); in erofs_insert_workgroup() 95 pre = __xa_cmpxchg(&sbi->managed_pslots, grp->index, in erofs_insert_workgroup() [all …]
|
/Linux-v5.10/Documentation/driver-api/media/ |
D | dtv-frontend.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ------------------------ 9 The Digital TV Frontend kABI defines a driver-internal interface for 10 registering low-level, hardware specific driver to a hardware independent 29 .name = "foo DVB-T/T2/C driver", 70 .name = "Bar DVB-S/S2 demodulator", 91 /* Satellite-specific */ 100 #) For satellite digital TV standards (DVB-S, DVB-S2, ISDB-S), the 128 doesn't fill its field at struct dvb_frontend_ops, it will default to 129 ``DVBFE_ALGO_SW``, meaning that the dvb-core will do a zigzag when tuning, [all …]
|
/Linux-v5.10/arch/x86/include/asm/ |
D | paravirt_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #define CLBR_ANY ((1 << 4) - 1) 30 #define CLBR_ANY ((1 << 9) - 1) 46 #include <asm/nospec-branch.h> 61 * Wrapper type for pointers to code which uses the non-standard 153 * read sets err to 0 or -EIO. write returns 0 or -EIO. 161 * Switch to usermode gs and return to 64-bit usermode using 162 * sysret. Only used in 64-bit kernels to return to 64-bit 226 /* Hooks for allocating and freeing a pagetable top-level */ 279 /* Sometimes the physical address is a pfn, and sometimes its [all …]
|
/Linux-v5.10/drivers/platform/x86/ |
D | apple-gmux.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2010-2012 Andreas Heider <andreas@meetr.de> 19 #include <linux/apple-gmux.h> 31 * A `Lattice XP2`_ on pre-retinas, a `Renesas R4F2113`_ on retinas. 34 * dual GPUs but no built-in display.) 36 * gmux is connected to the LPC bus of the southbridge. Its I/O ports are 38 * to access a pre-retina gmux are infixed ``_pio_``, those for a retina gmux 104 return inb(gmux_data->iostart + port); in gmux_pio_read8() 110 outb(val, gmux_data->iostart + port); in gmux_pio_write8() 115 return inl(gmux_data->iostart + port); in gmux_pio_read32() [all …]
|
/Linux-v5.10/tools/testing/selftests/tc-testing/ |
D | TODO.txt | 1 tc Testing Suite To-Do list: 3 - Determine what tc features are supported in the kernel. If features are not 6 - Add support for multiple versions of tc to run successively 8 - Improve error messages when tdc aborts its run. Partially done - still 9 need to better handle problems in pre- and post-suite. 11 - Use python logger module for debug/verbose output 13 - Allow tdc to write its results to file. 16 - A better implementation of the "hooks". Currently, every plugin 23 - Proper exception handling - make an exception class and use it 25 - a TestCase class, for easier testcase handling, searching, comparison [all …]
|
D | README | 1 tdc - Linux Traffic Control (tc) unit testing suite 3 Author: Lucas Bates - lucasb@mojatatu.com 10 ------------ 24 * All tc-related features being tested must be built in or available as 26 ./tdc.py -c 30 teardown commands - which includes not being able to run a test simply 32 handled in a future version - the current workaround is to run the tests 37 -------------- 44 using the -p option when running tdc: 45 ./tdc.py -p /path/to/tc [all …]
|
/Linux-v5.10/Documentation/networking/ |
D | framerelay.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 Data Link Connection Identifier (DLCI) as its hardware address. Usually these 13 Each DLCI is a point-to-point link between your machine and a remote one. 15 net-tools archives is 'dlcicfg'. This program will communicate with the 31 Configuration of the FRAD makes use of another net-tools program, 'fradcfg'. 41 the net-tools distribution. They can be found at ftp.invlogic.com, in 43 use 'cd linux'. v0.10 is for use on pre-2.0.3 and earlier, v0.15 is for 44 pre-2.0.4 and later.
|
/Linux-v5.10/Documentation/filesystems/ |
D | orangefs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 OrangeFS is an LGPL userspace scale-out parallel storage system. It is ideal 51 On Fedora, install orangefs and orangefs-server:: 53 dnf -y install orangefs orangefs-server 64 pvfs2-client-core. 68 pvfs2-server -f /etc/orangefs/orangefs.conf 72 systemctl start orangefs-server 76 pvfs2-ping -m /pvfsmnt 81 systemctl start orangefs-client 85 mount -t pvfs2 tcp://localhost:3334/orangefs /pvfsmnt [all …]
|
/Linux-v5.10/Documentation/admin-guide/ |
D | init.rst | 6 This document provides some high-level reasons for failure 16 modules, to be pre-loaded by an initrd). 19 --> initial console unavailable. E.g. some serial consoles are unreliable 20 due to serial IRQ issues (e.g. missing interrupt-based configuration). 24 dependencies of the init binary such as ``/lib/ld-linux.so.2`` missing or 25 broken. Use ``readelf -d <INIT>|grep NEEDED`` to find out which libraries 30 hardware. In case you tried loading a non-binary file here (shell script?), 31 you should make sure that the script specifies an interpreter in its 32 shebang header line (``#!/...``) that is fully working (including its 34 simple non-script binary such as ``/bin/sh`` and confirm its successful [all …]
|
/Linux-v5.10/sound/core/ |
D | pcm_memory.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 40 card->total_pcm_alloc_bytes + size > max_alloc_per_card) in do_alloc_pages() 41 return -ENOMEM; in do_alloc_pages() 45 mutex_lock(&card->memory_mutex); in do_alloc_pages() 46 card->total_pcm_alloc_bytes += dmab->bytes; in do_alloc_pages() 47 mutex_unlock(&card->memory_mutex); in do_alloc_pages() 54 if (!dmab->area) in do_free_pages() 56 mutex_lock(&card->memory_mutex); in do_free_pages() 57 WARN_ON(card->total_pcm_alloc_bytes < dmab->bytes); in do_free_pages() 58 card->total_pcm_alloc_bytes -= dmab->bytes; in do_free_pages() [all …]
|
/Linux-v5.10/Documentation/admin-guide/media/ |
D | imx.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ------------ 15 - Image DMA Controller (IDMAC) 16 - Camera Serial Interface (CSI) 17 - Image Converter (IC) 18 - Sensor Multi-FIFO Controller (SMFC) 19 - Image Rotator (IRT) 20 - Video De-Interlacing or Combining Block (VDIC) 26 re-ordering (for example UYVY to YUYV) within the same colorspace, and 27 packed <--> planar conversion. The IDMAC can also perform a simple [all …]
|
/Linux-v5.10/Documentation/driver-api/pm/ |
D | devices.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 :Copyright: |copy| 2010-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 18 management (PM) code is also driver-specific. Most drivers will do very 22 This writeup gives an overview of how drivers interact with system-wide 25 background for the domain-specific work you'd do with any specific driver. 31 Drivers will use one or both of these models to put devices into low-power 36 Drivers can enter low-power states as part of entering system-wide 37 low-power states like "suspend" (also known as "suspend-to-RAM"), or 39 "suspend-to-disk"). 42 by implementing various role-specific suspend and resume methods to [all …]
|
/Linux-v5.10/Documentation/sound/soc/ |
D | machine.rst | 12 the following struct:- 24 /* the pre and post PM functions are used to do any PM work before and 33 /* CPU <--> Codec DAI links */ 41 ---------------- 46 ------------------ 47 The machine driver has pre and post versions of suspend and resume to take care 53 ------------------------- 62 /* corgi digital audio interface glue - connects codec <--> CPU */ 66 .cpu_dai_name = "pxa-is2-dai", 67 .codec_dai_name = "wm8731-hifi", [all …]
|
/Linux-v5.10/Documentation/RCU/ |
D | rcubarrier.rst | 8 RCU (read-copy update) is a synchronization mechanism that can be thought 9 of as a replacement for read-writer locking (among other things), but with 10 very low-overhead readers that are immune to deadlock, priority inversion, 11 and unbounded latency. RCU read-side critical sections are delimited 12 by rcu_read_lock() and rcu_read_unlock(), which, in non-CONFIG_PREEMPT 18 pre-existing readers have finished. These old versions are needed because 20 rather expensive, and RCU is thus best suited for read-mostly situations. 25 pre-existing readers have completed. An updater wishing to delete an 33 But the above code cannot be used in IRQ context -- the call_rcu() 35 rcu_head struct placed within the RCU-protected data structure and [all …]
|
/Linux-v5.10/Documentation/power/ |
D | pci.rst | 13 power management refer to Documentation/driver-api/pm/devices.rst and 27 1.1. Native and Platform-Based Power Management 28 ----------------------------------------------- 31 devices into states in which they draw less power (low-power states) at the 34 Usually, a device is put into a low-power state when it is underutilized or 36 again, it has to be put back into the "fully functional" state (full-power 41 PCI devices may be put into low-power states in two ways, by using the device 46 specific value into one of its standard configuration registers. The second 53 to put the device that sent it into the full-power state. However, the PCI Bus 68 Thus in many situations both the native and the platform-based power management [all …]
|
/Linux-v5.10/Documentation/driver-api/nvdimm/ |
D | btt.rst | 2 BTT - Block Translation Table 14 using stored energy in capacitors to complete in-flight block writes, or perhaps 15 in firmware. We don't have this luxury with persistent memory - if a write is in 22 device, and reserves a portion of the underlying storage for its metadata. At 23 the heart of it, is an indirection table that re-maps all the blocks on the 35 Each arena follows the same layout for its metadata, and all references in an 37 next arena). The following depicts the "On-disk" metadata layout:: 40 Backing Store +-------> Arena 41 +---------------+ | +------------------+ 43 | Arena 0 +---+ | 4K | [all …]
|
/Linux-v5.10/drivers/virt/vboxguest/ |
D | vboxguest_core.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR CDDL-1.0) */ 2 /* Copyright (C) 2010-2016 Oracle Corporation */ 39 /** Pre-allocated vmmdev_memballoon_info req for query */ 41 /** Pre-allocated vmmdev_memballoon_change req for inflate / deflate */ 78 * Dummy page and vmap address for reserved kernel virtual-address 87 /** Wait-for-event list for threads waiting for multiple events. */ 91 /** Wait-for-event list for threads waiting on HGCM async completion. */ 93 /** Pre-allocated hgcm cancel2 req. for cancellation on timeout */ 97 /** Pre-allocated mouse-status request for the input-device handling. */ 144 * cNsHearbeatInterval and its handler sends [all …]
|