| /linux/include/linux/ |
| H A 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/Documentation/ABI/testing/ |
| H A 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 …]
|
| H A 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 …]
|
| H A D | sysfs-kernel-reboot | 7 (see Documentation/admin-guide/kernel-parameters.txt) 38 Description: Hardware protection action taken on critical events like
|
| /linux/drivers/thermal/ |
| H A 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/tools/testing/selftests/bpf/ |
| H A 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 -utf [all...] |
| /linux/Documentation/devicetree/bindings/thermal/ |
| H A 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/security/integrity/ima/ |
| H A D | ima_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 74 if (strcmp(template_desc->name, IMA_TEMPLATE_IMA_NAME) == 0) { in hash_setup() 114 mapping_writably_mapped(file->f_mapping)) { 115 rc = -ETXTBSY; 118 if (!*pathbuf) /* ima_rdwr_violation possibly pre-fetched */ in ima_rdwr_violation_check() 119 *pathname = ima_d_path(&file->f_path, pathbuf, in ima_rdwr_violation_check() 131 * - Openin in ima_rdwr_violation_check() 227 int rc = 0, action, must_appraise = 0; process_measurement() local 506 int action; ima_file_mprotect() local 1010 int action = 0; process_buffer_measurement() local [all...] |
| /linux/include/drm/ |
| H A 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/Documentation/hwmon/ |
| H A 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/tools/include/linux/ |
| H A 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/Documentation/networking/dsa/ |
| H A 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/Documentation/security/ |
| H A 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/arch/powerpc/platforms/pseries/ |
| H A 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/tools/thermal/tmon/ |
| H A 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/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
| H A 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/Documentation/RCU/Design/Expedited-Grace-Periods/ |
| H A 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/arch/arm/boot/dts/allwinner/ |
| H A 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/arch/um/os-Linux/ |
| H A 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> 58 * be able to profile all of UML, not just the non-critical sections. If 59 * profiling is not thread-safe, then that is not my problem. We can disable 95 * In TT_MODE_EXTERNAL, need to still call time-travel in sig_handler() 98 * Note we won't get here if signals are hard-blocked in sig_handler() 99 * (which is handled above), in that case the hard- in sig_handler() 203 mcontext_t *mc = &uc->uc_mcontext; in hard_handler() [all …]
|
| /linux/arch/xtensa/kernel/ |
| H A 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/kernel/ |
| H A 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 44 * is disabled during the critical section. It also controls the size of 45 * the RCU grace period. So it needs to be upper-bound. 50 * Zero means infinite timeout - no checking done: 100 unsigned long switch_count = t->nvcsw + t->nivcsw; in task_is_hung() 101 unsigned int state = READ_ONCE(t->__state); in task_is_hung() 104 * skip the TASK_KILLABLE tasks -- these can be killed in task_is_hung() 105 * skip the TASK_IDLE tasks -- those are genuinely idle in task_is_hung() 106 * skip the TASK_FROZEN task -- it reasonably stops scheduling by freezer in task_is_hung() [all …]
|
| /linux/drivers/s390/net/ |
| H A 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/Documentation/process/ |
| H A D | kernel-enforcement-statement.rst | 4 ---------------------------------- 8 reciprocal sharing obligations of GPL-2.0 is critical to the long-term 20 Notwithstanding the termination provisions of the GPL-2.0, we agree that 22 following provisions of GPL-3.0 as additional permissions under our 23 license with respect to any non-defensive assertion of rights under the 44 enforcement that might limit adoption of our software. We view legal action 48 Finally, once a non-compliance issue is resolved, we hope the user will feel 55 - Laura Abbott 56 - Bjorn Andersson (Linaro) 57 - Andrea Arcangeli [all …]
|
| /linux/Documentation/RCU/Design/Memory-Ordering/ |
| H A D | Tree-RCU-Memory-Ordering.rst | 2 A Tour Through TREE_RCU's Grace-Period Memory Ordering 13 grace-period memory ordering guarantee is provided. 18 RCU grace periods provide extremely strong memory-ordering guarantees 19 for non-idle non-offline code. 22 period that are within RCU read-side critical sections. 25 of that grace period that are within RCU read-side critical sections. 27 Note well that RCU-sched read-side critical sections include any region 30 an extremely small region of preemption-disabled code, one can think of 37 a linked RCU-protected data structure, and phase two frees that element. 39 phase-one update (in the common case, removal) must not witness state [all …]
|
| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra186-p3509-0000+p3636-0001.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/linux-event-codes.h> 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/mfd/max77620.h> 12 compatible = "nvidia,p3509-0000+p3636-0001", "nvidia,tegra186"; 30 stdout-path = "serial0:115200n8"; 41 phy-reset-gpios = <&gpio_aon TEGRA186_AON_GPIO(AA, 6) GPIO_ACTIVE_LOW>; 42 phy-handle = <&phy>; 43 phy-mode = "rgmii-id"; [all …]
|