mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[PATCH] IA64: kprobe invalidate icache of jump buffer
Kprobe inserts breakpoint instruction in probepoint and then jumps to instruction slot when breakpoint is hit, the instruction slot icache must be consistent with dcache. Here is the patch which invalidates instruction slot icache area. Without this patch, in some machines there will be fault when executing instruction slot where icache content is inconsistent with dcache. Signed-off-by: bibo,mao <[email protected]> Acked-by: "Luck, Tony" <[email protected]> Acked-by: Keshavamurthy Anil S <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
25c8716cb0
commit
a9ad965ea9
7 changed files with 15 additions and 0 deletions
|
|
@ -125,5 +125,6 @@ static inline void jprobe_return(void)
|
|||
}
|
||||
extern void invalidate_stacked_regs(void);
|
||||
extern void flush_register_stack(void);
|
||||
extern void flush_insn_slot(struct kprobe *p);
|
||||
|
||||
#endif /* _ASM_KPROBES_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue