Home
last modified time | relevance | path

Searched hist:"698 b851073ddf5a894910d63ca04605e0473414e" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/mips/include/asm/
H A Dkprobes.hdiff 698b851073ddf5a894910d63ca04605e0473414e Thu Jun 08 15:20:32 CEST 2017 Marcin Nowakowski <marcin.nowakowski@imgtec.com> MIPS: kprobes: flush_insn_slot should flush only if probe initialised

When ftrace is used with kprobes, it is possible for a kprobe to contain
an invalid location (ie. only initialised to 0 and not to a specific
location in the code). Trying to perform a cache flush on such location
leads to a crash r4k_flush_icache_range().

Fixes: c1bf207d6ee1 ("MIPS: kprobe: Add support.")
Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16296/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>