Re: [PATCH 2/2] powerpc: Add support for function error injection

From: Naveen N. Rao
Date: Wed Jun 06 2018 - 06:38:24 EST


Naveen N. Rao wrote:
Michael Ellerman wrote:

I guess if it doesn't already apply to tip you should rebase it. You've
probably missed 4.18 anyway.

Oh ok. I just tried and it seems to apply just fine. I'll post v2 after giving this a quick test.

I didn't post a v2 since I have decided against using this approach. The reason for that is Masami's series to remove jprobes. The discussion there reminded me that we can't easily override functions with kprobes on powerpc. Though it works for this particular scenario, we would just be setting a bad example.

As such, I won't be changing generic code, but will simply make the necessary changes in powerpc code.

Sorry for the noise.

- Naveen