| /linux/Documentation/filesystems/nfs/ |
| H A D | nfsd-maintainer-entry-profile.rst | 4 A Maintainer Entry Profile supplements the top-level process 12 -------- 14 protocols that enable access to files across a set of network- 20 kernel. An in-kernel NFS server has fast access to files stored 26 ------------ 27 The linux-nfs@vger.kernel.org mailing list is a public list. Its 32 The linux-nfs mailing list is archived on `lore.kernel.org <https://lore.kernel.org/linux-nfs/>`_. 37 -------------- 38 If you experience an NFSD-related bug on a distribution-built 42 linux-nfs@vger.kernel.org mailing list, where some active triage [all …]
|
| /linux/Documentation/devicetree/bindings/usb/ |
| H A D | ti,tps6598x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments 6598x Type-C Port Switch and Power Delivery controller 10 - Bryan O'Donoghue <bryan.odonoghue@linaro.org> 13 Texas Instruments 6598x Type-C Port Switch and Power Delivery controller 21 - ti,tps6598x 22 - apple,cd321x 23 - ti,tps25750 28 - description: main PD controller address [all …]
|
| /linux/kernel/livepatch/ |
| H A D | transition.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * transition.c - Kernel Live Patching transition functions 5 * Copyright (C) 2015-2016 Josh Poimboeuf <jpoimboe@redhat.com> 14 #include "patch.h" 32 * schedule(). This helps CPU-bound kthreads get patched. 65 * We allow to patch als 217 unsigned long func_addr, func_size, address; klp_check_stack_func() local 455 struct klp_patch *patch; klp_try_complete_transition() local 573 klp_init_transition(struct klp_patch * patch,int state) klp_init_transition() argument 729 struct klp_patch *patch; klp_force_transition() local [all...] |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * core.c - Kernel Live Patching Core 25 #include "patch.h" 31 * accesses to klp-related variables and structures must have mutex protection, 34 * - klp_ftrace_handler() 35 * - klp_update_patch_state() 36 * - __klp_sched_try_switch() 51 return obj->name; in klp_is_module() 54 /* sets obj->mod if object is not vmlinux and module is found */ 68 mod = find_module(obj->name); in klp_find_object_module() [all …]
|
| /linux/Documentation/livepatch/ |
| H A D | livepatch.rst | 30 - The kernel probes are the most generic. The code can be redirected by 33 - The function tracer calls the code from a predefined location that is 35 compiler using the '-pg' gcc option. 37 - Livepatching typically needs to redirect the code at the very beginning 46 a live patch is called with the help of a custom ftrace handler. But there are 64 But there are more complex fixes. For example, a patch might change 65 ordering of locking in multiple functions at the same time. Or a patch 74 The aim is to define a so-called consistency model. It attempts to define 79 kpatch: it uses kGraft's per-task consistency and syscall barrier 83 Patches are applied on a per-task basis, when the task is deemed safe to [all …]
|
| H A D | module-elf-format.rst | 16 Formerly, livepatch required separate architecture-specific code to write 17 relocations. However, arch-specific code to write relocations already 19 code. So, instead of duplicating code and re-implementing what the module 21 loader to perform the all the arch-specific relocation work. Specifically, 23 write relocations. The patch module ELF format described in this document 26 of arch-specific code required to port livepatch to a particular 34 selected from OS-specific ranges according to the definitions from glibc. 37 ----------------------------------------------------- 39 reference non-exported global symbols and non-included local symbols. 40 Relocations referencing these types of symbols cannot be left in as-is [all …]
|
| /linux/drivers/scsi/aic7xxx/aicasm/ |
| H A D | aicasm.c | 19 * 3. Neither the names of the above-listed copyright holders nor the names 66 typedef struct patch { struct 67 STAILQ_ENTRY(patch) links; 74 STAILQ_HEAD(patch_list, patch) patches; argument 81 static void emit_patch(scope_t *scope, int patch); 134 sentinal->type = SCOPE_ROOT; in main() 146 while ((ch = getopt(argc, argv, "d:i:l:n:o:p:r:I:")) != -1) { in main() 157 fprintf(stderr, "%s: -d Requires either an " in main() 162 stop("-d: Assembler not built with debugging " in main() 178 /* Don't complain about the -nostdinc directrive */ in main() [all …]
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | dwmac-motorcomm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2025-2026 Yao Zi <me@ziyao.cc> 22 #define DRIVER_NAME "dwmac-motorcomm" 72 EFUSE_OP_START, priv->base + EFUSE_OP_CTRL_0); in motorcomm_efuse_read_byte() 74 ret = readl_poll_timeout(priv->base + EFUSE_OP_CTRL_1, in motorcomm_efuse_read_byte() 85 struct motorcomm_efuse_patch *patch) in motorcomm_efuse_read_patch() argument 87 u8 *p = (u8 *)patch, offset; in motorcomm_efuse_read_patch() 90 for (i = 0; i < sizeof(*patch); i++) { in motorcomm_efuse_read_patch() 91 offset = EFUSE_PATCH_REGION_OFFSET + sizeof(*patch) * index + i; in motorcomm_efuse_read_patch() 104 struct motorcomm_efuse_patch patch; in motorcomm_efuse_get_patch_value() local [all …]
|
| /linux/drivers/bluetooth/ |
| H A D | hci_ag6xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 41 return -ENOMEM; in ag6xx_open() 43 skb_queue_head_init(&ag6xx->txq); in ag6xx_open() 45 hu->priv = ag6xx; in ag6xx_open() 51 struct ag6xx_data *ag6xx = hu->priv; in ag6xx_close() 55 skb_queue_purge(&ag6xx->txq); in ag6xx_close() 56 kfree_skb(ag6xx->rx_skb); in ag6xx_close() 59 hu->priv = NULL; in ag6xx_close() 65 struct ag6xx_data *ag6xx = hu->priv; in ag6xx_flush() 69 skb_queue_purge(&ag6xx->txq); in ag6xx_flush() [all …]
|
| /linux/drivers/scsi/sym53c8xx_2/ |
| H A D | sym_fw.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * of PCI-SCSI IO processors. 6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 9 * Copyright (C) 1998-2000 Gerard Roudier 12 * a port of the FreeBSD ncr driver to Linux-1.2.13. 16 * Stefan Esser <se@mi.Uni-Koeln.de> 24 *----------------------------------------------------------------------------- 91 * Patch routine for firmware #1. 100 scripta0 = (struct sym_fw1a_scr *) np->scripta0; in sym_fw1_patch() 101 scriptb0 = (struct sym_fw1b_scr *) np->scriptb0; in sym_fw1_patch() [all …]
|
| /linux/Documentation/process/ |
| H A D | stable-kernel-rules.rst | 3 Everything you ever wanted to know about Linux -stable releases 7 "-stable" tree: 9 - It or an equivalent fix must already exist in Linux mainline (upstream). 10 - It must be obviously correct and tested. 11 - It cannot be bigger than 100 lines, with context. 12 - It must follow the 13 :ref:`Documentation/process/submitting-patches.rst <submittingpatches>` 15 - It must either fix a real bug that bothers people or just add a device ID. 18 - It fixes a problem like an oops, a hang, data corruption, a real security 21 - Serious issues as reported by a user of a distribution kernel may also [all …]
|
| H A D | howto.rst | 6 This is the be-all, end-all document on this topic. It contains 18 ------------ 27 The kernel is written mostly in C, with some architecture-dependent 30 you plan to do low-level development for that architecture. Though they 34 - "The C Programming Language" by Kernighan and Ritchie [Prentice Hall] 35 - "Practical C Programming" by Steve Oualline [O'Reilly] 36 - "C: A Reference Manual" by Harbison and Steele [Prentice Hall] 60 ------------ 65 described in :ref:`Documentation/process/license-rules.rst <kernel_licensing>`. 72 https://www.gnu.org/licenses/gpl-faq.html [all …]
|
| /linux/Documentation/filesystems/ |
| H A D | befs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 implementation is neither complete nor well-tested. 28 Original Author: Makoto Kato <m_kato@ga2.so-net.ne.jp> 33 Does anyone know of a more current email address for Makoto? He doesn't 34 respond to the address given above... 41 for the linux 2.4.1 and later kernels. Currently it is a read-only 53 step 1. Install the BeFS patch into the source code tree of linux. 57 is called patch-befs-xxx, you would do the following: 60 patch -p1 < /path/to/patch-befs-xxx 68 The linux kernel has many compile-time options. Most of them are beyond the [all …]
|
| /linux/arch/riscv/kernel/ |
| H A D | patch.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #include <asm/text-patching.h> 39 * reg-a0) or BUILD_BUG_ON failed with "idx >= __end_of_fixed_addresses". 76 return -EINVAL; in __patch_insn_set() 122 return -EINVAL; in __patch_insn_write() 191 size = min(len, PAGE_SIZE * 2 - offset_in_page(addr)); in patch_insn_set() 197 len -= size; in patch_insn_set() 222 * Copy the instructions to the destination address, two pages at a time in patch_insn_write() 226 size = min(len, PAGE_SIZE * 2 - offset_in_page(addr)); in patch_insn_write() 233 len -= size; in patch_insn_write() [all …]
|
| /linux/Documentation/networking/ |
| H A D | eql.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Simon "Guru Aleph-Null" Janes, simon@ncm.com 12 that lets you load-balance IP serial links (SLIP or uncompressed PPP) 17 1.1.86. Some testing with 1.1.92 has been done with the v1.1 patch 18 which was only created to patch cleanly in the very latest kernel 27 together to work as one point-to-point link to increase your 32 The eql driver has only been tested with the Livingston PortMaster-2e 33 terminal server. I do not know if other terminal servers support load- 35 almost as well as the eql driver seems to do it (-- Unfortunately, in 36 my testing so far, the Livingston PortMaster 2e's load-balancing is a [all …]
|
| /linux/kernel/bpf/ |
| H A D | fixups.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 return BPF_CLASS(insn->code) == BPF_STX && in is_cmpxchg_insn() 19 BPF_MODE(insn->code) == BPF_ATOMIC && in is_cmpxchg_insn() 20 insn->imm == BPF_CMPXCHG; in is_cmpxchg_insn() 23 /* Return the regno defined by the insn, or -1. */ 26 switch (BPF_CLASS(insn->code)) { in insn_def_regno() 30 return -1; in insn_def_regno() 32 if (BPF_MODE(insn->code) == BPF_ATOMIC || in insn_def_regno() 33 BPF_MODE(insn->code) == BPF_PROBE_ATOMIC) { in insn_def_regno() 34 if (insn->imm == BPF_CMPXCHG) in insn_def_regno() [all …]
|
| /linux/Documentation/scsi/ |
| H A D | ChangeLog.lpfc | 2 * Please read the associated RELEASE-NOTES file !!! 8 * Fixed build warning for 2.6.12-rc2 kernels: mempool_alloc now 11 * Merged patch from Christoph Hellwig <hch@lst.de>: split helpers 19 * Removed FC_TRANSPORT_PATCHESxxx defines. They're in 2.6.12-rc1. 26 * Added PCI ID for LP10000-S. 31 * Zero-out response sense length in lpfc_scsi_prep_cmnd to prevent 33 - was causing spurious 0710 messages. 50 * Changed a few lines from patch submitted by Christoph Hellwig 53 * Merged patch from Christoph Hellwig (3/19): some misc patches 55 - stop using volatile. if you need special ordering use memory [all …]
|
| H A D | ChangeLog.sym53c8xx_2 | 2 * version sym-2.1.0-20001230 3 - Initial release of SYM-2. 6 * version sym-2.1.1-20010108 7 - Change a couple of defines containing ncr or NCR by their 11 * version sym-2.1.2-20010114 12 - Fix a couple of printfs: 17 * version sym-2.1.3-20010117 18 - Wrong residual values were returned in some situations. 19 This broke cdrecord with linux-2.4.0, for example. 22 * version sym-2.1.4-20010120 [all …]
|
| H A D | ChangeLog.megaraid | 1 Release Date : Thu Nov 16 15:32:35 EST 2006 - 9 and re-initialize its internal RAID structure. 14 2. Authors email-id domain name changed from lsil.com to lsi.com. 17 Release Date : Fri May 19 09:31:45 EST 2006 - Seokmann Ju <sju@lsil.com> 23 Root Cause: the driver registered controllers as 64-bit DMA capable 26 identifying 64-bit DMA capable controllers. 28 > -----Original Message----- 31 > To: linux-scsi@vger.kernel.org; Kolli, Neela; Mukker, Atul; 86 issue on 64-bit platform. 87 Customer reported "kernel unaligned access address" issue when [all …]
|
| /linux/scripts/livepatch/ |
| H A D | klp-build | 2 # SPDX-License-Identifier: GPL-2.0 14 set -o errexit 15 set -o errtrace 16 set -o pipefail 17 set -o nounset 19 # Allow doing 'cmd | mapfile -t array' instead of 'mapfile -t array < <(cmd)'. 21 shopt -s lastpipe 28 VERBOSE="-s" 29 shopt -o xtrace | grep -q 'on' && XTRACE=1 36 FIX_PATCH_LINES="$SCRIPT_DIR/fix-patch-lines" [all …]
|
| /linux/arch/arm/mm/ |
| H A D | proc-v7m.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm/mm/proc-v7m.S 8 * This is the "shell" of the ARMv7-M processor support. 15 #include "proc-macros.S" 32 * - loc - location to jump to for soft reset 105 * This should be able to cover all ARMv7-M cores. 111 @ Configure the vector table base address 141 ldmia sp, {r0-r3, r12} 145 @ Special-purpose control register 151 stmiane sp, {r0-r6, lr} @ v7m_invalidate_l1 touches r0-r6 [all …]
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | init.c | 4 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc. 32 #include "hif-ops.h" 33 #include "htc-ops.h" 47 /* hw2.0 needs override address hardcoded */ 55 .patch = AR6003_HW_2_0_PATCH_FILE, 78 .patch = AR6003_HW_2_1_1_PATCH_FILE, 230 skb_reserve(skb, reserved - L1_CACHE_BYTES); in ath6kl_buf_alloc() 236 vif->ssid_len = 0; in ath6kl_init_profile_info() 237 memset(vif->ssid, 0, sizeof(vif->ssid)); in ath6kl_init_profile_info() 239 vif->dot11_auth_mode = OPEN_AUTH; in ath6kl_init_profile_info() [all …]
|
| /linux/drivers/acpi/pmic/ |
| H A D | intel_pmic_chtwc.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (C) 2013-2015 Intel Corporation. All rights reserved. 69 * Regulator support is based on the non upstream patch: 71 …b.com/intel-aero/meta-intel-aero/blob/master/recipes-kernel/linux/linux-yocto/0019-regulator-whisk… 75 .address = 0x0, 80 .address = 0x04, 85 .address = 0x08, 90 .address = 0x0c, 95 .address = 0x10, 100 .address = 0x14, [all …]
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf_probes.c | 1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 26 * Ubuntu 5.4.0-12.15-generic 5.4.8 34 __u32 major, minor, patch; in get_ubuntu_kernel_version() local 45 ret = fscanf(f, "%*s %*s %u.%u.%u\n", &major, &minor, &patch); in get_ubuntu_kernel_version() 50 return KERNEL_VERSION(major, minor, patch); in get_ubuntu_kernel_version() 65 __u32 major, minor, patch; get_debian_kernel_version() local 82 __u32 major, minor, patch, version; get_kernel_version() local [all...] |
| /linux/Documentation/mm/ |
| H A D | unevictable-lru.rst | 19 details - the "what does it do?" - by reading the code. One hopes that the 28 folios and to hide these folios from vmscan. This mechanism is based on a patch 29 by Larry Woodman of Red Hat to address several scalability problems with folio 33 To illustrate this with an example, a non-NUMA x86_64 platform with 128GB of 56 ------------------------------ 58 The Unevictable LRU folio list is a lie. It was never an LRU-ordered 59 list, but a companion to the LRU-ordered anonymous and file, active and 64 The Unevictable LRU infrastructure consists of an additional, per-node, LRU list 76 system - which means we get to use the same code to manipulate them, the 84 maintain folios elsewhere than on an LRU-like list, where they can be [all …]
|