Home
last modified time | relevance | path

Searched full:injection (Results 1 – 25 of 370) sorted by relevance

12345678910>>...15

/linux-6.12.1/drivers/powercap/
Didle_inject.c7 * The idle injection framework provides a way to force CPUs to enter idle
13 * All of the kthreads used for idle injection are created at init time.
15 * Next, the users of the idle injection framework provide a cpumask via
20 * idle injection to be started.
22 * The idle injection kthreads will call play_idle_precise() with the idle
26 * injection cycle.
28 * The timer interrupt handler will wake up the idle injection kthreads for
31 * Idle injection is stopped synchronously and no leftover idle injection
35 * synchronization to prevent race conditions like starting idle injection
61 * struct idle_inject_device - idle injection data
[all …]
/linux-6.12.1/net/dsa/
Dtag_ocelot.c17 void *injection; in ocelot_xmit_common() local
28 injection = skb_push(skb, OCELOT_TAG_LEN); in ocelot_xmit_common()
32 memset(injection, 0, OCELOT_TAG_LEN); in ocelot_xmit_common()
33 ocelot_ifh_set_bypass(injection, 1); in ocelot_xmit_common()
34 ocelot_ifh_set_src(injection, ds->num_ports); in ocelot_xmit_common()
35 ocelot_ifh_set_qos_class(injection, qos_class); in ocelot_xmit_common()
36 ocelot_ifh_set_vlan_tci(injection, vlan_tci); in ocelot_xmit_common()
37 ocelot_ifh_set_tag_type(injection, tag_type); in ocelot_xmit_common()
41 ocelot_ifh_set_rew_op(injection, rew_op); in ocelot_xmit_common()
43 *ifh = injection; in ocelot_xmit_common()
[all …]
/linux-6.12.1/Documentation/sound/designs/
Djack-injection.rst2 ALSA Jack Software Injection
5 Simple Introduction On Jack Injection
8 Here jack injection means users could inject plugin or plugout events
23 for this jack. The jack injection is implemented based on the
26 To inject events to audio jacks, we need to enable the jack injection
31 injection via ``sw_inject_enable`` too, once it is disabled, the jack
35 The Layout of Jack Injection Interface
39 jack injection interface will be created as below:
125 read-write, enable or disable injection
127 - injection disabled:
[all …]
/linux-6.12.1/tools/testing/selftests/rseq/
Drun_param_test.sh57 echo "Loop injection: 10000 loops"
106 echo "Yield injection (25%)"
109 echo "Yield injection (50%)"
112 echo "Yield injection (100%)"
115 echo "Kill injection (25%)"
118 echo "Kill injection (50%)"
121 echo "Kill injection (100%)"
124 echo "Sleep injection (1ms, 25%)"
127 echo "Sleep injection (1ms, 50%)"
130 echo "Sleep injection (1ms, 100%)"
/linux-6.12.1/Documentation/firmware-guide/acpi/apei/
Deinj.rst4 APEI Error INJection
7 EINJ provides a hardware error injection mechanism. It is very useful
16 mechanism through which the injection is done.
23 has an option to enable error injection. Look for something called WHEA
35 ...and to (optionally) enable CXL protocol error injection set::
74 Write any integer to this file to trigger the error injection. Make
82 injection. Value is a bitmask as specified in ACPI5.0 spec for the
93 injection specifies just one bit set, and param1 is multiplexed.
117 The error injection mechanism is a two-step process. First inject the
121 location, or device that is the target of the error injection. Whether
[all …]
/linux-6.12.1/Documentation/admin-guide/thermal/
Dintel_powerclamp.rst15 - Idle Injection
46 idle injection across all online CPU threads was introduced. The goal
57 Idle Injection
78 Injection is controlled by high priority kernel threads, spawned for
94 kidle_inject/cpu. During idle injection, it runs monitor/mwait idle
129 instantly as given input (target idle ratio). After injection,
131 the next injection accordingly to avoid over/under correction.
152 a) determine the effective range of idle injection ratio
215 we have a simple algorithm to double the injection ratio. A possible
236 The maximum range that idle injection is allowed is capped at 50
[all …]
/linux-6.12.1/Documentation/fault-injection/
Dnotifier-error-inject.rst1 Notifier error injection
4 Notifier error injection provides the ability to inject artificial errors to
14 PM notifier error injection module
33 Memory hotplug notifier error injection module
51 powerpc pSeries reconfig notifier error injection module
64 Netdevice notifier error injection module
91 There are tools/testing/selftests using the notifier error injection features
98 injection tests if notifier error injection module is available.
Dfault-injection.rst2 Fault injection capabilities infrastructure
8 Available fault injection capabilities
48 - NVMe fault injection
55 - Null test block driver fault injection
64 Configure fault-injection capabilities behavior
71 configuration of fault-injection capabilities.
75 likelihood of failure injection, in percent.
99 on each call to should_fail(,size). Failure injection is
109 to debug the problems revealed by fault injection.
177 injection on the RPC client.
[all …]
Dindex.rst4 Fault-injection
10 fault-injection
12 nvme-fault-injection
/linux-6.12.1/include/linux/dsa/
Docelot.h40 /* The CPU injection header and the CPU extraction header can have 3 types of
69 * Injection with long prefix:
72 * | any dmac | any smac | 8880 | 000a | injection | frame |
77 * Injection with short prefix:
80 * | 8880 | 000a | injection | frame |
85 * Injection with no prefix:
88 * | injection | frame |
93 * The injection header looks like this (network byte order, bit 127
221 static inline void ocelot_ifh_set_bypass(void *injection, u64 bypass) in ocelot_ifh_set_bypass() argument
223 packing(injection, &bypass, 127, 127, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_bypass()
[all …]
/linux-6.12.1/Documentation/userspace-api/media/cec/
Dcec-pin-error-inj.rst5 CEC Pin Framework Error Injection
16 over the bus it is easy to support error injection. This is ideal to
23 If ``CONFIG_CEC_PIN_ERROR_INJ`` is enabled, then error injection is available
29 The error injection commands are not a stable ABI and may change in the
33 error injection status::
44 # RX error injection:
51 # TX error injection settings:
57 # TX error injection:
80 You can write error injection commands to ``error-inj`` using
92 The error injection commands fall in two main groups: those relating to
[all …]
/linux-6.12.1/drivers/thermal/
Dcpuidle_cooling.c35 * The running duration is computed from the idle injection duration
36 * which is fixed. If we reach 100% of idle injection ratio, that
38 * injection, that means we have equal duration for idle and for
50 * with 10ms of idle injection and 10ms of running duration.
68 * The function always returns 100 as the injection ratio. It is
83 * injection ratio means no idle injection at all and 50% in cpuidle_cooling_get_max_state()
84 * means for 10ms of idle injection, we have 10ms of running in cpuidle_cooling_get_max_state()
118 * in turn wakes up all the idle injection tasks belonging to the idle
164 * structure, the idle injection, initialize them and register the
217 pr_debug("%s: Idle injection set with idle duration=%u, latency=%u\n", in __cpuidle_cooling_register()
/linux-6.12.1/Documentation/driver-api/thermal/
Dcpu-idle-cooling.rst38 injection period, we can mitigate the temperature by modulating the
57 Idle Injection:
60 The base concept of the idle injection is to force the CPU to go to an
66 to almost zero. However, these idle cycles injection will add extra
69 We use a fixed duration of idle injection that gives an acceptable
71 or decreased by modulating the duty cycle of the idle injection.
130 The idle injection duration value must comply with the constraints:
159 tree. So with the idle injection mechanism, we want an average power
172 the idle injection we need. Alternatively if we have the idle
173 injection duration, we can compute the running duration with::
[all …]
/linux-6.12.1/drivers/ufs/core/
Dufs-fault-injection.c9 #include "ufs-fault-injection.h"
22 * For more details about fault injection, please refer to
23 * Documentation/fault-injection/fault-injection.rst.
28 "Fault injection. trigger_eh=<interval>,<probability>,<space>,<times>");
34 "Fault injection. timeout=<interval>,<probability>,<space>,<times>");
/linux-6.12.1/drivers/acpi/apei/
DKconfig18 error injection.
56 tristate "APEI Error INJection (EINJ)"
59 EINJ provides a hardware error injection mechanism, it is
64 bool "CXL Error INJection Support"
69 Support for CXL protocol Error INJection through debugfs/cxl.
/linux-6.12.1/Documentation/ABI/testing/
Ddebugfs-cec-error-inj6 The CEC Framework allows for CEC error injection commands through
8 through which the error injection commands can be given.
18 implemented and that it will remove all current error injection
38 The following CEC error injection implementations exist:
/linux-6.12.1/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/
Dother.json153 …"PublicDescription": "This event counts allocation type prefetch injection requests to L1D cache g…
156 …"BriefDescription": "This event counts allocation type prefetch injection requests to L1D cache ge…
159 …"PublicDescription": "This event counts non-allocation type prefetch injection requests to L1D cac…
162 …"BriefDescription": "This event counts non-allocation type prefetch injection requests to L1D cach…
171 …"PublicDescription": "This event counts allocation type prefetch injection requests to L2 cache ge…
174 …"BriefDescription": "This event counts allocation type prefetch injection requests to L2 cache gen…
177 …"PublicDescription": "This event counts non-allocation type prefetch injection requests to L2 cach…
180 …"BriefDescription": "This event counts non-allocation type prefetch injection requests to L2 cache…
/linux-6.12.1/arch/x86/kernel/cpu/mce/
Dinject.c3 * Machine check injection support.
10 * The AMD part (from mce_amd_inj.c): a simple MCE injection facility
48 SW_INJ = 0, /* SW injection, simply decode the error */
63 /* Set default injection to SW_INJ */
100 /* Use the user provided IPID value on a sw injection. */
524 /* prep MCE global settings for the injection */ in do_inject()
582 * the injection, at the same time.
602 * sw-only injection allows to write arbitrary values into the MCA in inj_bank_set()
629 /* Reset injection struct */ in inj_bank_set()
664 "\t injection.\n"
[all …]
/linux-6.12.1/drivers/platform/surface/aggregator/
DKconfig58 bool "Surface System Aggregator Module Error Injection Capabilities"
62 Provides error-injection capabilities for the Surface System
65 Specifically, exports error injection hooks to be used with the
66 kernel's function error injection capabilities to simulate underlying
/linux-6.12.1/tools/testing/selftests/powerpc/scripts/
Dhmi.sh24 # We will get 8 HMI events per injection
31 # massively expand snooze delay, allowing injection on all cores
47 echo "FIR was not zero before injection for chip $chip, core $core. Aborting!"
58 # do injection, adding a marker to dmesg for clarity
/linux-6.12.1/Documentation/security/secrets/
Dcoco.rst7 This document describes how Confidential Computing secret injection is handled
18 secret injection is performed early in the VM launch process, before the
28 The guest firmware may reserve a designated memory area for secret injection,
56 provides the decryption key (= secret) using the secret injection mechanism.
63 it is passed using the secret injection mechanism (= secure channel).
/linux-6.12.1/drivers/thermal/intel/
Dintel_powerclamp.c3 * intel_powerclamp.c - package c-state idle injection
47 /* Default idle injection duration, driver adjust sleep time to meet target
58 /* Skip the idle injection till set to true */
213 MODULE_PARM_DESC(cpumask, "Mask of CPUs to use for idle injection.");
534 * This function is called from idle injection core on timer expiry
570 /* This function starts idle injection by calling idle_inject_start() */
582 * CPUS with powercap idle injection register and set default
608 * This function is called from end_power_clamp() to stop idle injection
609 * and unregister CPUS from powercap idle injection core.
682 pr_info("Start idle injection to reduce power\n"); in powerclamp_set_cur_state()
[all …]
/linux-6.12.1/lib/
Derror-inject.c2 // error-inject.c: Function-level error injection table
3 #include <linux/error-injection.h>
13 /* Whitelist of symbols that can be overridden for error injection. */
134 /* Module notifier call back, checking error injection table on the module */
163 * error injection.
/linux-6.12.1/Documentation/virt/kvm/s390/
Ds390-pv.rst32 Interrupt injection
34 Interrupt injection is safeguarded by the Ultravisor. As KVM doesn't
35 have access to the VCPUs' lowcores, injection is handled via the
39 injected on SIE entry via a bit in the interrupt injection control
41 at the time of injection, a validity interception is recognized. The
/linux-6.12.1/drivers/media/cec/core/
Dcec-pin.c49 * used for error injection.
56 * used for error injection.
384 * Error Injection: send an invalid (too short) in cec_pin_tx_states()
390 * Error Injection: send an invalid (too long) in cec_pin_tx_states()
432 * Arbitration Lost error injection, then ignore this since in cec_pin_tx_states()
451 /* Error Injection: just stop sending after this bit */ in cec_pin_tx_states()
468 /* Error injection: go to low drive */ in cec_pin_tx_states()
518 /* Error injection: set EOM one byte early */ in cec_pin_tx_states()
522 /* Error injection: no EOM */ in cec_pin_tx_states()
545 /* Error Injection: send an invalid (too short) bit */ in cec_pin_tx_states()
[all …]

12345678910>>...15