Home
last modified time | relevance | path

Searched full:patching (Results 1 – 25 of 206) sorted by relevance

123456789

/linux/tools/testing/selftests/livepatch/
H A Dtest-sysfs.sh37 livepatch: '$MOD_LIVEPATCH': initializing patching transition
38 livepatch: '$MOD_LIVEPATCH': starting patching transition
39 livepatch: '$MOD_LIVEPATCH': completing patching transition
40 livepatch: '$MOD_LIVEPATCH': patching complete
66 livepatch: 'test_klp_callbacks_demo': initializing patching transition
68 livepatch: 'test_klp_callbacks_demo': starting patching transition
69 livepatch: 'test_klp_callbacks_demo': completing patching transition
71 livepatch: 'test_klp_callbacks_demo': patching complete
104 livepatch: '$MOD_LIVEPATCH': initializing patching transition
105 livepatch: '$MOD_LIVEPATCH': starting patching transition
[all …]
H A Dtest-livepatch.sh21 start_test "basic function patching"
40 livepatch: '$MOD_LIVEPATCH1': initializing patching transition
41 livepatch: '$MOD_LIVEPATCH1': starting patching transition
42 livepatch: '$MOD_LIVEPATCH1': completing patching transition
43 livepatch: '$MOD_LIVEPATCH1': patching complete
84 livepatch: '$MOD_LIVEPATCH1': initializing patching transition
85 livepatch: '$MOD_LIVEPATCH1': starting patching transition
86 livepatch: '$MOD_LIVEPATCH1': completing patching transition
87 livepatch: '$MOD_LIVEPATCH1': patching complete
91 livepatch: '$MOD_REPLACE': initializing patching transitio
[all...]
H A Dtest-callbacks.sh41 livepatch: '$MOD_LIVEPATCH': initializing patching transition
44 livepatch: '$MOD_LIVEPATCH': starting patching transition
45 livepatch: '$MOD_LIVEPATCH': completing patching transition
48 livepatch: '$MOD_LIVEPATCH': patching complete
86 livepatch: '$MOD_LIVEPATCH': initializing patching transition
88 livepatch: '$MOD_LIVEPATCH': starting patching transition
89 livepatch: '$MOD_LIVEPATCH': completing patching transition
91 livepatch: '$MOD_LIVEPATCH': patching complete
136 livepatch: '$MOD_LIVEPATCH': initializing patching transition
139 livepatch: '$MOD_LIVEPATCH': starting patching transition
[all …]
H A Dtest-ftrace.sh40 livepatch: '$MOD_LIVEPATCH': initializing patching transition
44 livepatch: '$MOD_LIVEPATCH': canceling patching transition, going to unpatch
51 livepatch: '$MOD_LIVEPATCH': initializing patching transition
52 livepatch: '$MOD_LIVEPATCH': starting patching transition
53 livepatch: '$MOD_LIVEPATCH': completing patching transition
54 livepatch: '$MOD_LIVEPATCH': patching complete
86 livepatch: '$MOD_LIVEPATCH': initializing patching transition
87 livepatch: '$MOD_LIVEPATCH': starting patching transition
88 livepatch: '$MOD_LIVEPATCH': completing patching transition
89 livepatch: '$MOD_LIVEPATCH': patching complet
[all...]
H A Dtest-kprobe.sh30 livepatch: '$MOD_LIVEPATCH': initializing patching transition
34 livepatch: '$MOD_LIVEPATCH': canceling patching transition, going to unpatch
52 livepatch: '$MOD_LIVEPATCH': initializing patching transition
53 livepatch: '$MOD_LIVEPATCH': starting patching transition
54 livepatch: '$MOD_LIVEPATCH': completing patching transition
55 livepatch: '$MOD_LIVEPATCH': patching complete
/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-livepatch4 Contact: live-patching@vger.kernel.org
6 Interface for kernel live patching
14 Contact: live-patching@vger.kernel.org
22 Contact: live-patching@vger.kernel.org
31 Contact: live-patching@vger.kernel.org
39 Contact: live-patching@vger.kernel.org
53 Contact: live-patching@vger.kernel.org
70 Contact: live-patching@vger.kernel.org
78 Contact: live-patching@vger.kernel.org
86 Contact: live-patching@vger.kernel.org
/linux/samples/livepatch/
H A Dlivepatch-callbacks-mod.c7 * livepatch-callbacks-mod.c - (un)patching callbacks demo support module
13 * Simple module to demonstrate livepatch (un)patching callbacks.
41 MODULE_DESCRIPTION("Live patching demo for (un)patching callbacks, support module");
H A Dlivepatch-callbacks-busymod.c7 * livepatch-callbacks-busymod.c - (un)patching callbacks demo support module
13 * Simple module to demonstrate livepatch (un)patching callbacks.
59 MODULE_DESCRIPTION("Live patching demo for (un)patching callbacks, support module");
H A Dlivepatch-callbacks-demo.c7 * livepatch-callbacks-demo.c - (un)patching callbacks livepatch demo
13 * Demonstration of registering livepatch (un)patching callbacks.
36 * and patching operations for both vmlinux and module targets.
107 /* Executed on object patching (ie, patch enablement) */
195 MODULE_DESCRIPTION("Live patching demo for (un)patching callbacks");
H A Dlivepatch-sample.c3 * livepatch-sample.c - Kernel Live Patching Sample Module
69 MODULE_DESCRIPTION("Kernel Live Patching Sample Module");
/linux/include/linux/
H A Dlivepatch.h3 * livepatch.h - Kernel Live Patching Core
27 * struct klp_func - function structure for live patching
42 * The patched and transition variables define the func's patching state. When
43 * patching, a func is always in one of the following states:
64 * it is expected the symbol is unique, otherwise patching fails. If
82 * struct klp_object - kernel object structure for live patching
85 * @callbacks: functions to be executed pre/post (un)patching
122 * struct klp_patch - patch structure for live patching
/linux/kernel/livepatch/
H A Dtransition.c3 * transition.c - Kernel Live Patching transition functions
41 * This work can be performed periodically to finish patching or unpatching any
90 klp_target_state == KLP_TRANSITION_PATCHED ? "patching" : "unpatching"); in klp_complete_transition()
144 klp_target_state == KLP_TRANSITION_PATCHED ? "patching" : "unpatching"); in klp_complete_transition()
161 pr_debug("'%s': canceling patching transition, going to unpatch\n",
178 * A variant of synchronize_rcu() is used to allow patching functions
518 klp_target_state == KLP_TRANSITION_PATCHED ? "patching" : "unpatching"); in klp_try_complete_transition()
550 * for patching or unpatching. in klp_start_transition()
571 klp_target_state == KLP_TRANSITION_PATCHED ? "patching" : "unpatching");
609 * When patching, th in klp_init_transition()
[all...]
/linux/Documentation/livepatch/
H A Dcallbacks.rst2 (Un)patching Callbacks
14 - Patching otherwise unpatchable code (i.e. assembly)
77 to the livepatching core that patching of the current klp_object is not
78 safe and to stop the current patching request. (When no pre-patch
118 patch the data *after* patching is complete with a post-patch callback,
H A Dlivepatch.rst108 a) Patching I/O-bound user tasks which are sleeping on an affected
111 b) Patching CPU-bound user tasks. If the task is highly CPU-bound
143 determine which tasks are blocking completion of a patching operation.
200 a) patching user tasks when they cross the kernel/user space
203 b) patching kthreads and idle tasks at their designated patch points.
403 patching operation.
H A Dcumulative-patches.rst70 extra modifications in (un)patching callbacks or in the module_init()
77 - Only the (un)patching callbacks from the _new_ cumulative livepatch are
/linux/drivers/hid/
H A Dhid-glorious.c23 * by patching the descriptor.
35 hid_info(hdev, "patching Glorious Model O consumer control report descriptor\n"); in glorious_report_fixup()
40 hid_info(hdev, "patching Glorious Model I keyboard report descriptor\n"); in glorious_report_fixup()
/linux/arch/arm64/kernel/
H A Dalternative.c3 * alternative runtime patching
30 /* Volatile, as we may be patching the guts of READ_ONCE() */
95 * Disallow patching unhandled instructions using PC relative in get_alt_insn()
233 * We might be patching the stop_machine state machine, so implement a
264 /* better not try code patching on a live SMP system */ in apply_alternatives_all()
/linux/arch/s390/include/asm/
H A Dalternative.h24 * specific alternative patching.
68 u32 data : 20; /* patching information */
158 * longer. altinstr is padded with jump and nops at run-time during patching.
191 * enough information for the alternatives patching code to patch an
/linux/drivers/bluetooth/
H A Dhci_ag6xx.c241 bt_dev_info(hdev, "Patching firmware file (%s)", fwname); in ag6xx_setup()
258 bt_dev_info(hdev, "Patching complete"); in ag6xx_setup()
271 bt_dev_info(hdev, "Patching %td/%zu", (fw_ptr - fw->data), in ag6xx_setup()
276 bt_dev_err(hdev, "Patching failed"); in ag6xx_setup()
/linux/arch/openrisc/kernel/
H A Dpatching.c15 #include <asm/text-patching.h>
64 * This API provides a single-instruction patching, primarily used for runtime
/linux/Documentation/arch/riscv/
H A Dcmodx.rst24 without a race condition. This series makes atomic code patching possible in
26 state to persist across the patching process with stop_machine().
31 patching is possible because the kernel only has to update one instruction.
/linux/fs/xfs/
H A Dxfs_hooks.h16 * code patching to eliminate the overhead of taking the rwsem in
21 * Note: Patching the kernel code requires taking the cpu hotplug lock. Other
/linux/arch/sparc/mm/
H A Dsrmmu_access.S3 * Implemented in assembler to allow run-time patching.
7 * for the run-time patching.
/linux/Documentation/trace/
H A Dftrace-design.rst288 some extra state when runtime patching arbitrary call sites, this is the
329 patching multiple things. First, only functions that we actually want to trace
335 runtime patching. You'll need a little knowledge of your arch's opcodes in
347 There are two functions that are used to do runtime patching of arbitrary
360 The last function is used to do runtime patching of the active tracer. This
/linux/Documentation/staging/
H A Dstatic-keys.rst31 patching technique. A quick example::
93 This lowlevel patching mechanism is called 'jump label patching', and it gives
180 4) Architecture level code patching interface, 'jump labels'

123456789