Subject: Re: [v3] powerpc: Add support for function error injection

From: Michael Ellerman <[email-masked]>
Date: Mon, 22 Oct 2018 20:34:43 +1100 (AEDT)

On Thu, 2018-06-07 at 09:52:02 UTC, "Naveen N. Rao" wrote:
> We implement regs_set_return_value() and override_function_with_return()
> for this purpose.
> 
> On powerpc, a return from a function (blr) just branches to the location
> contained in the link register. So, we can just update pt_regs rather
> than redirecting execution to a dummy function that returns.
> 
> Signed-off-by: Naveen N. Rao <[email-masked]>
> Reviewed-by: Samuel Mendoza-Jonas <[email-masked]>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/7cd01b08d35f1b7d55686ed8cd57c9

cheers