Home
last modified time | relevance | path

Searched refs:alt_instr (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dspectre.h104 void spectre_v4_patch_fw_mitigation_enable(struct alt_instr *alt, __le32 *origptr,
106 void smccc_patch_fw_mitigation_conduit(struct alt_instr *alt, __le32 *origptr,
108 void spectre_bhb_patch_loop_mitigation_enable(struct alt_instr *alt, __le32 *origptr,
110 void spectre_bhb_patch_fw_mitigation_enabled(struct alt_instr *alt, __le32 *origptr,
112 void spectre_bhb_patch_loop_iter(struct alt_instr *alt,
114 void spectre_bhb_patch_wa3(struct alt_instr *alt,
116 void spectre_bhb_patch_clearbhb(struct alt_instr *alt,
H A Dalternative.h13 struct alt_instr { struct
21 typedef void (*alternative_cb_t)(struct alt_instr *alt,
34 void alt_cb_patch_nops(struct alt_instr *alt, __le32 *origptr,
H A Dkvm_asm.h287 void kvm_patch_vector_branch(struct alt_instr *alt,
289 void kvm_get_kimage_voffset(struct alt_instr *alt,
291 void kvm_compute_final_ctr_el0(struct alt_instr *alt,
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dalternative.c20 static void __init_or_module __apply_alternatives(struct alt_instr *start, in __apply_alternatives()
21 struct alt_instr *end) in __apply_alternatives()
23 struct alt_instr *a; in __apply_alternatives()
47 void __init_or_module apply_alternatives(struct alt_instr *start, in apply_alternatives()
48 struct alt_instr *end) in apply_alternatives()
54 extern struct alt_instr __alt_instructions[], __alt_instructions_end[];
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dalternative.c29 struct alt_instr *begin;
30 struct alt_instr *end;
44 static __always_inline bool branch_insn_requires_update(struct alt_instr *alt, unsigned long pc) in branch_insn_requires_update()
52 static __always_inline u32 get_alt_insn(struct alt_instr *alt, __le32 *insnptr, __le32 *altinsnptr) in get_alt_insn()
97 static noinstr void patch_alternative(struct alt_instr *alt, in patch_alternative()
138 struct alt_instr *alt; in __apply_alternatives()
202 .begin = (struct alt_instr *)__alt_instructions, in __apply_alternatives_multi_stop()
203 .end = (struct alt_instr *)__alt_instructions_end, in __apply_alternatives_multi_stop()
240 .begin = (struct alt_instr *)__alt_instructions, in apply_boot_alternatives()
241 .end = (struct alt_instr *)__alt_instructions_en in apply_boot_alternatives()
[all...]
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dalternative.c36 struct alt_instr *begin;
37 struct alt_instr *end;
51 static __always_inline bool branch_insn_requires_update(struct alt_instr *alt, unsigned long pc) in branch_insn_requires_update()
59 static __always_inline u32 get_alt_insn(struct alt_instr *alt, __le32 *insnptr, __le32 *altinsnptr) in get_alt_insn()
104 static noinstr void patch_alternative(struct alt_instr *alt, in patch_alternative()
146 struct alt_instr *alt; in __apply_alternatives()
223 .begin = (struct alt_instr *)__alt_instructions,
224 .end = (struct alt_instr *)__alt_instructions_end,
294 noinstr void alt_cb_patch_nops(struct alt_instr *alt, __le32 *origptr, in alt_cb_patch_nops()
H A Dproton-pack.c568 void __init spectre_v4_patch_fw_mitigation_enable(struct alt_instr *alt, in spectre_v4_patch_fw_mitigation_enable()
588 void __init smccc_patch_fw_mitigation_conduit(struct alt_instr *alt, in smccc_patch_fw_mitigation_conduit()
1064 void noinstr spectre_bhb_patch_loop_mitigation_enable(struct alt_instr *alt, in spectre_bhb_patch_loop_mitigation_enable()
1075 void noinstr spectre_bhb_patch_fw_mitigation_enabled(struct alt_instr *alt, in spectre_bhb_patch_fw_mitigation_enabled()
1086 void noinstr spectre_bhb_patch_loop_iter(struct alt_instr *alt, in spectre_bhb_patch_loop_iter()
1107 void noinstr spectre_bhb_patch_wa3(struct alt_instr *alt, in spectre_bhb_patch_wa3()
1133 void __init spectre_bhb_patch_clearbhb(struct alt_instr *alt, in spectre_bhb_patch_clearbhb()
/kernel/linux/linux-5.10/arch/parisc/kernel/
H A Dalternative.c22 void __init_or_module apply_alternatives(struct alt_instr *start, in apply_alternatives()
23 struct alt_instr *end, const char *module_name) in apply_alternatives()
25 struct alt_instr *entry; in apply_alternatives()
107 apply_alternatives((struct alt_instr *) &__alt_instructions, in apply_alternatives_all()
108 (struct alt_instr *) &__alt_instructions_end, NULL); in apply_alternatives_all()
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dalternative.c62 static void __init_or_module __apply_alternatives(struct alt_instr *start, in __apply_alternatives()
63 struct alt_instr *end) in __apply_alternatives()
65 struct alt_instr *a; in __apply_alternatives()
102 void __init_or_module apply_alternatives(struct alt_instr *start, in apply_alternatives()
103 struct alt_instr *end) in apply_alternatives()
109 extern struct alt_instr __alt_instructions[], __alt_instructions_end[];
/kernel/linux/linux-6.6/arch/parisc/kernel/
H A Dalternative.c23 void __init_or_module apply_alternatives(struct alt_instr *start, in apply_alternatives()
24 struct alt_instr *end, const char *module_name) in apply_alternatives()
26 struct alt_instr *entry; in apply_alternatives()
109 apply_alternatives((struct alt_instr *) &__alt_instructions, in apply_alternatives_all()
110 (struct alt_instr *) &__alt_instructions_end, NULL); in apply_alternatives_all()
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dalternative.h12 struct alt_instr { struct
25 extern struct alt_instr __alt_instructions[], __alt_instructions_end[];
28 extern void apply_alternatives(struct alt_instr *start, struct alt_instr *end);
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dalternative.h12 struct alt_instr { struct
25 extern struct alt_instr __alt_instructions[], __alt_instructions_end[];
28 extern void apply_alternatives(struct alt_instr *start, struct alt_instr *end);
/kernel/linux/linux-5.10/arch/parisc/include/asm/
H A Dalternative.h23 struct alt_instr { struct
32 void apply_alternatives(struct alt_instr *start, struct alt_instr *end,
/kernel/linux/linux-6.6/arch/parisc/include/asm/
H A Dalternative.h23 struct alt_instr { struct
32 void apply_alternatives(struct alt_instr *start, struct alt_instr *end,
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dalternative.h11 struct alt_instr { struct
19 void apply_alternatives(struct alt_instr *start, struct alt_instr *end);
38 * | alt_instr entries for each |
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dalternative.h13 struct alt_instr { struct
21 typedef void (*alternative_cb_t)(struct alt_instr *alt,
H A Duaccess.h256 #define __get_user_asm(instr, alt_instr, reg, x, addr, err, feature) \
259 alt_instr " " reg "1, [%2]\n", feature) \
321 #define __put_user_asm(instr, alt_instr, reg, x, addr, err, feature) \
324 alt_instr " " reg "1, [%2]\n", feature) \
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dalternative.h11 struct alt_instr { struct
20 void apply_alternatives(struct alt_instr *start, struct alt_instr *end);
45 * | alt_instr entries for each |
/kernel/linux/linux-6.6/arch/arm64/kvm/
H A Dva_layout.c154 void __init kvm_update_va_mask(struct alt_instr *alt, in kvm_update_va_mask()
188 void kvm_patch_vector_branch(struct alt_instr *alt, in kvm_patch_vector_branch()
287 void kvm_get_kimage_voffset(struct alt_instr *alt, in kvm_get_kimage_voffset()
293 void kvm_compute_final_ctr_el0(struct alt_instr *alt, in kvm_compute_final_ctr_el0()
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dalternative.c181 void __init_or_module apply_alternatives(struct alt_instr *start, struct alt_instr *end) in apply_alternatives()
183 struct alt_instr *a; in apply_alternatives()
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dalternative.c183 void __init_or_module apply_alternatives(struct alt_instr *start, struct alt_instr *end) in apply_alternatives()
185 struct alt_instr *a; in apply_alternatives()
/kernel/linux/linux-5.10/arch/arm64/kvm/
H A Dva_layout.c100 void __init kvm_update_va_mask(struct alt_instr *alt, in kvm_update_va_mask()
137 void kvm_patch_vector_branch(struct alt_instr *alt, in kvm_patch_vector_branch()
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dalternative.h62 struct alt_instr { struct
77 extern void apply_alternatives(struct alt_instr *start, struct alt_instr *end);
309 * Issue one struct alt_instr descriptor entry (need to put it into
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dalternative.h73 struct alt_instr { struct
96 extern void apply_alternatives(struct alt_instr *start, struct alt_instr *end);
360 * Issue one struct alt_instr descriptor entry (need to put it into
/kernel/linux/linux-5.10/arch/um/kernel/
H A Dum_arch.c371 void apply_alternatives(struct alt_instr *start, struct alt_instr *end) in apply_alternatives()

Completed in 11 milliseconds

12