/linux-6.12.1/Documentation/devicetree/bindings/thermal/ |
D | thermal-zones.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml# 6 $schema: http://devicetree.org/meta-schemas/base.yaml# 11 - Daniel Lezcano <daniel.lezcano@linaro.org> 16 take appropriate action to mitigate thermal overloads. 20 - thermal-sensor: device that measures temperature, has SoC-specific bindings 21 - cooling-device: device used to dissipate heat either passively or actively 22 - thermal-zones: a container of the following node types used to describe all 25 This binding describes the thermal-zones. [all …]
|
D | thermal-sensor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-sensor.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Amit Kucheria <amitk@kernel.org> 16 action to mitigate thermal overloads. 20 - thermal-sensor: device that measures temperature, has SoC-specific bindings 21 - cooling-device: device used to dissipate heat either passively or actively 22 - thermal-zones: a container of the following node types used to describe all 25 This binding describes the thermal-sensor. [all …]
|
/linux-6.12.1/include/linux/ |
D | kern_levels.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #define KERN_ALERT KERN_SOH "1" /* action must be taken immediately */ 10 #define KERN_CRIT KERN_SOH "2" /* critical conditions */ 15 #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */ 22 * during early bootup (a continued line is not SMP-safe otherwise). 27 #define LOGLEVEL_SCHED -2 /* Deferred messages from sched code 29 #define LOGLEVEL_DEFAULT -1 /* default (or last) loglevel */ 31 #define LOGLEVEL_ALERT 1 /* action must be taken immediately */ 32 #define LOGLEVEL_CRIT 2 /* critical conditions */ 37 #define LOGLEVEL_DEBUG 7 /* debug-level messages */
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-class-hwmon | 16 The contents of the label are free-form. 40 Voltage critical min value. 47 take drastic action such as power down or reset. At the very 60 Voltage critical max value. 67 take drastic action such as power down or reset. At the very 135 this voltage channel is being used for, and user-space 137 user-space. 145 When disabled the sensor read will return -ENODATA. 147 - 1: Enable 148 - 0: Disable [all …]
|
D | ima_policy | 8 loaded into the run-time of this system. At runtime, 20 rule format: action [condition ...] 22 action: measure | dont_measure | appraise | dont_appraise | 42 fsuuid:= file system UUID (e.g 8bcbe394-4f13-4144-be8e-5aa9ea2ce2f6) 64 Require fs-verity's file digest instead of the 68 when action is "measure" and func is KEY_CHECK. 70 (eg, ima-ng). Only valid when action is "measure". 73 data_label:= a unique string used for grouping and limiting critical data. 74 For example, "selinux" to measure critical data for SELinux. 75 appraise_algos:= comma-separated list of hash algorithms [all …]
|
/linux-6.12.1/drivers/thermal/ |
D | thermal_of.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * of-thermal.c - Generic Thermal Management device tree support. 31 [THERMAL_TRIP_CRITICAL] = "critical", 35 * thermal_of_get_trip_type - Get phy mode for given device_node 60 return -ENODEV; in thermal_of_get_trip_type() 74 trip->temperature = prop; in thermal_of_populate_trip() 81 trip->hysteresis = prop; in thermal_of_populate_trip() 83 ret = thermal_of_get_trip_type(np, &trip->type); in thermal_of_populate_trip() 89 trip->flags = THERMAL_TRIP_FLAG_RW_TEMP; in thermal_of_populate_trip() 91 trip->priv = np; in thermal_of_populate_trip() [all …]
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | verify_sig_setup.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 set -e 5 set -u 6 set -o pipefail 23 basicConstraints=critical,CA:FALSE 41 openssl req -new -nodes -utf8 -sha256 -days 36500 \ 42 -batch -x509 -config ${tmp_dir}/x509.genkey \ 43 -outform PEM -out ${tmp_dir}/signing_key.pem \ 44 -keyout ${tmp_dir}/signing_key.pem 2>&1 46 openssl x509 -in ${tmp_dir}/signing_key.pem -out \ [all …]
|
/linux-6.12.1/security/integrity/ima/ |
D | ima_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 54 if (strcmp(template_desc->name, IMA_TEMPLATE_IMA_NAME) == 0) { in hash_setup() 94 mapping_writably_mapped(file->f_mapping)) { in mmap_violation_check() 95 rc = -ETXTBSY; in mmap_violation_check() 98 if (!*pathbuf) /* ima_rdwr_violation possibly pre-fetched */ in mmap_violation_check() 99 *pathname = ima_d_path(&file->f_path, pathbuf, in mmap_violation_check() 111 * - Opening a file for write when already open for read, 113 * - Opening a file for read when already open for write, 125 fmode_t mode = file->f_mode; in ima_rdwr_violation_check() 129 if (atomic_read(&inode->i_readcount) && IS_IMA(inode)) { in ima_rdwr_violation_check() [all …]
|
/linux-6.12.1/include/drm/ |
D | task_barrier.h | 18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 27 * Reusable 2 PHASE task barrier (rendez-vous point) implementation for N tasks. 28 * Based on the Little book of semaphores - https://greenteapress.com/wp/semaphores/ 57 tb->n = 0; in task_barrier_init() 58 atomic_set(&tb->count, 0); in task_barrier_init() 59 sema_init(&tb->enter_turnstile, 0); in task_barrier_init() 60 sema_init(&tb->exit_turnstile, 0); in task_barrier_init() 65 tb->n++; in task_barrier_add_task() 70 tb->n--; in task_barrier_rem_task() 74 * Lines up all the threads BEFORE the critical point. [all …]
|
/linux-6.12.1/Documentation/hwmon/ |
D | sysfs-interface.rst | 5 through the sysfs interface. Since lm-sensors 3.0.0, libsensors is 6 completely chip-independent. It assumes that all the kernel drivers 10 This is a major improvement compared to lm-sensors 2. 22 For this reason, even if we aim at a chip-independent libsensors, it will 37 Up to lm-sensors 3.0.0, libsensors looks for hardware monitoring attributes 38 in the "physical" device directory. Since lm-sensors 3.0.1, attributes found 61 to cause an alarm) is chip-dependent. 69 ---------------- 76 ------------------------------------------------------------------------- 79 `[0-*]` denotes any positive number starting from 0 [all …]
|
/linux-6.12.1/tools/include/linux/ |
D | kern_levels.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #define KERN_ALERT KERN_SOH "" /* action must be taken immediately */ 10 #define KERN_CRIT KERN_SOH "" /* critical conditions */ 15 #define KERN_DEBUG KERN_SOH "" /* debug-level messages */ 22 * during early bootup (a continued line is not SMP-safe otherwise).
|
/linux-6.12.1/Documentation/core-api/ |
D | memory-hotplug.rst | 49 struct notifier_block *self, unsigned long action, void *arg); 53 The second argument (action) is one of the event types described above. 63 - start_pfn is start_pfn of online/offline memory. 64 - nr_pages is # of pages of online/offline memory. 65 - status_change_nid_normal is set node id when N_NORMAL_MEMORY of nodemask 66 is (will be) set/clear, if this is -1, then nodemask status is not changed. 67 - status_change_nid is set node id when N_MEMORY of nodemask is (will be) 69 node loses all memory. If this is -1, then nodemask status is not changed. 81 MEM_ONLINE, or MEM_OFFLINE action to cancel hotplugging. It stops 92 - synchronize against online/offline requests (e.g. via sysfs). This way, memory [all …]
|
/linux-6.12.1/Documentation/networking/dsa/ |
D | sja1105.rst | 8 The NXP SJA1105 is a family of 10 SPI-managed automotive switches: 10 - SJA1105E: First generation, no TTEthernet 11 - SJA1105T: First generation, TTEthernet 12 - SJA1105P: Second generation, no TTEthernet, no SGMII 13 - SJA1105Q: Second generation, TTEthernet, no SGMII 14 - SJA1105R: Second generation, no TTEthernet, SGMII 15 - SJA1105S: Second generation, TTEthernet, SGMII 16 - SJA1110A: Third generation, TTEthernet, SGMII, integrated 100base-T1 and 17 100base-TX PHYs 18 - SJA1110B: Third generation, TTEthernet, SGMII, 100base-T1, 100base-TX [all …]
|
/linux-6.12.1/Documentation/RCU/ |
D | checklist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 0. Is RCU being applied to a read-mostly situation? If the data 18 tool for the job. Yes, RCU does reduce read-side overhead by 19 increasing write-side overhead, which is exactly why normal uses 27 Yet another exception is where the low real-time latency of RCU's 28 read-side primitives is critically important. 33 counter-intuitive situation where rcu_read_lock() and 49 them -- even x86 allows later loads to be reordered to precede 59 2. Do the RCU read-side critical sections make proper use of 63 under your read-side code, which can greatly increase the [all …]
|
/linux-6.12.1/Documentation/security/ |
D | ipe.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Integrity Policy Enforcement (IPE) - Kernel Documentation 10 :doc:`IPE admin guide </admin-guide/LSM/ipe>`. 13 --------------------- 16 of a locked-down system. This system would be born-secure, and have 18 *data files* on the system, that were critical to its function. These 27 2. DM-Verity 29 Both options were carefully considered, however the choice to use DM-Verity 46 modify filesystem offline, the attacker could wipe all the xattrs - 50 With DM-Verity, as the xattrs are saved as part of the Merkel tree, if [all …]
|
/linux-6.12.1/kernel/ |
D | hung_task.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * kernel/hung_task.c - kernel thread for detecting tasks stuck in D state 37 * is disabled during the critical section. It also controls the size of 38 * the RCU grace period. So it needs to be upper-bound. 43 * Zero means infinite timeout - no checking done: 93 unsigned long switch_count = t->nvcsw + t->nivcsw; in check_hung_task() 99 if (unlikely(READ_ONCE(t->__state) & TASK_FROZEN)) in check_hung_task() 110 if (switch_count != t->last_switch_count) { in check_hung_task() 111 t->last_switch_count = switch_count; in check_hung_task() 112 t->last_switch_time = jiffies; in check_hung_task() [all …]
|
/linux-6.12.1/arch/powerpc/platforms/pseries/ |
D | ras.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 114 switch (mlog->error_type) { in rtas_mc_error_sub_type() 116 return (mlog->sub_err_type & 0x07); in rtas_mc_error_sub_type() 120 return (mlog->sub_err_type & 0x03); in rtas_mc_error_sub_type() 122 return (mlog->sub_err_type & 0x70) >> 4; in rtas_mc_error_sub_type() 138 np = of_find_node_by_path("/event-sources/hot-plug-events"); in init_ras_hotplug_IRQ() 161 np = of_find_node_by_path("/event-sources/internal-errors"); in init_ras_IRQ() 169 np = of_find_node_by_path("/event-sources/epow-events"); in init_ras_IRQ() 198 pr_emerg("Loss of system critical functions detected. Check" in handle_system_shutdown() 242 epow_log = (struct epow_errorlog *)pseries_log->data; in rtas_parse_epow_errlog() [all …]
|
/linux-6.12.1/Documentation/networking/devlink/ |
D | devlink-trap.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 For example, a device acting as a multicast-aware bridge must be able to send 31 The ``devlink-trap`` mechanism allows capable device drivers to register their 35 Upon receiving trapped packets, ``devlink`` will perform a per-trap packets and 38 port). This is especially useful for drop traps (see :ref:`Trap-Types`) 42 The following diagram provides a general overview of ``devlink-trap``:: 49 +---------------------------------------------------+ 52 +-------+--------+ 56 +-------^--------+ 58 | Non-control traps [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | g84.c | 18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 32 struct nvkm_device *device = therm->subdev.device; in g84_temp_get() 34 if (nvkm_fuse_read(device->fuse, 0x1a8) == 1) in g84_temp_get() 37 return -ENODEV; in g84_temp_get() 43 struct nvkm_device *device = therm->subdev.device; in g84_sensor_setup() 46 if (nvkm_fuse_read(device->fuse, 0x1a8) == 1) { in g84_sensor_setup() 56 struct nvbios_therm_sensor *sensor = &therm->bios_sensor; in g84_therm_program_alarms() 57 struct nvkm_subdev *subdev = &therm->subdev; in g84_therm_program_alarms() 58 struct nvkm_device *device = subdev->device; in g84_therm_program_alarms() 61 spin_lock_irqsave(&therm->sensor.alarm_program_lock, flags); in g84_therm_program_alarms() [all …]
|
/linux-6.12.1/tools/thermal/tmon/ |
D | tmon.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 127 double ki; /* Time-constant for I action from Dialog Box */ 128 double kd; /* Time-constant for D action from Dialog Box */ 184 * C: Critical
|
/linux-6.12.1/arch/arm/boot/dts/allwinner/ |
D | sun5i-a13.dtsi | 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 40 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 47 #include <dt-bindings/thermal/thermal.h> 50 thermal-zones { 51 cpu-thermal { 53 polling-delay-passive = <250>; 54 polling-delay = <1000>; 55 thermal-sensors = <&rtp>; 57 cooling-maps { [all …]
|
/linux-6.12.1/Documentation/RCU/Design/Expedited-Grace-Periods/ |
D | Expedited-Grace-Periods.rst | 13 There are two flavors of RCU (RCU-preempt and RCU-sched), with an earlier 14 third RCU-bh flavor having been implemented in terms of the other two. 38 RCU-preempt Expedited Grace Periods 41 ``CONFIG_PREEMPTION=y`` kernels implement RCU-preempt. 42 The overall flow of the handling of a given CPU by an RCU-preempt 45 .. kernel-figure:: ExpRCUFlow.svg 47 The solid arrows denote direct action, for example, a function call. 48 The dotted arrows denote indirect action, for example, an IPI 59 can check to see if the CPU is currently running in an RCU read-side 60 critical section. [all …]
|
/linux-6.12.1/arch/xtensa/kernel/ |
D | vectors.S | 13 * Copyright (C) 2005 - 2008 Tensilica, Inc. 20 * We use a two-level table approach. The user and kernel exception vectors 21 * use a first-level dispatch table to dispatch the exception to a registered 23 * The default handler sets up a C-stack and dispatches the exception to a 24 * registerd C handler in the second-level dispatch table. 50 #include <asm/asm-offsets.h> 92 * jump to the first-level handler associated with the exception cause. 103 addi a2, a1, -16 - PT_KERNEL_SIZE # adjust stack pointer 121 * Note that this vector is never invoked for level-1 interrupts, because such 124 * We decode the exception and take the appropriate action. However, the [all …]
|
/linux-6.12.1/drivers/s390/net/ |
D | ctcm_dbug.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 37 #define CTC_DBF_ALERT 1 /* action must be taken immediately */ 38 #define CTC_DBF_CRIT 2 /* critical conditions */ 43 #define CTC_DBF_DEBUG 6 /* debug-level messages */ 74 return (l > n) ? s + (l - n) : s; in strtail() 100 CTCM_DBF_TEXT_(cat, CTC_DBF_INFO, "%s(%s) :- %s", \ 101 CTCM_FUNTAIL, dev->name, text); \ 107 CTCM_FUNTAIL, dev->name, text); \ 125 CTCM_DBF_TEXT_(cat, CTC_DBF_INFO, "%s(%p) :-: %s", \
|
/linux-6.12.1/Documentation/RCU/Design/Requirements/ |
D | Requirements.rst | 16 ------------ 18 Read-copy update (RCU) is a synchronization mechanism that is often used 19 as a replacement for reader-writer locking. RCU is unusual in that 20 updaters do not block readers, which means that RCU's read-side 28 thought of as an informal, high-level specification for RCU. It is 40 #. `Fundamental Non-Requirements`_ 42 #. `Quality-of-Implementation Requirements`_ 44 #. `Software-Engineering Requirements`_ 53 ------------------------ 58 #. `Grace-Period Guarantee`_ [all …]
|