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

Sachin Sant sachinp at linux.vnet.ibm.com
Sat Nov 27 05:00:02 AEDT 2021


>  Running code patching self-tests ...
>  patch_instruction() called on invalid text address 0xe1011e58 from test_code_patching+0x34/0xd6c
> 
> Reported-by: Sachin Sant <sachinp at linux.vnet.ibm.com>
> Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
> Cc: Nicholas Piggin <npiggin at gmail.com>
> Fixes: 8b8a8f0ab3f5 ("powerpc/code-patching: Improve verification of patchability")
> Signed-off-by: Christophe Leroy <christophe.leroy at csgroup.eu>
> ---
> arch/powerpc/lib/code-patching.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
> 

This fixes the problem for me.

Tested-by: Sachin Sant <sachinp at linux.vnet.ibm.com>

Thanks
-Sachin



More information about the Linuxppc-dev mailing list