| /arch/xtensa/kernel/ |
| A D | jump_label.c | 26 struct patch { struct 41 struct patch *patch = data; in patch_text_stop_machine() local 43 if (atomic_inc_return(&patch->cpu_count) == num_online_cpus()) { in patch_text_stop_machine() 44 local_patch_text(patch->addr, patch->data, patch->sz); in patch_text_stop_machine() 45 atomic_inc(&patch->cpu_count); in patch_text_stop_machine() 47 while (atomic_read(&patch->cpu_count) <= num_online_cpus()) in patch_text_stop_machine() 49 __invalidate_icache_range(patch->addr, patch->sz); in patch_text_stop_machine() 57 struct patch patch = { in patch_text() local 64 &patch, cpu_online_mask); in patch_text()
|
| /arch/parisc/kernel/ |
| A D | patch.c | 18 struct patch { struct 103 struct patch *patch = data; in patch_text_stop_machine() local 105 __patch_text_multiple(patch->addr, patch->insn, patch->len); in patch_text_stop_machine() 111 struct patch patch = { in patch_text() local 117 stop_machine_cpuslocked(patch_text_stop_machine, &patch, NULL); in patch_text() 123 struct patch patch = { in patch_text_multiple() local 129 stop_machine_cpuslocked(patch_text_stop_machine, &patch, NULL); in patch_text_multiple()
|
| A D | Makefile | 13 patch.o toc.o toc_asm.o
|
| /arch/arm/kernel/ |
| A D | patch.c | 14 struct patch { struct 113 struct patch *patch = data; in patch_text_stop_machine() local 115 __patch_text(patch->addr, patch->insn); in patch_text_stop_machine() 122 struct patch patch = { in patch_text() local 127 stop_machine_cpuslocked(patch_text_stop_machine, &patch, NULL); in patch_text()
|
| A D | Makefile | 60 obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o insn.o patch.o 61 obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o insn.o patch.o 62 obj-$(CONFIG_JUMP_LABEL) += jump_label.o insn.o patch.o 66 obj-$(CONFIG_KPROBES) += patch.o insn.o 69 obj-$(CONFIG_KGDB) += kgdb.o patch.o
|
| A D | phys2virt.S | 78 @ instructions, where we need to patch in the offset into the 87 @ In the LPAE case, we also need to patch in the high word of the 88 @ offset into the immediate field of the MOV instruction, or patch it 125 orreq ip, r0 @ Z flag set -> MOV/MVN -> patch in high bits 126 orrne ip, r6 @ Z flag clear -> MOVW -> patch in low bits 156 @ instructions, where we need to patch in the offset into the 170 @ word, and patch in the high word of the offset into the immediate 171 @ field of the subsequent MOV instruction, or patch it to a MVN
|
| /arch/riscv/kernel/ |
| A D | patch.c | 253 struct patch_insn *patch = data; in patch_text_cb() local 256 if (atomic_inc_return(&patch->cpu_count) == num_online_cpus()) { in patch_text_cb() 257 ret = patch_insn_write(patch->addr, patch->insns, patch->len); in patch_text_cb() 265 atomic_inc_return_release(&patch->cpu_count); in patch_text_cb() 267 while (atomic_read(&patch->cpu_count) <= num_online_cpus()) in patch_text_cb() 280 struct patch_insn patch = { in patch_text() local 297 ret = stop_machine_cpuslocked(patch_text_cb, &patch, cpu_online_mask); in patch_text()
|
| A D | Makefile | 69 obj-y += patch.o
|
| /arch/x86/kernel/cpu/microcode/ |
| A D | amd.c | 982 struct ucode_patch *patch; in verify_and_add_patch() local 990 patch = kzalloc(sizeof(*patch), GFP_KERNEL); in verify_and_add_patch() 991 if (!patch) { in verify_and_add_patch() 997 if (!patch->data) { in verify_and_add_patch() 999 kfree(patch); in verify_and_add_patch() 1002 patch->size = *patch_size; in verify_and_add_patch() 1007 INIT_LIST_HEAD(&patch->plist); in verify_and_add_patch() 1008 patch->patch_id = mc_hdr->patch_id; in verify_and_add_patch() 1009 patch->equiv_cpu = proc_id; in verify_and_add_patch() 1012 __func__, patch->patch_id, proc_id); in verify_and_add_patch() [all …]
|
| A D | intel.c | 248 static void save_microcode_patch(struct microcode_intel *patch) in save_microcode_patch() argument 250 unsigned int size = get_totalsize(&patch->hdr); in save_microcode_patch() 253 mc = kvmemdup(patch, size, GFP_KERNEL); in save_microcode_patch() 266 struct microcode_intel *patch = NULL; in scan_microcode() local 295 patch = data; in scan_microcode() 299 return size ? NULL : patch; in scan_microcode()
|
| /arch/powerpc/platforms/8xx/ |
| A D | Kconfig | 129 prompt "Microcode patch selection" 138 bool "USB SOF patch" 143 bool "I2C/SPI relocation patch" 148 bool "I2C/SPI/SMC1 relocation patch" 153 bool "SMC relocation patch"
|
| A D | micropatch.c | 324 static void __init cpm_write_patch(cpm8xx_t *cp, int offset, uint *patch, int len) in cpm_write_patch() argument 328 memcpy_toio(cp->cp_dpmem + offset, patch, len); in cpm_write_patch()
|
| /arch/arm/probes/kprobes/ |
| A D | core.c | 156 struct patch { struct 163 struct patch *p = data; in __kprobes_remove_breakpoint() argument 170 struct patch p = { in kprobes_remove_breakpoint()
|
| /arch/arm64/kernel/ |
| A D | patching.c | 227 struct aarch64_insn_patch patch = { in aarch64_insn_patch_text() local 237 return stop_machine_cpuslocked(aarch64_insn_patch_text_cb, &patch, in aarch64_insn_patch_text()
|
| /arch/arm/boot/dts/nxp/imx/ |
| A D | imx6qdl-tqma6a.dtsi | 52 /* ENET ping patch */
|
| A D | imx51-zii-rdu1.dts | 104 /* no compatible here, bootloader will patch in correct one */
|
| /arch/mips/include/asm/ |
| A D | cpu.h | 275 #define PRID_REV_ENCODE_332(ver, rev, patch) \ argument 276 ((ver) << 5 | (rev) << 2 | (patch))
|
| /arch/arm64/kernel/pi/ |
| A D | Makefile | 43 obj-$(CONFIG_UNWIND_PATCH_PAC_INTO_SCS) += patch-scs.pi.o
|
| /arch/powerpc/boot/dts/ |
| A D | wii.dts | 16 * Until a later patch is merged, the kernel can use only the first
|
| /arch/arm/boot/dts/intel/ixp/ |
| A D | intel-ixp42x-linksys-wrv54g.dts | 63 /* This set-up comes from an OpenWrt patch */
|
| A D | intel-ixp42x-usrobotics-usr8200.dts | 105 * These timing settings were found in the boardfile patch:
|
| /arch/arm/nwfpe/ |
| A D | ChangeLog | 29 * The changes are designed to break any patch that goes on top
|
| /arch/s390/net/ |
| A D | bpf_jit_comp.c | 2504 int patch; in invoke_bpf_prog() local 2531 patch = jit->prg; in invoke_bpf_prog() 2557 *(u32 *)&jit->prg_buf[patch + 2] = (jit->prg - patch) >> 1; in invoke_bpf_prog()
|
| /arch/arm64/ |
| A D | Kconfig | 506 as it depends on the alternative framework, which will only patch 528 as it depends on the alternative framework, which will only patch 552 only patch the kernel if an affected CPU is detected. 573 as it depends on the alternative framework, which will only patch 591 as it depends on the alternative framework, which will only patch 611 as it depends on the alternative framework, which will only patch 648 as it depends on the alternative framework, which will only patch
|
| /arch/riscv/ |
| A D | Kconfig | 556 This Kconfig allows the kernel to automatically patch the
|