# Re: \[PATCH\] powerpc/code-patching: Relax verification of patchability

- From: Sachin Sant \<hidden\>
- Date: 2021-11-26 18:02:51 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/11/1588047
- Thread: https://ratatoskr.run/linuxppc-dev/2021/11/1587364/t.md

```text

>  Running code patching self-tests ...
>  patch_instruction() called on invalid text address 0xe1011e58 from test_code_patching+0x34/0xd6c
> 
> Reported-by: Sachin Sant <redacted>
> Reported-by: Stephen Rothwell <redacted>
> Cc: Nicholas Piggin <npiggin@gmail.com>
> Fixes: 8b8a8f0ab3f5 ("powerpc/code-patching: Improve verification of patchability")
> Signed-off-by: Christophe Leroy <redacted>
> ---
> arch/powerpc/lib/code-patching.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
> 

This fixes the problem for me.

Tested-by: Sachin Sant <redacted>

Thanks
-Sachin

```
