/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/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/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 …]
|
/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/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/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/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/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/Documentation/devicetree/bindings/interrupt-controller/ |
H A 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 <maz@kernel.org> 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/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/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/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 …]
|
/linux/Documentation/networking/device_drivers/ethernet/ti/ |
H A D | icssg_prueth.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 Every ICSSG core has two Programmable Real-Time Unit(PRUs), two auxiliary 13 Real-Time Transfer Unit (RTUs), and two Transmit Real-Time Transfer Units 14 (TX_PRUs). Each one of these runs its own firmware. The firmwares combnined are 21 via ``ethtool -S <interface>`` 25 …- ``FW_RTU_PKT_DROP``: Diagnostic error counter which increments when RTU drops a locally injected… 26 - ``FW_Q0_OVERFLOW``: TX overflow counter for queue0 27 - ``FW_Q1_OVERFLOW``: TX overflow counter for queue1 28 - ``FW_Q2_OVERFLOW``: TX overflow counter for queue2 29 - ``FW_Q3_OVERFLOW``: TX overflow counter for queue3 [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 …]
|
H A D | quickly-build-trimmed-linux.rst | 1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0) 9 testing purposes, but perfectly fine for day-to-day use, too. 15 section below: it contains a step-by-step guide, which is more detailed, but 16 still brief and easy to follow; that guide and its accompanying reference 21 self-compiled Linux kernels; install compilers and everything else needed for 26 git clone --depth 1 -b master \ 34 make -j $(nproc --all) 36 # Linux, its derivatives, and some others it does not. See below for details. 37 command -v installkernel && sudo make modules_install install 43 git fetch --depth 1 origin [all …]
|
/linux/Documentation/driver-api/pm/ |
H A 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/arch/x86/kvm/mmu/ |
H A D | tdp_iter.c | 1 // SPDX-License-Identifier: GPL-2.0 14 iter->sptep = iter->pt_path[iter->level - 1] + in tdp_iter_refresh_sptep() 15 SPTE_INDEX((iter->gfn | iter->gfn_bits) << PAGE_SHIFT, iter->level); in tdp_iter_refresh_sptep() 16 iter->old_spte = kvm_tdp_mmu_read_spte(iter->sptep); in tdp_iter_refresh_sptep() 20 * Return the TDP iterator to the root PT and allow it to continue its 25 iter->yielded = false; in tdp_iter_restart() 26 iter->yielded_gfn = iter->next_last_level_gfn; in tdp_iter_restart() 27 iter->level = iter->root_level; in tdp_iter_restart() 29 iter->gfn = gfn_round_for_level(iter->next_last_level_gfn, iter->level); in tdp_iter_restart() 32 iter->valid = true; in tdp_iter_restart() [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/power/ |
H A 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/Documentation/admin-guide/media/ |
H A 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/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 …]
|