| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/thermal/ |
| D | nvidia,tegra124-soctherm.txt | 4 or interrupt-based thermal monitoring, CPU and GPU throttling based 10 - compatible : For Tegra124, must contain "nvidia,tegra124-soctherm". 11 For Tegra132, must contain "nvidia,tegra132-soctherm". 12 For Tegra210, must contain "nvidia,tegra210-soctherm". 13 - reg : Should contain at least 2 entries for each entry in reg-names: 14 - SOCTHERM register set 15 - Tegra CAR register set: Required for Tegra124 and Tegra210. 16 - CCROC register set: Required for Tegra132. 17 - reg-names : Should contain at least 2 entries: 18 - soctherm-reg [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/ |
| D | nvidia,tegra124-soctherm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/nvidia,tegra124-soctherm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 polled or interrupt-based thermal monitoring, CPU and GPU throttling based 21 - nvidia,tegra124-soctherm 22 - nvidia,tegra132-soctherm 23 - nvidia,tegra210-soctherm [all …]
|
| /kernel/linux/linux-5.10/kernel/sched/ |
| D | deadline.c | 1 // SPDX-License-Identifier: GPL-2.0 40 return &rq->dl; in dl_rq_of_se() 45 return !RB_EMPTY_NODE(&dl_se->rb_node); in on_dl_rq() 51 return dl_se->pi_se; in pi_of() 75 return &cpu_rq(i)->rd->dl_bw; in dl_bw_of() 80 struct root_domain *rd = cpu_rq(i)->rd; in dl_bw_cpus() 86 if (cpumask_subset(rd->span, cpu_active_mask)) in dl_bw_cpus() 87 return cpumask_weight(rd->span); in dl_bw_cpus() 91 for_each_cpu_and(i, rd->span, cpu_active_mask) in dl_bw_cpus() 99 struct root_domain *rd = cpu_rq(i)->rd; in __dl_bw_capacity() [all …]
|
| D | rt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Real-Time Scheduling Class (mapped to the SCHED_FIFO and SCHED_RR 35 raw_spin_lock(&rt_b->rt_runtime_lock); in sched_rt_period_timer() 37 overrun = hrtimer_forward_now(timer, rt_b->rt_period); in sched_rt_period_timer() 41 raw_spin_unlock(&rt_b->rt_runtime_lock); in sched_rt_period_timer() 43 raw_spin_lock(&rt_b->rt_runtime_lock); in sched_rt_period_timer() 46 rt_b->rt_period_active = 0; in sched_rt_period_timer() 47 raw_spin_unlock(&rt_b->rt_runtime_lock); in sched_rt_period_timer() 52 void init_rt_bandwidth(struct rt_bandwidth *rt_b, u64 period, u64 runtime) in init_rt_bandwidth() argument 54 rt_b->rt_period = ns_to_ktime(period); in init_rt_bandwidth() [all …]
|
| /kernel/linux/linux-6.6/kernel/sched/ |
| D | deadline.c | 1 // SPDX-License-Identifier: GPL-2.0 23 * Default limits for DL period; on the top end we guard against small util 28 static unsigned int sysctl_sched_dl_period_min = 100; /* 100 us */ 73 return &rq->dl; in dl_rq_of_se() 78 return !RB_EMPTY_NODE(&dl_se->rb_node); in on_dl_rq() 84 return dl_se->pi_se; in pi_of() 108 return &cpu_rq(i)->rd->dl_bw; in dl_bw_of() 113 struct root_domain *rd = cpu_rq(i)->rd; in dl_bw_cpus() 119 if (cpumask_subset(rd->span, cpu_active_mask)) in dl_bw_cpus() 120 return cpumask_weight(rd->span); in dl_bw_cpus() [all …]
|
| D | rt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Real-Time Scheduling Class (mapped to the SCHED_FIFO and SCHED_RR 26 * period over which we measure -rt task CPU usage in us. 32 * part of the period that we allow rt tasks to run in us. 87 raw_spin_lock(&rt_b->rt_runtime_lock); in sched_rt_period_timer() 89 overrun = hrtimer_forward_now(timer, rt_b->rt_period); in sched_rt_period_timer() 93 raw_spin_unlock(&rt_b->rt_runtime_lock); in sched_rt_period_timer() 95 raw_spin_lock(&rt_b->rt_runtime_lock); in sched_rt_period_timer() 98 rt_b->rt_period_active = 0; in sched_rt_period_timer() 99 raw_spin_unlock(&rt_b->rt_runtime_lock); in sched_rt_period_timer() [all …]
|
| /kernel/linux/linux-6.6/mm/ |
| D | page-writeback.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * mm/page-writeback.c 26 #include <linux/backing-dev.h> 54 #define DIRTY_POLL_THRESH (128 >> (PAGE_SHIFT - 10)) 100 * The interval between `kupdate'-style writebacks 119 /* End of sysctl-exported parameters */ 137 unsigned long wb_dirty; /* per-wb counterparts */ 145 * Length of period for aging writeout fractions of bdis. This is an 146 * arbitrarily chosen number. The longer the period, the slower fractions will 155 .wb_completions = &(__wb)->completions [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
| D | aic79xx_osm.c | 6 * -------------------------------------------------------------------------- 7 * Copyright (c) 1994-2000 Justin T. Gibbs. 8 * Copyright (c) 1997-1999 Doug Ledford 9 * Copyright (c) 2000-2003 Adaptec Inc. 23 * 3. Neither the names of the above-listed copyright holders nor the names 76 * To change the default number of tagged transactions allowed per-device, 83 * Twin adapters will use indexes 0-7 for channel 0, and indexes 8-15 96 * The driver will throttle the number of commands dispatched to a 102 * depths. The driver will throttle back when the queue fulls occur and 110 * (0, 2-11, 13-15), disables tagged queueing for ID 12, and tells the [all …]
|
| D | aic7xxx_osm.c | 25 * config file (!adp7771.cfg), the Adaptec AHA-2740A Series User's Guide, 28 * (adp7770.ovl), the Adaptec AHA-2740 Series Technical Reference Manual, 29 * the Adaptec AIC-7770 Data Book, the ANSI SCSI specification, the 30 * ANSI SCSI-2 specification (draft 10c), ... 32 * -------------------------------------------------------------------------- 40 * -------------------------------------------------------------------------- 41 * Copyright (c) 1994-2000 Justin T. Gibbs. 42 * Copyright (c) 2000-2001 Adaptec Inc. 56 * 3. Neither the names of the above-listed copyright holders nor the names 77 *--------------------------------------------------------------------------- [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/aic7xxx/ |
| D | aic79xx_osm.c | 6 * -------------------------------------------------------------------------- 7 * Copyright (c) 1994-2000 Justin T. Gibbs. 8 * Copyright (c) 1997-1999 Doug Ledford 9 * Copyright (c) 2000-2003 Adaptec Inc. 23 * 3. Neither the names of the above-listed copyright holders nor the names 76 * To change the default number of tagged transactions allowed per-device, 83 * Twin adapters will use indexes 0-7 for channel 0, and indexes 8-15 96 * The driver will throttle the number of commands dispatched to a 102 * depths. The driver will throttle back when the queue fulls occur and 110 * (0, 2-11, 13-15), disables tagged queueing for ID 12, and tells the [all …]
|
| D | aic7xxx_osm.c | 26 * config file (!adp7771.cfg), the Adaptec AHA-2740A Series User's Guide, 29 * (adp7770.ovl), the Adaptec AHA-2740 Series Technical Reference Manual, 30 * the Adaptec AIC-7770 Data Book, the ANSI SCSI specification, the 31 * ANSI SCSI-2 specification (draft 10c), ... 33 * -------------------------------------------------------------------------- 41 * -------------------------------------------------------------------------- 42 * Copyright (c) 1994-2000 Justin T. Gibbs. 43 * Copyright (c) 2000-2001 Adaptec Inc. 57 * 3. Neither the names of the above-listed copyright holders nor the names 78 *--------------------------------------------------------------------------- [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | page-writeback.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * mm/page-writeback.c 25 #include <linux/backing-dev.h> 54 #define DIRTY_POLL_THRESH (128 >> (PAGE_SHIFT - 10)) 100 * The interval between `kupdate'-style writebacks 119 /* End of sysctl-exported parameters */ 137 unsigned long wb_dirty; /* per-wb counterparts */ 145 * Length of period for aging writeout fractions of bdis. This is an 146 * arbitrarily chosen number. The longer the period, the slower fractions will 155 .wb_completions = &(__wb)->completions [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/thermal/ |
| D | intel_powerclamp.rst | 6 - Arjan van de Ven <arjan@linux.intel.com> 7 - Jacob Pan <jacob.jun.pan@linux.intel.com> 12 - Goals and Objectives 15 - Idle Injection 16 - Calibration 19 - Effectiveness and Limitations 20 - Power vs Performance 21 - Scalability 22 - Calibration 23 - Comparison with Alternative Techniques [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/thermal/ |
| D | intel_powerclamp.rst | 6 - Arjan van de Ven <arjan@linux.intel.com> 7 - Jacob Pan <jacob.jun.pan@linux.intel.com> 12 - Goals and Objectives 15 - Idle Injection 16 - Calibration 19 - Effectiveness and Limitations 20 - Power vs Performance 21 - Scalability 22 - Calibration 23 - Comparison with Alternative Techniques [all …]
|
| /kernel/linux/linux-5.10/drivers/thermal/tegra/ |
| D | soctherm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2014 - 2018, NVIDIA CORPORATION. All rights reserved. 34 #include <dt-bindings/thermal/tegra124-soctherm.h> 197 #define REG_GET_MASK(r, m) (((r) & (m)) >> (ffs(m) - 1)) 200 (((v) & (m >> (ffs(m) - 1))) << (ffs(m) - 1))) 203 #define THROT_DEPTH_DIVIDEND(depth) ((256 * (100 - (depth)) / 100) - 1) 205 /* gk20a nv_therm interface N:3 Mapping. Levels defined in tegra124-soctherm.h 212 #define THROT_LEVEL_TO_DEPTH(level) ((0x1 << (level)) - 1) 229 (ALARM_OFFSET * (throt - THROTTLE_OC1))) 232 (ALARM_OFFSET * (throt - THROTTLE_OC1))) [all …]
|
| /kernel/linux/linux-6.6/drivers/thermal/tegra/ |
| D | soctherm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2014 - 2018, NVIDIA CORPORATION. All rights reserved. 34 #include <dt-bindings/thermal/tegra124-soctherm.h> 197 #define REG_GET_MASK(r, m) (((r) & (m)) >> (ffs(m) - 1)) 200 (((v) & (m >> (ffs(m) - 1))) << (ffs(m) - 1))) 203 #define THROT_DEPTH_DIVIDEND(depth) ((256 * (100 - (depth)) / 100) - 1) 205 /* gk20a nv_therm interface N:3 Mapping. Levels defined in tegra124-soctherm.h 212 #define THROT_LEVEL_TO_DEPTH(level) ((0x1 << (level)) - 1) 229 (ALARM_OFFSET * (throt - THROTTLE_OC1))) 232 (ALARM_OFFSET * (throt - THROTTLE_OC1))) [all …]
|
| /kernel/linux/linux-6.6/tools/include/uapi/linux/ |
| D | pkt_sched.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 12 with obsolete IPv6 values is not occasional :-). New IPv6 drafts 37 __u32 overlimits; /* Number of throttle events when this 51 --------- 119 #define TCA_STAB_MAX (__TCA_STAB_MAX - 1) 130 * Priorities go from zero to (SKBPRIO_MAX_PRIORITY - 1). 149 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ 173 * command is received (just act as a pass-thru queue). 203 #define TCA_TBF_MAX (__TCA_TBF_MAX - 1) 214 int perturb_period; /* Period of hash perturbation */ [all …]
|
| /kernel/linux/linux-5.10/tools/include/uapi/linux/ |
| D | pkt_sched.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 12 with obsolete IPv6 values is not occasional :-). New IPv6 drafts 37 __u32 overlimits; /* Number of throttle events when this 51 --------- 119 #define TCA_STAB_MAX (__TCA_STAB_MAX - 1) 130 * Priorities go from zero to (SKBPRIO_MAX_PRIORITY - 1). 149 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ 173 * command is received (just act as a pass-thru queue). 203 #define TCA_TBF_MAX (__TCA_TBF_MAX - 1) 214 int perturb_period; /* Period of hash perturbation */ [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | pkt_sched.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 13 with obsolete IPv6 values is not occasional :-). New IPv6 drafts 38 __u32 overlimits; /* Number of throttle events when this 52 --------- 120 #define TCA_STAB_MAX (__TCA_STAB_MAX - 1) 131 * Priorities go from zero to (SKBPRIO_MAX_PRIORITY - 1). 150 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ 174 * command is received (just act as a pass-thru queue). 204 #define TCA_TBF_MAX (__TCA_TBF_MAX - 1) 215 int perturb_period; /* Period of hash perturbation */ [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | pkt_sched.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 13 with obsolete IPv6 values is not occasional :-). New IPv6 drafts 38 __u32 overlimits; /* Number of throttle events when this 52 --------- 120 #define TCA_STAB_MAX (__TCA_STAB_MAX - 1) 131 * Priorities go from zero to (SKBPRIO_MAX_PRIORITY - 1). 150 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */ 174 * command is received (just act as a pass-thru queue). 204 #define TCA_TBF_MAX (__TCA_TBF_MAX - 1) 215 int perturb_period; /* Period of hash perturbation */ [all …]
|
| /kernel/linux/linux-6.6/Documentation/RCU/ |
| D | RTFP.txt | 4 This document describes RCU-related publications, and is followed by 19 with short-lived threads, such as the K42 research operating system. 20 However, Linux has long-lived tasks, so more is needed. 23 serialization, which is an RCU-like mechanism that relies on the presence 27 that these overheads were not so expensive in the mid-80s. Nonetheless, 28 passive serialization appears to be the first deferred-destruction 30 has lapsed, so this approach may be used in non-GPL software, if desired. 34 In 1987, Rashid et al. described lazy TLB-flush [RichardRashid87a]. 36 this paper helped inspire the update-side batching used in the later 38 a description of Argus that noted that use of out-of-date values can [all …]
|
| /kernel/linux/linux-5.10/kernel/events/ |
| D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2008-2011 Red Hat, Inc., Ingo Molnar 7 * Copyright (C) 2008-2011 Red Hat, Inc., Peter Zijlstra 71 struct task_struct *p = tfc->p; in remote_function() 74 /* -EAGAIN */ in remote_function() 83 tfc->ret = -ESRCH; /* No such (running) process */ in remote_function() 88 tfc->ret = tfc->func(tfc->info); in remote_function() 92 * task_function_call - call a function on the cpu on which a task runs 102 * returns @func return value or -ESRCH or -ENXIO when the process isn't running 111 .ret = -EAGAIN, in task_function_call() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/ |
| D | igb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 18 #include <linux/i2c-algo-bit.h> 119 * PTHRESH - MAC will consider prefetch if it has fewer than this number of 122 * HTHRESH - MAC will only prefetch if there are at least this many descriptors 125 * WTHRESH - RX descriptor writeback threshold - MAC will delay writing back 129 #define IGB_RX_PTHRESH ((hw->mac.type == e1000_i354) ? 12 : 8) 131 #define IGB_TX_PTHRESH ((hw->mac.type == e1000_i354) ? 20 : 8) 133 #define IGB_RX_WTHRESH ((hw->mac.type == e1000_82576 && \ 134 (adapter->flags & IGB_FLAG_HAS_MSIX)) ? 1 : 4) [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
| D | igb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 18 #include <linux/i2c-algo-bit.h> 119 * PTHRESH - MAC will consider prefetch if it has fewer than this number of 122 * HTHRESH - MAC will only prefetch if there are at least this many descriptors 125 * WTHRESH - RX descriptor writeback threshold - MAC will delay writing back 129 #define IGB_RX_PTHRESH ((hw->mac.type == e1000_i354) ? 12 : 8) 131 #define IGB_TX_PTHRESH ((hw->mac.type == e1000_i354) ? 20 : 8) 133 #define IGB_RX_WTHRESH ((hw->mac.type == e1000_82576 && \ 134 (adapter->flags & IGB_FLAG_HAS_MSIX)) ? 1 : 4) [all …]
|
| /kernel/linux/linux-5.10/Documentation/RCU/ |
| D | RTFP.txt | 4 This document describes RCU-related publications, and is followed by 19 with short-lived threads, such as the K42 research operating system. 20 However, Linux has long-lived tasks, so more is needed. 23 serialization, which is an RCU-like mechanism that relies on the presence 27 that these overheads were not so expensive in the mid-80s. Nonetheless, 28 passive serialization appears to be the first deferred-destruction 30 has lapsed, so this approach may be used in non-GPL software, if desired. 34 In 1987, Rashid et al. described lazy TLB-flush [RichardRashid87a]. 36 this paper helped inspire the update-side batching used in the later 38 a description of Argus that noted that use of out-of-date values can [all …]
|