Home
last modified time | relevance | path

Searched refs:patched (Results 1 – 25 of 60) sorted by relevance

123

/linux-6.15/arch/arm64/kernel/
H A Dpatching.c105 typedef void text_poke_f(void *dst, void *src, size_t patched, size_t len);
110 size_t patched = 0; in __text_poke() local
117 while (patched < len) { in __text_poke()
118 ptr = addr + patched; in __text_poke()
120 len - patched); in __text_poke()
123 func(waddr, src, patched, size); in __text_poke()
126 patched += size; in __text_poke()
135 static void text_poke_memcpy(void *dst, void *src, size_t patched, size_t len) in text_poke_memcpy() argument
137 copy_to_kernel_nofault(dst, src + patched, len); in text_poke_memcpy()
140 static void text_poke_memset(void *dst, void *src, size_t patched, size_t len) in text_poke_memset() argument
/linux-6.15/kernel/livepatch/
H A Dpatch.c131 if (WARN_ON(!func->patched)) in klp_unpatch_func()
157 func->patched = false; in klp_unpatch_func()
168 if (WARN_ON(func->patched)) in klp_patch_func()
219 func->patched = true; in klp_patch_func()
238 if (func->patched) in __klp_unpatch_object()
243 obj->patched = false; in __klp_unpatch_object()
257 if (WARN_ON(obj->patched)) in klp_patch_object()
267 obj->patched = true; in klp_patch_object()
277 if (obj->patched) in __klp_unpatch_objects()
H A DKconfig19 a patch, causing calls to patched functions to be redirected
H A Dcore.c496 return sysfs_emit(buf, "%d\n", obj->patched); in patched_show()
499 static struct kobj_attribute patched_kobj_attr = __ATTR_RO(patched);
810 func->patched = false; in klp_init_func()
917 obj->patched = false; in klp_init_object()
1015 if (obj->patched) in __klp_disable_patch()
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-kernel-livepatch17 object (vmlinux or a module) in which it patched functions.
24 A writable attribute that indicates whether the patched
44 the patched or unpatched state. Administrator should not
73 that is patched within the object.
75 What: /sys/kernel/livepatch/<patch>/<object>/patched
81 patched.
89 properties and state of the patched function.
91 The directory name contains the patched function name and a
93 name in kallsyms for the patched object.
/linux-6.15/Documentation/livepatch/
H A Dlivepatch.rst85 transition state where tasks are converging to the patched state.
88 the patched state to the unpatched state.
90 An interrupt handler inherits the patched state of the task it
92 patched state of the parent.
110 force it to exit the kernel and be patched.
117 allows them to be patched before the CPU enters the idle state.
271 the patch itself and the relevant functions might be patched
275 - struct klp_patch defines an array of patched objects (struct
316 implementation of the patched functions at this stage.
325 to the patched state. If an original function is patched for the first
[all …]
H A Dcallbacks.rst6 to execute callback functions when a kernel object is (un)patched. They
28 - A module notifier can't stop a to-be-patched module from loading.
32 be patched, irrespective of the target klp_object's current state.
40 - before a klp_object is patched
43 - after a klp_object has been patched and is active
47 - before a klp_object is unpatched (ie, patched code is
52 - after a klp_object has been patched, all code has
53 been restored and no tasks are running patched code,
H A Dmodule-elf-format.rst38 A typical livepatch module contains patched versions of functions that can
191 These are symbols accessed from new versions of functions for patched
194 resolves exported syms, and not every symbol referenced by the new patched
/linux-6.15/arch/sparc/kernel/
H A Detrap_32.S113 sll %t_wim, 0x7, %t_wim ! patched on 7 window Sparcs
116 and %g2, 0xff, %g2 ! patched on 7 window Sparcs
189 and %g2, 0xff, %g2 ! patched on 7win Sparcs
203 and %g1, 0xff, %g1 ! patched on 7win Sparcs, mask
206 sll %t_wim, 0x7, %t_wim ! patched on 7win Sparcs
209 and %g2, 0xff, %g2 ! patched on 7win Sparcs
H A Dwof.S234 spnwin_patch3: and %twin_tmp, 0xff, %twin_tmp ! patched on 7win Sparcs
/linux-6.15/drivers/bluetooth/
H A Dhci_ag6xx.c159 bool patched = false; in ag6xx_setup() local
223 patched = true; in ag6xx_setup()
259 patched = true; in ag6xx_setup()
287 err = btintel_exit_mfg(hdev, true, patched); in ag6xx_setup()
H A Dbtintel.h248 int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched);
293 static inline int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched) in btintel_exit_mfg() argument
/linux-6.15/include/linux/
H A Dlivepatch.h76 bool patched; member
129 bool patched; member
/linux-6.15/Documentation/features/debug/optprobes/
H A Darch-support.txt4 # description: arch supports live patched optprobes
/linux-6.15/Documentation/features/debug/kprobes/
H A Darch-support.txt4 # description: arch supports live patched kernel probe
/linux-6.15/Documentation/features/debug/uprobes/
H A Darch-support.txt4 # description: arch supports live patched user probes
/linux-6.15/Documentation/features/core/jump-labels/
H A Darch-support.txt4 # description: arch supports live patched, high efficiency branches
/linux-6.15/Documentation/sound/codecs/
H A Dcs35l56.rst153 [ 7.939279] cs35l56 sdw:0:0:01fa:3556:01:0: Cirrus Logic CS35L56 Rev B0 OTP3 fw:3.4.4 (patched=0)
169 …75] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: Cirrus Logic CS35L56 Rev B0 OTP3 fw:3.4.4 (patched=0)
180 Cirrus Logic CS35L56 Rev B0 OTP3 fw:3.4.4 (patched=0)
186 * (patched=0) is normal, and indicates that the amplifier has been hard
188 * (patched=1) means that something has previously downloaded firmware
229 * The amplifier has already been patched with firmware by something
233 string in the kernel log shows "(patched=1)"
/linux-6.15/drivers/nfc/fdp/
H A Dfdp.c462 u8 patched = 0; in fdp_nci_setup() local
483 patched = 1; in fdp_nci_setup()
491 patched = 1; in fdp_nci_setup()
498 if (patched) { in fdp_nci_setup()
/linux-6.15/arch/x86/kernel/
H A Dalternative.c2682 size_t patched = 0; in text_poke_copy_locked() local
2687 while (patched < len) { in text_poke_copy_locked()
2688 unsigned long ptr = start + patched; in text_poke_copy_locked()
2691 s = min_t(size_t, PAGE_SIZE * 2 - offset_in_page(ptr), len - patched); in text_poke_copy_locked()
2693 __text_poke(text_poke_memcpy, (void *)ptr, opcode + patched, s); in text_poke_copy_locked()
2694 patched += s; in text_poke_copy_locked()
2731 size_t patched = 0; in text_poke_set() local
2737 while (patched < len) { in text_poke_set()
2738 unsigned long ptr = start + patched; in text_poke_set()
2741 s = min_t(size_t, PAGE_SIZE * 2 - offset_in_page(ptr), len - patched); in text_poke_set()
[all …]
/linux-6.15/drivers/mfd/
H A Dcs42l43.c742 bool patched, shadow; in cs42l43_mcu_update_step() local
772 patched = mcu_rev != CS42L43_MCU_ROM_REV || bios_rev != CS42L43_MCU_ROM_BIOS_REV; in cs42l43_mcu_update_step()
788 if (!patched && cs42l43->hw_lock) { in cs42l43_mcu_update_step()
798 if (!patched) { in cs42l43_mcu_update_step()
818 if (patched) { in cs42l43_mcu_update_step()
/linux-6.15/drivers/staging/media/atomisp/
H A DTODO72 app for v4l2-controls which also supports subdev such as the Fedora patched
/linux-6.15/Documentation/admin-guide/hw-vuln/
H A Dindirect-target-selection.rst62 compilers. ITS-vulnerable retpoline sites are runtime patched to point to newly
64 second half of the cacheline. Not all retpoline sites are patched to thunks, if
/linux-6.15/tools/perf/Documentation/
H A Dsecurity.txt69 4. Get into rpmbuild/SPECS directory and build policy packages from patched sources:
88 update with the patched rpms above:
/linux-6.15/Documentation/arch/x86/
H A Dmicrocode.rst130 Any other instruction that's being patched and gets concurrently
175 an instruction being patched. Plus OS has no way to stop SMIs from

123