/Linux-v6.1/Documentation/admin-guide/mm/ |
D | userfaultfd.rst | 10 Userfaults allow the implementation of on-demand paging from userland 40 Vmas are not suitable for page- (or hugepage) granular fault tracking 50 is a corner case that would currently return ``-EBUSY``). 56 ---------------------- 65 - Any user can always create a userfaultfd which traps userspace page faults 69 - In order to also trap kernel page faults for the address space, either the 86 -------------------------- 103 - The ``UFFD_FEATURE_EVENT_*`` flags indicate that various other events 105 detail below in the `Non-cooperative userfaultfd`_ section. 107 - ``UFFD_FEATURE_MISSING_HUGETLBFS`` and ``UFFD_FEATURE_MISSING_SHMEM`` [all …]
|
/Linux-v6.1/Documentation/admin-guide/LSM/ |
D | tomoyo.rst | 8 TOMOYO is a name-based MAC extension (LSM module) for the Linux kernel. 10 LiveCD-based tutorials are available at 12 http://tomoyo.sourceforge.jp/1.8/ubuntu12.04-live.html 13 http://tomoyo.sourceforge.jp/1.8/centos6-live.html 15 Though these tutorials use non-LSM version of TOMOYO, they are useful for you 29 User <-> Kernel interface documentation is available at 30 https://tomoyo.osdn.jp/2.5/policy-specification/index.html . 38 https://osdn.jp/projects/tomoyo/docs/lca2009-takeda.pdf 40 https://osdn.jp/projects/tomoyo/docs/freedomhectaipei-tomoyo.pdf 42 https://osdn.jp/projects/tomoyo/docs/PacSec2007-en-no-demo.pdf [all …]
|
/Linux-v6.1/include/linux/ |
D | livepatch.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * livepatch.h - Kernel Live Patching Core 20 #define KLP_UNDEFINED -1 25 * struct klp_func - function structure for live patching 82 * struct klp_callbacks - pre/post live-(un)patch callback structure 87 * @post_unpatch_enabled: flag indicating if post-unpatch callback 90 * All callbacks are optional. Only the pre-patch callback, if provided, 92 * patch for any reason, including a non-zero error status returned from 93 * the pre-patch callback, no further callbacks will be executed. 104 * struct klp_object - kernel object structure for live patching [all …]
|
/Linux-v6.1/arch/arm64/include/uapi/asm/ |
D | sigcontext.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 25 * Signal context structure - contains all info to do with the state 53 * New records that can exceed this space need to be opt-in for userspace, so 63 * and be 16-byte aligned. The last structure must be a dummy one with the 81 * Note: similarly to all other integer fields, each V-register is stored in an 82 * endianness-dependent format, with the byte at offset i from the start of the 83 * in-memory representation of the register value containing 85 * bits [(7 + 8 * i) : (8 * i)] of the register on little-endian hosts; or 86 * bits [(127 - 8 * i) : (120 - 8 * i)] on big-endian hosts. 115 * 16-byte aligned address immediately after the terminating null [all …]
|
/Linux-v6.1/Documentation/bpf/ |
D | bpf_prog_run.rst | 1 .. SPDX-License-Identifier: GPL-2.0 16 -------- 20 can be used to unit test BPF programs against user-supplied context objects, and 28 - ``BPF_PROG_TYPE_SOCKET_FILTER`` 29 - ``BPF_PROG_TYPE_SCHED_CLS`` 30 - ``BPF_PROG_TYPE_SCHED_ACT`` 31 - ``BPF_PROG_TYPE_XDP`` 32 - ``BPF_PROG_TYPE_SK_LOOKUP`` 33 - ``BPF_PROG_TYPE_CGROUP_SKB`` 34 - ``BPF_PROG_TYPE_LWT_IN`` [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/display/xlnx/ |
D | xlnx,zynqmp-dpsub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/xlnx/xlnx,zynqmp-dpsub.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 +------------------------------------------------------------+ 15 +--------+ | +----------------+ +-----------+ | 16 | DPDMA | --->| | --> | Video | Video +-------------+ | 17 | 4x vid | | | | | Rendering | -+--> | | | +------+ 18 | 2x aud | | | Audio/Video | --> | Pipeline | | | DisplayPort |---> | PHY0 | 19 +--------+ | | Buffer Manager | +-----------+ | | Source | | +------+ [all …]
|
/Linux-v6.1/Documentation/livepatch/ |
D | reliable-stacktrace.rst | 15 functions may have live state and therefore may not be safe to patch. One way 16 to identify which functions are live is to use a stacktrace. 19 functions with live state, and best-effort approaches which can be helpful for 21 to provide a *reliable* stacktrace which ensures it never omits any live 38 * The return code is non-zero to indicate that the trace is not reliable. 47 function should attempt to detect such cases and return a non-zero error 52 3. Compile-time analysis 76 -------------------------------------- 99 ------------------------------- 133 ---------------------------------------------- [all …]
|
/Linux-v6.1/include/uapi/linux/ |
D | batadv_packet.h | 1 /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) */ 15 * batadv_tp_is_error() - Check throughput meter return code for error 23 * enum batadv_packettype - types for batman-adv encapsulated packets 39 /* 0x00 - 0x3f: local packets or special rules for handling */ 45 /* 0x40 - 0x7f: unicast */ 53 /* 0x80 - 0xff: reserved */ 57 * enum batadv_subtype - packet subtype for unicast4addr 74 * enum batadv_iv_flags - flags used in B.A.T.M.A.N. IV OGM packets 88 * enum batadv_icmp_packettype - ICMP message types 106 * enum batadv_mcast_flags - flags for multicast capabilities and settings [all …]
|
/Linux-v6.1/Documentation/arm64/ |
D | sve.rst | 23 ----------- 26 tracked per-thread. 34 instructions and registers, and the Linux-specific system interfaces 60 cpu-feature-registers.txt for details. 78 an endianness-invariant layout, with bits [(8 * i + 7) : (8 * i)] encoded at 83 Beware that on big-endian systems this results in a different byte order than 84 for the FPSIMD V-registers, which are stored as single host-endian 128-bit 85 values, with bits [(127 - 8 * i) : (120 - 8 * i)] of the register encoded at 90 ----------------------------- 97 * Vector length (VL) = size of a Z-register in bytes [all …]
|
/Linux-v6.1/arch/xtensa/kernel/ |
D | coprocessor.S | 4 * Xtensa processor configuration-specific table of coprocessor and 11 * Copyright (C) 2003 - 2007 Tensilica Inc. 16 #include <asm/asm-offsets.h> 25 * - a task may have live coprocessors only on one CPU. 27 * - whether coprocessor context of task T is live on some CPU is 28 * denoted by T's thread_info->cpenable. 30 * - non-zero thread_info->cpenable means that thread_info->cp_owner_cpu 31 * is valid in the T's thread_info. Zero thread_info->cpenable means that 34 * - if a coprocessor context of task T is live on CPU X, only CPU X changes 35 * T's thread_info->cpenable, cp_owner_cpu and coprocessor save area. [all …]
|
/Linux-v6.1/drivers/misc/lkdtm/ |
D | rodata.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This includes functions that are meant to live entirely in .rodata 4 * (via objcopy tricks), to validate the non-executability of .rodata.
|
/Linux-v6.1/drivers/of/ |
D | overlay.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2012 Pantelis Antoniou <panto@antoniou-consulting.com> 27 * struct target - info about current target node as recursing through overlay 29 * @in_livetree: @np is a node in the live devicetree 33 * in the live devicetree where the overlay subtree is targeted to be grafted 35 * also recurses to the next level of the live devicetree, as long as overlay 36 * subtree node also exists in the live devicetree. When a node in the overlay 37 * subtree does not exist at the same level in the live devicetree, target->np 47 * struct fragment - info about fragment nodes in overlay expanded device tree 67 * @cset: changeset to apply fragments to live device tree [all …]
|
/Linux-v6.1/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-context-chk-gpr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * speculative nature of the 'live' registers and may infer the wrong 32 #define NV_GPR_REGS 18 /* Number of non-volatile GPR registers */ 33 #define R14 14 /* First non-volatile register to check in r14-r31 subset */ 39 /* Test only non-volatile general purpose registers, i.e. r14-r31 */ 41 /* First context will be set with these values, i.e. non-speculative */ 46 -1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18 53 ucontext_t *tm_ucp = ucp->uc_link; in signal_usr1() 57 fail = (ucp->uc_mcontext.gp_regs[R14 + i] != gprs[i]); in signal_usr1() 61 R14 + i, ucp->uc_mcontext.gp_regs[R14 + i], gprs[i]); in signal_usr1() [all …]
|
D | tm-signal-context-chk-fpu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * speculative nature of the 'live' registers and may infer the wrong 32 #define NV_FPU_REGS 18 /* Number of non-volatile FP registers */ 33 #define FPR14 14 /* First non-volatile FP register to check in f14-31 subset */ 37 /* Test only non-volatile registers, i.e. 18 fpr registers from f14 to f31 */ 39 /* First context will be set with these values, i.e. non-speculative */ 42 -1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18 51 ucontext_t *tm_ucp = ucp->uc_link; in signal_usr1() 55 fail = (ucp->uc_mcontext.fp_regs[FPR14 + i] != fps[i]); in signal_usr1() 59 FPR14 + i, ucp->uc_mcontext.fp_regs[FPR14 + i], fps[i]); in signal_usr1() [all …]
|
D | tm-signal-context-chk-vmx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * speculative nature of the 'live' registers and may infer the wrong 33 #define NV_VMX_REGS 12 /* Number of non-volatile VMX registers */ 34 #define VMX20 20 /* First non-volatile register to check in vr20-31 subset */ 40 /* Test only non-volatile registers, i.e. 12 vmx registers from vr20 to vr31 */ 42 /* First context will be set with these values, i.e. non-speculative */ 50 { -1, -2, -3, -4},{ -5, -6, -7, -8},{ -9,-10,-11,-12}, 51 {-13,-14,-15,-16},{-17,-18,-19,-20},{-21,-22,-23,-24}, 52 {-25,-26,-27,-28},{-29,-30,-31,-32},{-33,-34,-35,-36}, 53 {-37,-38,-39,-40},{-41,-42,-43,-44},{-45,-46,-47,-48} [all …]
|
/Linux-v6.1/Documentation/admin-guide/ |
D | tainted-kernels.rst | 2 --------------- 16 ('kernel oops') or a non-recoverable error ('kernel panic') and writes debug 30 CPU: 0 PID: 4424 Comm: insmod Tainted: P W O 4.20.0-0.rc6.fc30 #1 43 a warning occurred (``W``), and an externally-built module was loaded (``O``). 53 decode that number is the script ``tools/debugging/kernel-chktaint``, which your 54 distribution might ship as part of a package called ``linux-tools`` or 55 ``kernel-tools``; if it doesn't you can download the script from 56 …git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/tools/debugging/kernel-chktaint>`_ 57 and execute it with ``sh kernel-chktaint``, which would print something like 63 * Externally-built ('out-of-tree') module was loaded (#12) [all …]
|
/Linux-v6.1/drivers/gpu/drm/xlnx/ |
D | zynqmp_disp.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2017 - 2020 Xilinx, Inc. 8 * - Hyun Woo Kwon <hyun.kwon@xilinx.com> 9 * - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 28 #include <linux/dma-mapping.h> 43 * -------- 48 * +------------------------------------------------------------+ 49 * +--------+ | +----------------+ +-----------+ | 50 * | DPDMA | --->| | --> | Video | Video +-------------+ | 51 * | 4x vid | | | | | Rendering | -+--> | | | +------+ [all …]
|
/Linux-v6.1/Documentation/trace/ |
D | ftrace-uses.rst | 18 for live kernel patching, or for security monitoring. This document describes 48 .. code-block:: c 87 .. code-block:: c 119 .. code-block:: c 129 .. code-block:: c 152 .. code-block:: c 201 traced function), it requires setting this flag. This is what live 202 kernel patches uses. Without this flag the pt_regs->ip can not be 234 .. code-block:: c 248 Non-zero to reset all filters before applying this filter. [all …]
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-module | 4 Contact: masa-korg@dsn.okisemi.com 10 Contact: masa-korg@dsn.okisemi.com 34 Beware, non-standard modes are usually not thoroughly tested by 48 Description: Show the initialization state(live, coming, going) of 58 O out-of-tree module 59 F force-loaded module
|
/Linux-v6.1/drivers/gpu/drm/vc4/ |
D | vc4_validate_shaders.c | 30 * the general-purpose DMA mode) or reading system memory it shouldn't 31 * (reading it as a texture, uniform data, or direct-addressed TMU 109 return 64 + waddr - QPU_W_ACC0; in waddr_to_live_reg_index() 159 uint32_t s = validated_shader->num_texture_samples; in record_texture_sample() 163 temp_samples = krealloc(validated_shader->texture_samples, in record_texture_sample() 170 &validation_state->tmu_setup[tmu], in record_texture_sample() 173 validated_shader->num_texture_samples = s + 1; in record_texture_sample() 174 validated_shader->texture_samples = temp_samples; in record_texture_sample() 177 validation_state->tmu_setup[tmu].p_offset[i] = ~0; in record_texture_sample() 187 uint64_t inst = validation_state->shader[validation_state->ip]; in check_tmu_write() [all …]
|
/Linux-v6.1/Documentation/arm/ |
D | kernel_mode_neon.rst | 6 ------------- 10 '-march=armv7-a -mfpu=neon -mfloat-abi=softfp' 18 ------------ 25 non-preemptible section for reasons outlined below. 29 ------------------------- 32 kept 'live', and is only preserved and restored when multiple tasks are 50 ---------------------------- 62 the NEON registers are live. (Additional calls to kernel_neon_begin() should be 67 -------------------- 69 like IEEE-754 compliant underflow handling etc. When the VFP unit needs such [all …]
|
/Linux-v6.1/sound/pci/emu10k1/ |
D | emu10k1_main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) by James Courtier-Dutton <James@superbug.co.uk> 13 * -- 16 * -- 92 if (emu->audigy) { in snd_emu10k1_voice_init() 133 { 0x0e, 0xcf }, /* Attenuation Left 0x01 = -103dB, 0xff = 24dB */ 151 HCFG_MUTEBUTTONENABLE, emu->port + HCFG); in snd_emu10k1_init() 162 outl(0, emu->port + INTE); in snd_emu10k1_init() 168 if (emu->audigy) { in snd_emu10k1_init() 180 snd_emu10k1_ptr_write(emu, SPCS0, 0, emu->spdif_bits[0]); in snd_emu10k1_init() [all …]
|
/Linux-v6.1/sound/pci/ca0106/ |
D | ca0106.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 4 * Driver CA0106 chips. e.g. Sound Blaster Audigy LS and Live 24bit 48 * Added GPIO info for SB Live 24bit. 50 * Implement support for Line-in capture on SB Live 24bit. 52 * Add support for mute control on SB Live 24bit (cards w/ SPI DAC) 73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ 87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ 88 #define IPR_MIDI_TX_A 0x00000002 /* MIDI UART-A Transmit buffer empty */ [all …]
|
/Linux-v6.1/arch/sparc/vdso/ |
D | vdso-layout.lds.S | 3 * its virtual address, and with only one read-only segment. 22 * non-allocatable things that dangle past the end of the PT_LOAD 23 * segment. Page size is 8192 for both 64-bit and 32-bit vdso binaries 26 vvar_start = . -8192; 52 * Ideally this would live in a C file: kept in here for 53 * compatibility with x86-64. 70 * Text is well-separated from actual data: there's plenty of 90 * PT_LOAD segment, and set the flags explicitly to make segments read-only.
|
/Linux-v6.1/include/xen/interface/ |
D | elfnote.h | 1 /* SPDX-License-Identifier: MIT */ 14 * The notes should live in a SHT_NOTE segment and have "Xen" in the 23 * String values (for non-legacy) are NULL terminated ASCII, also known 56 * pseudo-physical address (numeric). 98 * indicate 'extended-cr3' support allowing L3 page tables to be 101 * equivalent to "yes[entended-cr3]" in the __xen_guest interface. 135 * List of maddr_t-sized mask/value pairs describing how to recognize 136 * (non-present) L1 page table entries carrying valid MFNs (numeric). 149 * The (non-default) location the initial phys-to-machine map should be 155 * (Only x86-64 supports this at present.) [all …]
|