Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v6.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-v6.1/net/dsa/
Dtag_ocelot.c47 void *injection; in ocelot_xmit_common() local
57 injection = skb_push(skb, OCELOT_TAG_LEN); in ocelot_xmit_common()
61 memset(injection, 0, OCELOT_TAG_LEN); in ocelot_xmit_common()
62 ocelot_ifh_set_bypass(injection, 1); in ocelot_xmit_common()
63 ocelot_ifh_set_src(injection, ds->num_ports); in ocelot_xmit_common()
64 ocelot_ifh_set_qos_class(injection, qos_class); in ocelot_xmit_common()
65 ocelot_ifh_set_vlan_tci(injection, vlan_tci); in ocelot_xmit_common()
66 ocelot_ifh_set_tag_type(injection, tag_type); in ocelot_xmit_common()
70 ocelot_ifh_set_rew_op(injection, rew_op); in ocelot_xmit_common()
72 *ifh = injection; in ocelot_xmit_common()
[all …]
/Linux-v6.1/tools/testing/selftests/rseq/
Drun_param_test.sh52 echo "Loop injection: 10000 loops"
101 echo "Yield injection (25%)"
104 echo "Yield injection (50%)"
107 echo "Yield injection (100%)"
110 echo "Kill injection (25%)"
113 echo "Kill injection (50%)"
116 echo "Kill injection (100%)"
119 echo "Sleep injection (1ms, 25%)"
122 echo "Sleep injection (1ms, 50%)"
125 echo "Sleep injection (1ms, 100%)"
/Linux-v6.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-v6.1/Documentation/driver-api/thermal/
Dintel_powerclamp.rst15 - Idle Injection
44 idle injection across all online CPU threads was introduced. The goal
55 Idle Injection
76 Injection is controlled by high priority kernel threads, spawned for
92 kidle_inject/cpu. During idle injection, it runs monitor/mwait idle
127 instantly as given input (target idle ratio). After injection,
129 the next injection accordingly to avoid over/under correction.
150 a) determine the effective range of idle injection ratio
211 we have a simple algorithm to double the injection ratio. A possible
232 The maximum range that idle injection is allowed is capped at 50
[all …]
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-v6.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
70 Write any integer to this file to trigger the error injection. Make
78 injection. Value is a bitmask as specified in ACPI5.0 spec for the
89 injection specifies just one bit set, and param1 is multiplexed.
113 The error injection mechanism is a two-step process. First inject the
117 location, or device that is the target of the error injection. Whether
129 the target of the injection. For processor-related errors (type 0x1, 0x2
[all …]
/Linux-v6.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
56 Configure fault-injection capabilities behavior
63 configuration of fault-injection capabilities.
67 likelihood of failure injection, in percent.
93 on each call to should_fail(,size). Failure injection is
103 to debug the problems revealed by fault injection.
163 injection on the RPC client.
170 injection on the RPC server.
[all …]
Dindex.rst4 fault-injection
10 fault-injection
12 nvme-fault-injection
/Linux-v6.1/include/linux/dsa/
Docelot.h38 /* The CPU injection header and the CPU extraction header can have 3 types of
67 * Injection with long prefix:
70 * | any dmac | any smac | 8880 | 000a | injection | frame |
75 * Injection with short prefix:
78 * | 8880 | 000a | injection | frame |
83 * Injection with no prefix:
86 * | injection | frame |
91 * The injection header looks like this (network byte order, bit 127
219 static inline void ocelot_ifh_set_bypass(void *injection, u64 bypass) in ocelot_ifh_set_bypass() argument
221 packing(injection, &bypass, 127, 127, OCELOT_TAG_LEN, PACK, 0); in ocelot_ifh_set_bypass()
[all …]
/Linux-v6.1/Documentation/userspace-api/media/cec/
Dcec-pin-error-inj.rst3 CEC Pin Framework Error Injection
14 over the bus it is easy to support error injection. This is ideal to
21 If ``CONFIG_CEC_PIN_ERROR_INJ`` is enabled, then error injection is available
27 The error injection commands are not a stable ABI and may change in the
31 error injection status::
42 # RX error injection:
49 # TX error injection settings:
55 # TX error injection:
78 You can write error injection commands to ``error-inj`` using
90 The error injection commands fall in two main groups: those relating to
[all …]
/Linux-v6.1/drivers/thermal/
Dcpuidle_cooling.c34 * The running duration is computed from the idle injection duration
35 * which is fixed. If we reach 100% of idle injection ratio, that
37 * injection, that means we have equal duration for idle and for
49 * with 10ms of idle injection and 10ms of running duration.
67 * The function always returns 100 as the injection ratio. It is
82 * injection ratio means no idle injection at all and 50% in cpuidle_cooling_get_max_state()
83 * means for 10ms of idle injection, we have 10ms of running in cpuidle_cooling_get_max_state()
117 * in turn wakes up all the idle injection tasks belonging to the idle
163 * structure, the idle injection, initialize them and register the
216 pr_debug("%s: Idle injection set with idle duration=%u, latency=%u\n", in __cpuidle_cooling_register()
/Linux-v6.1/drivers/ufs/core/
Dufs-fault-injection.c7 #include "ufs-fault-injection.h"
20 * For more details about fault injection, please refer to
21 * Documentation/fault-injection/fault-injection.rst.
26 "Fault injection. trigger_eh=<interval>,<probability>,<space>,<times>");
32 "Fault injection. timeout=<interval>,<probability>,<space>,<times>");
/Linux-v6.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-v6.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-v6.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. */
523 /* prep MCE global settings for the injection */ in do_inject()
581 * the injection, at the same time.
601 * sw-only injection allows to write arbitrary values into the MCA in inj_bank_set()
628 /* Reset injection struct */ in inj_bank_set()
663 "\t injection.\n"
[all …]
/Linux-v6.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-v6.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-v6.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-v6.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-v6.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-v6.1/drivers/acpi/apei/
DKconfig18 error injection.
56 tristate "APEI Error INJection (EINJ)"
59 EINJ provides a hardware error injection mechanism, it is
/Linux-v6.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 …]
/Linux-v6.1/arch/arm64/kvm/vgic/
Dvgic-irqfd.c16 * This is the entry point for irqfd IRQ injection
82 * This is the entry point for irqfd MSI injection
83 * and userspace MSI injection.
102 * kvm_arch_set_irq_inatomic: fast-path for irqfd injection

12345678910>>...13