/Linux-v5.10/Documentation/admin-guide/mm/ |
D | userfaultfd.rst | 10 Userfaults allow the implementation of on-demand paging from userland 38 Vmas are not suitable for page- (or hugepage) granular fault tracking 48 is a corner case that would currently return ``-EBUSY``). 82 detail below in `Non-cooperative userfaultfd`_ section. 101 user-faulted page. 113 - If you requested ``UFFDIO_REGISTER_MODE_MISSING`` when registering then 119 - None of the page-delivering ioctls default to the range that you 123 - You get the address of the access that triggered the missing page 129 - Be sure to test for all errors including 134 --------------------------- [all …]
|
/Linux-v5.10/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-v5.10/include/linux/ |
D | livepatch.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * livepatch.h - Kernel Live Patching Core 22 #define KLP_UNDEFINED -1 27 * struct klp_func - function structure for live patching 84 * struct klp_callbacks - pre/post live-(un)patch callback structure 89 * @post_unpatch_enabled: flag indicating if post-unpatch callback 92 * All callbacks are optional. Only the pre-patch callback, if provided, 94 * patch for any reason, including a non-zero error status returned from 95 * the pre-patch callback, no further callbacks will be executed. 106 * struct klp_object - kernel object structure for live patching [all …]
|
/Linux-v5.10/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 65 * @cset: changeset to apply fragments to live device tree [all …]
|
/Linux-v5.10/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-v5.10/include/uapi/linux/ |
D | batadv_packet.h | 1 /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) */ 2 /* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: 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 [all …]
|
/Linux-v5.10/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-v5.10/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-v5.10/Documentation/arm64/ |
D | sve.rst | 21 ----------- 24 tracked per-thread. 28 instructions and registers, and the Linux-specific system interfaces 54 cpu-feature-registers.txt for details. 63 an endianness-invariant layout, with bits [(8 * i + 7) : (8 * i)] encoded at 68 Beware that on big-endian systems this results in a different byte order than 69 for the FPSIMD V-registers, which are stored as single host-endian 128-bit 70 values, with bits [(127 - 8 * i) : (120 - 8 * i)] of the register encoded at 75 ----------------------------- 82 * Vector length (VL) = size of a Z-register in bytes [all …]
|
/Linux-v5.10/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 155 traced function), it requires setting this flag. This is what live 156 kernel patches uses. Without this flag the pt_regs->ip can not be 188 .. code-block:: c 202 Non-zero to reset all filters before applying this filter. 214 .. code-block:: c 220 with new functions defined by @buf, have @reset be non-zero. 224 .. code-block:: c [all …]
|
/Linux-v5.10/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-v5.10/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> 27 #include <linux/dma-mapping.h> 43 * -------- 48 * +------------------------------------------------------------+ 49 * +--------+ | +----------------+ +-----------+ | 50 * | DPDMA | --->| | --> | Video | Video +-------------+ | 51 * | 4x vid | | | | | Rendering | -+--> | | | +------+ [all …]
|
/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/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-v5.10/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-v5.10/mm/ |
D | memremap.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 46 if (pgmap->type == MEMORY_DEVICE_PRIVATE || in devmap_managed_enable_put() 47 pgmap->type == MEMORY_DEVICE_FS_DAX) in devmap_managed_enable_put() 53 if (pgmap->type == MEMORY_DEVICE_PRIVATE || in devmap_managed_enable_get() 54 pgmap->type == MEMORY_DEVICE_FS_DAX) in devmap_managed_enable_get() 68 xa_store_range(&pgmap_array, PHYS_PFN(range->start), PHYS_PFN(range->end), in pgmap_array_delete() 75 struct range *range = &pgmap->ranges[range_id]; in pfn_first() 76 unsigned long pfn = PHYS_PFN(range->start); in pfn_first() 85 const struct range *range = &pgmap->ranges[range_id]; in pfn_end() 87 return (range->start + range_len(range)) >> PAGE_SHIFT; in pfn_end() [all …]
|
/Linux-v5.10/Documentation/bpf/ |
D | map_cgroup_storage.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 8 The ``BPF_MAP_TYPE_CGROUP_STORAGE`` map type represents a local fix-sized 15 table, which performs a hash table lookups, and requires user to track live 127 per-CPU variant will have different memory regions for each CPU for each 128 storage. The non-per-CPU will have the same memory region for each storage. 130 Prior to Linux 5.9, the lifetime of a storage is precisely per-attachment, and 136 There is a one-to-one association between the map of each type (per-CPU and 137 non-per-CPU) and the BPF program during load verification time. As a result, 154 (per-CPU and non-per-CPU). A BPF program cannot use more than one
|
/Linux-v5.10/Documentation/core-api/ |
D | debugging-via-ohci1394.rst | 2 Using physical DMA provided by OHCI-1394 FireWire controllers for debugging 6 ------------ 9 to the OHCI-1394 specification which defines the controller to be a PCI 12 PCI-Bus master DMA after applying filters defined by the OHCI-1394 driver. 15 ask the OHCI-1394 controller to perform read and write requests on 28 more common hardware such as x86, x86-64 and PowerPC. 34 Together with a early initialization of the OHCI-1394 controller for debugging, 41 ------- 43 The firewire-ohci driver in drivers/firewire uses filtered physical 47 Because the firewire-ohci driver depends on the PCI enumeration to be [all …]
|
/Linux-v5.10/arch/x86/realmode/rm/ |
D | trampoline_64.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * with 16-bit addressing and 16-bit data. CS has some value 24 * --full-contents --reloc to make sure there are no relocation 33 #include <asm/processor-flags.h> 61 * GDT tables in non default location kernel can be beyond 16MB and 85 /* SEV-ES supports non-zero IP for entry points - no alignment needed */ 174 # so the kernel can live anywhere 177 .short tr_gdt_end - tr_gdt - 1 # gdt limit
|
/Linux-v5.10/Documentation/devicetree/bindings/sound/ |
D | samsung,aries-wm8994.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/samsung,aries-wm8994.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jonathan Bakker <xc-racer2@live.ca> 16 - samsung,aries-wm8994 18 - samsung,fascinate4g-wm8994 22 description: The user-visible name of this sound complex. 27 sound-dai: 30 $ref: /schemas/types.yaml#/definitions/phandle-array [all …]
|
/Linux-v5.10/arch/parisc/kernel/ |
D | alternative.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Alternative live-patching for parisc. 20 __setup("no-alternatives", setup_no_alternatives); 37 * If the PDC_MODEL capabilities has Non-coherent IO-PDIR bit in apply_alternatives() 39 * time IO-PDIR is changed in Ike/Astro. in apply_alternatives() 50 from = (u32 *)((ulong)&entry->orig_offset + entry->orig_offset); in apply_alternatives() 51 len = entry->len; in apply_alternatives() 52 cond = entry->cond; in apply_alternatives() 53 replacement = entry->replacement; in apply_alternatives() 79 replacement = 0xe8000002 + (len-2)*8; /* "b,n .+8" */ in apply_alternatives() [all …]
|