/linux-6.14.4/arch/um/os-Linux/ |
D | signal.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2015 Anton Ivanov (aivanov@{brocade.com,kot-begemot.co.uk}) 6 * Copyright (C) 2004 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 16 #include <as-layout.h> 57 * be able to profile all of UML, not just the non-critical sections. If 58 * profiling is not thread-safe, then that is not my problem. We can disable 59 * profiling when SMP is enabled in that case. 76 int enabled = signals_enabled; in sig_handler() local 89 if (!enabled && (sig == SIGIO)) { in sig_handler() 91 * In TT_MODE_EXTERNAL, need to still call time-travel in sig_handler() [all …]
|
/linux-6.14.4/arch/arm/mach-tegra/ |
D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2009-2012, NVIDIA Corporation. All rights reserved. 29 #include <asm/proc-fns.h> 141 if (tegra_cpu_car_ops->rail_off_ready && in tegra_sleep_cpu() 143 return -EBUSY; in tegra_sleep_cpu() 148 * MMU-on if cache maintenance is done via Trusted Foundations in tegra_sleep_cpu() 150 * if any of secondary CPU's is online and this is the LP2-idle in tegra_sleep_cpu() 151 * code-path only for Tegra20/30. in tegra_sleep_cpu() 162 * 2) Disable D-cache. This need to be taken into account in in tegra_sleep_cpu() 164 * shall avoid the re-disable. in tegra_sleep_cpu() [all …]
|
/linux-6.14.4/Documentation/arch/arm64/ |
D | cpu-hotplug.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 CPU Hotplug on physical systems - CPUs not present at boot 16 ---------------------------------------------------------- 42 CPU Hotplug on virtual systems - CPUs not enabled at boot 43 --------------------------------------------------------- 46 ever have can be described at boot. There are no power-domain considerations 64 ``enabled`` in the MADT GICC structures, but should have the ``online capable`` 65 bit set, to indicate they can be enabled later. The boot CPU must be marked as 66 ``enabled``. The 'always on' GICR structure must be used to describe the 69 CPUs described as ``online capable`` but not ``enabled`` can be set to enabled [all …]
|
/linux-6.14.4/scripts/gdb/linux/ |
D | symbols.py | 6 # Copyright (c) Siemens AG, 2011-2013 16 import re 37 # Disable pagination while reporting symbol (re-)loading. 58 """(Re-)load symbols of Linux kernel and currently loaded modules. 63 lx-symbols command.""" 72 super(LxSymbols, self).__init__("lx-symbols", gdb.COMMAND_FILES, 87 module_name.replace("_", r"[_\-]")) 89 if re.match(module_pattern, name) and os.path.exists(name): 114 args.append(" -s {name} {addr}".format( 137 cmdline = "add-symbol-file {filename} {sections}".format( [all …]
|
/linux-6.14.4/drivers/tty/hvc/ |
D | hvc_dcc.c | 1 // SPDX-License-Identifier: GPL-2.0 42 struct earlycon_device *dev = con->data; in dcc_early_write() 44 uart_console_write(&dev->port, s, n, dcc_uart_console_putchar); in dcc_early_write() 52 while (--count && (__dcc_getstatus() & DCC_STATUS_TX)) in dcc_early_console_setup() 56 return -ENODEV; in dcc_early_console_setup() 58 device->con->write = dcc_early_write; in dcc_early_console_setup() 93 * Check if the DCC is enabled. If CONFIG_HVC_DCC_SERIALIZE_SMP is enabled, 103 * If we're not on core 0, but we previously confirmed that DCC is in hvc_dcc_check() 142 /* While we're at it, check for any input characters */ in dcc_put_work() 180 * Write characters directly to the DCC if we're on core 0 and the FIFO [all …]
|
/linux-6.14.4/fs/xfs/scrub/ |
D | scrub.h | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved. 39 if (likely(++widget->resched_nr < 100)) in xchk_maybe_relax() 41 widget->resched_nr = 0; in xchk_maybe_relax() 43 if (unlikely(widget->next_resched <= jiffies)) { in xchk_maybe_relax() 45 widget->next_resched = XCHK_RELAX_NEXT; in xchk_maybe_relax() 48 if (widget->interruptible && fatal_signal_pending(current)) in xchk_maybe_relax() 49 return -EINTR; in xchk_maybe_relax() 57 * to back out gracefully if there isn't enough memory. Force-cast to avoid 73 ST_PERAG, /* per-AG metadata */ [all …]
|
/linux-6.14.4/arch/powerpc/kernel/ |
D | irq_64.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 1995-1996 Gary Thomas ([email protected]) 8 * Copyright (C) 1996-2001 Cort Dougan 39 #include <linux/radix-tree.h> 74 WARN_ON(!(local_paca->irq_happened & PACA_IRQ_HARD_DIS)); in next_interrupt() 79 * We are responding to the next interrupt, so interrupt-off in next_interrupt() 90 if (local_paca->irq_happened & irq) { in irq_happened_test_and_clear() 91 local_paca->irq_happened &= ~irq; in irq_happened_test_and_clear() 108 WARN_ON(!(local_paca->irq_happened & PACA_IRQ_HARD_DIS)); in __replay_soft_interrupts() 109 WARN_ON(local_paca->irq_happened & PACA_IRQ_REPLAYING); in __replay_soft_interrupts() [all …]
|
/linux-6.14.4/include/linux/regulator/ |
D | driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * driver.h -- SoC Regulator driver support. 37 /* The regulator is enabled but not regulating */ 57 * struct regulator_ops - regulator operations. 59 * @enable: Configure the regulator as enabled. 61 * @is_enabled: Return 1 if the regulator is enabled, 0 if not. 70 * return -ENOTRECOVERABLE if regulator can't be read at 73 * regulator; return -ENOTRECOVERABLE if regulator can't 80 * @set_current_limit: Configure a limit for a current-limited regulator. 82 * @get_current_limit: Get the configured limit for a current-limited regulator. [all …]
|
/linux-6.14.4/drivers/clk/bcm/ |
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() 69 combined <<= div->u.s.frac_width; in scaled_div_build() 79 return (u64)div->u.fixed; in scaled_div_min() 90 return (u64)div->u.fixed; in scaled_div_max() 92 reg_div = ((u32)1 << div->u.s.width) - 1; in scaled_div_max() [all …]
|
/linux-6.14.4/Documentation/ABI/testing/ |
D | sysfs-kernel-fadump | 3 Contact: linuxppc-[email protected] 9 What: /sys/kernel/fadump/enabled 11 Contact: linuxppc-[email protected] 13 Primarily used to identify whether the FADump is enabled in 19 Contact: linuxppc-[email protected] 28 Contact: linuxppc-[email protected] 37 Contact: linuxppc-[email protected] 44 Contact: linuxppc-[email protected] 46 Kdump udev rule re-registers fadump on memory add/remove events, 48 kdump udev rule that fadump re-registration is not required on [all …]
|
/linux-6.14.4/arch/arm64/kvm/hyp/nvhe/ |
D | tlb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015 - ARM Ltd 27 host_ctxt = &this_cpu_ptr(&kvm_host_data)->host_ctxt; in enter_vmid_context() 28 vcpu = host_ctxt->__hyp_running_vcpu; in enter_vmid_context() 29 cxt->mmu = NULL; in enter_vmid_context() 34 * - ensure that the page table updates are visible to all in enter_vmid_context() 35 * CPUs, for which a dsb(DOMAIN-st) is what we need, DOMAIN in enter_vmid_context() 39 * - complete any speculative page table walk started before in enter_vmid_context() 45 * Inner-Shareable and Non-Shareable, as specified by the in enter_vmid_context() 54 * If we're already in the desired context, then there's nothing to do. in enter_vmid_context() [all …]
|
/linux-6.14.4/Documentation/arch/x86/ |
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 34 To build a user shadow stack enabled kernel, Binutils v2.29 or LLVM v6 or later 45 from readelf/llvm-readelf output:: 47 readelf -n <application> | grep -a SHSTK 58 Elf features should be enabled by the loader using the below arch_prctl's. They 60 on a per-thread basis. The enablement status is inherited on clone, so if the [all …]
|
/linux-6.14.4/include/uapi/linux/ |
D | sed-opal.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 86 __u32 RLE; /* Read Lock enabled */ 87 __u32 WLE; /* Write Lock Enabled */ 95 __u32 RLE; /* Read Lock enabled */ 96 __u32 WLE; /* Write Lock Enabled */ 111 /* When we're not operating in sum, and we first set 117 * to start the session and new_userr_pw as the user we're
|
/linux-6.14.4/mm/damon/ |
D | reclaim.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * DAMON-based page reclamation 8 #define pr_fmt(fmt) "damon-reclaim: " fmt 14 #include "modules-common.h" 26 * do no real monitoring and reclamation due to the watermarks-based activation 30 static bool enabled __read_mostly; 33 * Make DAMON_RECLAIM reads the input parameters again, except ``enabled``. 37 * of parametrs except ``enabled`` again. Once the re-reading is done, this 39 * re-reading, DAMON_RECLAIM will be disabled. 66 * Desired level of memory pressure-stall time in microseconds. [all …]
|
D | lru_sort.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * DAMON-based LRU-lists Sorting 8 #define pr_fmt(fmt) "damon-lru-sort: " fmt 14 #include "modules-common.h" 26 * DAMON_LRU_SORT could do no real monitoring and LRU-lists sorting due to the 27 * watermarks-based activation condition. Refer to below descriptions for the 30 static bool enabled __read_mostly; 33 * Make DAMON_LRU_SORT reads the input parameters again, except ``enabled``. 37 * reads values of parametrs except ``enabled`` again. Once the re-reading is 39 * the re-reading, DAMON_LRU_SORT will be disabled. [all …]
|
/linux-6.14.4/tools/sched_ext/ |
D | README.md | 11 Some of the examples are performant, production-ready schedulers. That is, for 18 types of workloads or scenarios they're designed to accommodate, and whether or 19 not they're production ready. For more details on any of these schedulers, 47 non-trivial ones. 79 This is a large, auto-generated header file that contains all of the types 81 [BTF](https://docs.kernel.org/bpf/btf.html) (i.e. with the BTF-related Kconfig 108 bpf_printk("Task %s enabled in example scheduler", p->comm); 126 3. At `../../vmlinux` (i.e. at the root of the kernel tree where you're 129 4. `/boot/vmlinux-$(uname -r)` 133 the kernel you're currently running on. This means that if you're running on a [all …]
|
/linux-6.14.4/kernel/sched/ |
D | idle.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * sched_idle_set_state - Record idle state for the current CPU. 29 cpu_idle_force_poll--; in cpu_idle_poll_ctrl() 104 * default_idle_call - Default CPU idle routine. 132 return -EBUSY; in call_cpuidle_s2idle() 145 dev->last_residency_ns = 0; in call_cpuidle() 147 return -EBUSY; in call_cpuidle() 153 * care of re-enabling the local interrupts in call_cpuidle() 159 * cpuidle_idle_call - the main idle function 175 * case, exit the function after re-enabling the local IRQ. in cpuidle_idle_call() [all …]
|
/linux-6.14.4/Documentation/networking/ |
D | ipvs-sysctl.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 IPvs-sysctl 10 am_droprate - INTEGER 16 amemthresh - INTEGER 22 enabled and the variable is automatically set to 2, otherwise 25 backup_only - BOOLEAN 26 - 0 - disabled (default) 27 - not 0 - enabled 32 conn_reuse_mode - INTEGER 33 1 - default [all …]
|
/linux-6.14.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_dcb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013-2014 Chelsio Communications. All rights reserved. 15 "DCBx-CIN", 16 "DCBx-CEE 1.01", 17 "DCBx-IEEE", 36 struct port_dcb_info *dcb = &pi->dcb; in cxgb4_dcb_state_init() 37 int version_temp = dcb->dcb_version; in cxgb4_dcb_state_init() 40 dcb->state = CXGB4_DCB_STATE_START; in cxgb4_dcb_state_init() 42 dcb->dcb_version = version_temp; in cxgb4_dcb_state_init() 45 __func__, pi->port_id); in cxgb4_dcb_state_init() [all …]
|
/linux-6.14.4/drivers/clocksource/ |
D | hyperv_timer.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * provided by the Hyper-V hypervisor to guest VMs, as described 6 * in the Hyper-V Top Level Functional Spec (TLFS). This driver 34 * If false, we're using the old mechanism for stimer0 interrupts 36 * mechanism is used when running on older versions of Hyper-V 37 * that don't support Direct Mode. While Hyper-V provides 41 * message, stimer interrupts can be enabled earlier in the 43 * interrupts are enabled for other clocksource drivers. 44 * However, for legacy versions of Hyper-V when Direct Mode 45 * is not enabled, setting up stimer interrupts must be [all …]
|
/linux-6.14.4/include/net/ |
D | netdev_queues.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * struct netdev_config - queue-related configuration for a netdev 60 * struct netdev_stat_ops - netdev ops for fine grained stats 66 * on entry (specifically they are *not* zero-initialized). Drivers should 71 * queues are queried by the per-queue callbacks. This means that per-queue 78 * is issued to collect the delta, and then a series of per-queue callbacks. 88 * the @get_base_stats and subsequent per-queue calls are performed 91 * Device drivers are encouraged to reset the per-queue statistics when 93 * per-queue statistics is currently to detect traffic imbalance. 106 * struct netdev_queue_mgmt_ops - netdev ops for queue management [all …]
|
/linux-6.14.4/drivers/pci/pcie/ |
D | ptm.c | 1 // SPDX-License-Identifier: GPL-2.0 30 if (ups && ups->ptm_cap) in pci_upstream_ptm() 53 dev->ptm_cap = ptm; in pci_ptm_init() 57 dev->ptm_granularity = FIELD_GET(PCI_PTM_GRANULARITY_MASK, cap); in pci_ptm_init() 67 if (ups->ptm_granularity == 0) in pci_ptm_init() 68 dev->ptm_granularity = 0; in pci_ptm_init() 69 else if (ups->ptm_granularity > dev->ptm_granularity) in pci_ptm_init() 70 dev->ptm_granularity = ups->ptm_granularity; in pci_ptm_init() 72 dev->ptm_root = 1; in pci_ptm_init() 80 dev->ptm_granularity = 0; in pci_ptm_init() [all …]
|
/linux-6.14.4/Documentation/admin-guide/media/ |
D | building.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 distribution-specific source file or via the Kernel's main git tree\ [1]_. 12 - you're a braveheart and want to experiment with new stuff; 13 - if you want to report a bug; 14 - if you're developing new patches 23 https://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers 50 Device Drivers ---> 51 <M> Remote Controller support ---> 54 [*] HDMI CEC drivers ---> 55 <*> Multimedia support ---> [all …]
|
/linux-6.14.4/arch/arm/kernel/ |
D | entry-common.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm/kernel/entry-common.S 14 #include <asm/unistd-oabi.h> 19 #include "entry-header.S" 37 * have tracing, context tracking and rseq debug disabled - the overheads 45 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing 60 * or rseq debug is enabled. As we will need to call out to some C functions, 70 /* do_rseq_syscall needs interrupts enabled. */ 75 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing 81 /* Slower path - fall through to work_pending */ [all …]
|
/linux-6.14.4/drivers/gpu/drm/i915/gt/uc/ |
D | intel_uc.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2016-2019 Intel Corporation 28 struct drm_i915_private *i915 = uc_to_gt(uc)->i915; in uc_expand_default_options() 30 if (i915->params.enable_guc != -1) in uc_expand_default_options() 33 /* Don't enable GuC/HuC on pre-Gen12 */ in uc_expand_default_options() 35 i915->params.enable_guc = 0; in uc_expand_default_options() 41 i915->params.enable_guc = 0; in uc_expand_default_options() 47 i915->params.enable_guc = ENABLE_GUC_LOAD_HUC; in uc_expand_default_options() 52 i915->params.enable_guc = ENABLE_GUC_LOAD_HUC | ENABLE_GUC_SUBMISSION; in uc_expand_default_options() 63 ret = i915_inject_probe_error(gt->i915, -ENXIO); in __intel_uc_reset_hw() [all …]
|