| /linux/tools/testing/selftests/livepatch/ |
| H A 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/Documentation/livepatch/ |
| H A 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/Documentation/devicetree/bindings/power/supply/ |
| H A D | richtek,rt5033-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jakob Hauser <jahau@rocketmail.com> 14 under sub-node named "charger" using the following format. 18 const: richtek,rt5033-charger 20 monitored-battery: 25 precharge-current-microamp: 26 Current of pre-charge mode. The pre-charge current levels are 350 mA [all …]
|
| /linux/Documentation/netlink/specs/ |
| H A D | dpll.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 8 - 13 one of its inputs to syntonize with it, valid values for DPLL_A_MODE 16 - 20 - 23 render-max: true 24 - 26 name: lock-status 31 - [all …]
|
| H A D | ovpn.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 # Copyright (c) 2024-2025, OpenVPN Inc. 7 --- 15 - 17 name: nonce-tail-size 19 - 21 name: cipher-alg 22 entries: [none, aes-gcm, chacha20-poly1305] 23 - 25 name: del-peer-reason [all …]
|
| /linux/Documentation/gpu/amdgpu/display/ |
| H A D | display-manager.rst | 8 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 11 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h 17 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 20 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 26 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 29 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 32 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 38 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 41 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 47 .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c [all …]
|
| /linux/drivers/clk/bcm/ |
| H A D | clk-kona.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include "clk-kona.h" 12 #include <linux/clk-provider.h> 28 /* Produces a mask of set bits covering a range of a 32-bit value */ 31 return ((1 << width) - 1) << shift; in bitfield_mask() 53 return (u64)reg_div + ((u64)1 << div->u.s.frac_width); in scaled_div_value() 61 return (u64)div->u.fixed; in scaled_div_min() 72 return (u64)div->u.fixed; in scaled_div_max() 74 reg_div = ((u32)1 << div->u.s.width) - 1; in scaled_div_max() 80 * Convert a scaled divisor into its divider representation as [all …]
|
| H A D | clk-kona.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 #include <linux/clk-provider.h> 24 #define BAD_CLK_NAME ((const char *)-1) 33 #define FLAG_SET(obj, type, flag) ((obj)->flags |= FLAG(type, flag)) 34 #define FLAG_CLEAR(obj, type, flag) ((obj)->flags &= ~(FLAG(type, flag))) 35 #define FLAG_FLIP(obj, type, flag) ((obj)->flags ^= FLAG(type, flag)) 36 #define FLAG_TEST(obj, type, flag) (!!((obj)->flags & FLAG(type, flag))) 40 #define ccu_policy_exists(ccu_policy) ((ccu_policy)->enable.offset != 0) 44 #define policy_exists(policy) ((policy)->offset != 0) 55 #define hyst_exists(hyst) ((hyst)->offset != 0) [all …]
|
| /linux/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/ |
| H A D | instruction.json | 72 … "PublicDescription": "This event counts architecturally executed floating-point move operations.", 75 "BriefDescription": "This event counts architecturally executed floating-point move operations." 84 …"PublicDescription": "This event counts architecturally executed inter-element manipulation operat… 87 …"BriefDescription": "This event counts architecturally executed inter-element manipulation operati… 90 …"PublicDescription": "This event counts architecturally executed inter-register manipulation opera… 93 …"BriefDescription": "This event counts architecturally executed inter-register manipulation operat… 108 …"PublicDescription": "This event counts architecturally executed SIMD broadcast floating-point loa… 111 …"BriefDescription": "This event counts architecturally executed SIMD broadcast floating-point load… 120 …: "This event counts architecturally executed operations that uses 'pre-index' as its addressing m… 123 …: "This event counts architecturally executed operations that uses 'pre-index' as its addressing m… [all …]
|
| /linux/arch/arm64/boot/dts/amd/ |
| H A D | elba.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 * Copyright 2020-2022 Advanced Micro Devices, Inc. 6 #include <dt-bindings/gpio/gpio.h> 7 #include "dt-bindings/interrupt-controller/arm-gic.h" 11 compatible = "amd,pensando-elba"; 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <2>; 16 dma-coherent; 19 compatible = "fixed-clock"; [all …]
|
| /linux/Documentation/scsi/ |
| H A 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/Documentation/devicetree/bindings/hwmon/ |
| H A D | moortec,mr75203.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rahul Tanwar <rtanwar@maxlinear.com> 19 *) Temperature Sensor (TS) - used to monitor core temperature (e.g. mr74137). 20 *) Voltage Monitor (VM) - used to monitor voltage levels (e.g. mr74138). 21 *) Process Detector (PD) - used to assess silicon speed (e.g. mr74139). 22 *) Delay Chain - ring oscillator connected to the PD, used to measure IO 25 *) Pre Scaler - provides divide-by-X scaling of input voltage, which can then 26 be presented for VM for measurement within its range (e.g. mr76006 - [all …]
|
| /linux/drivers/ntb/hw/idt/ |
| H A 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/Documentation/driver-api/media/ |
| H A 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/drivers/platform/x86/ |
| H A 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> 32 * A `Lattice XP2`_ on pre-retinas, a `Renesas R4F2113`_ on pre-T2 retinas. 41 * dual GPUs but no built-in display.) 43 * gmux is connected to the LPC bus of the southbridge. Its I/O ports are 45 * to access a pre-retina gmux are infixed ``_pio_``, those for a pre-T2 54 * https://www.nxp.com/docs/en/data-sheet/PCAL6524.pdf 112 return inb(gmux_data->iostart + port); in gmux_pio_read8() 118 outb(val, gmux_data->iostart + port); in gmux_pio_write8() [all …]
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | apm,xgene-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/apm,xgene-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: APM X-Gene 15Gbps Multi-purpose PHY 10 - Khuong Dinh <khuong@os.amperecomputing.com> 13 PHY nodes are defined to describe on-chip 15Gbps Multi-purpose PHY. Each 14 PHY (pair of lanes) has its own node. 19 - const: apm,xgene-phy 24 '#phy-cells': [all …]
|
| /linux/Documentation/filesystems/ |
| H A 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/tools/testing/selftests/tc-testing/ |
| H A 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 …]
|
| /linux/Documentation/arch/x86/ |
| H A D | shstk.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Control-flow Enforcement Technology (CET) Shadow Stack 10 Control-flow Enforcement Technology (CET) covers several related x86 processor 20 control-protection fault. IBT verifies indirect CALL/JMP targets are intended 22 Stack and Indirect Branch Tracking. Today in the 64-bit kernel, only userspace 44 An application's CET capability is marked in its ELF note and can be verified 45 from readelf/llvm-readelf output:: 47 readelf -n <application> | grep -a SHSTK 60 on a per-thread basis. The enablement status is inherited on clone, so if the 90 -EPERM if any of the passed feature are locked. [all …]
|
| H A D | intel_txt.rst | 6 Technology (Intel(R) TXT), defines platform-level enhancements that 13 - Provides dynamic root of trust for measurement (DRTM) 14 - Data protection in case of improper shutdown 15 - Measurement and verification of launched environment 18 non-vPro systems. It is currently available on desktop systems 30 - LinuxTAG 2008: 31 http://www.linuxtag.org/2008/en/conf/events/vp-donnerstag.html 33 - TRUST2008: 34 http://www.trust-conference.eu/downloads/Keynote-Speakers/ 35 3_David-Grawrock_The-Front-Door-of-Trusted-Computing.pdf [all …]
|
| /linux/Documentation/driver-api/nvdimm/ |
| H A 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/block/ |
| H A D | blk-pm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <linux/blk-pm.h> 6 #include "blk-mq.h" 9 * blk_pm_runtime_init - Block layer runtime PM initialization routine 14 * Initialize runtime-PM-related fields for @q and start auto suspend for 15 * @dev. Drivers that want to take advantage of request-based runtime PM 16 * should call this function after @dev has been initialized, and its 18 * yet(either due to disabled/forbidden or its usage_count > 0). In most 22 * the autosuspend delay is set to -1 to make runtime suspend impossible 31 q->dev = dev; in blk_pm_runtime_init() [all …]
|
| /linux/Documentation/admin-guide/ |
| H A 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/sound/core/ |
| H A D | pcm_memory.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 35 card->total_pcm_alloc_bytes += bytes; in __update_allocated_size() 40 guard(mutex)(&card->memory_mutex); in update_allocated_size() 46 guard(mutex)(&card->memory_mutex); in decrease_allocated_size() 47 WARN_ON(card->total_pcm_alloc_bytes < bytes); in decrease_allocated_size() 48 __update_allocated_size(card, -(ssize_t)bytes); in decrease_allocated_size() 58 scoped_guard(mutex, &card->memory_mutex) { in do_alloc_pages() 60 card->total_pcm_alloc_bytes + size > max_alloc_per_card) in do_alloc_pages() 61 return -ENOMEM; in do_alloc_pages() 74 if (dmab->bytes != size) in do_alloc_pages() [all …]
|
| /linux/drivers/virt/vboxguest/ |
| H A 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 …]
|