Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Cc: linux-mips@linux-mips.org
Subject: Re: [PATCH] mips/kprobes: flush_insn_slot should flush only if probe initialised
Date: Thu, 8 Jun 2017 15:41:07 +0200	[thread overview]
Message-ID: <20170608134107.GA11304@linux-mips.org> (raw)
In-Reply-To: <1496928032-561-1-git-send-email-marcin.nowakowski@imgtec.com>

On Thu, Jun 08, 2017 at 03:20:32PM +0200, Marcin Nowakowski wrote:

> 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().

Cute, 2.6.36+ ...

Applied,

  Ralf

      parent reply	other threads:[~2017-06-08 13:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-08 13:20 [PATCH] mips/kprobes: flush_insn_slot should flush only if probe initialised Marcin Nowakowski
2017-06-08 13:20 ` Marcin Nowakowski
2017-06-08 13:41 ` Ralf Baechle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170608134107.GA11304@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=linux-mips@linux-mips.org \
    --cc=marcin.nowakowski@imgtec.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox