Re: [PATCH V2 2/4] powerpc: add helper to check if offset is within rel branch range

2016-12-16 Thread Anju T Sudhakar
Hi Masami, Thank you for reviewing the patch set. On Friday 16 December 2016 05:22 PM, Masami Hiramatsu wrote: On Wed, 14 Dec 2016 21:48:30 +0530 Anju T Sudhakar wrote: From: "Naveen N. Rao" The coding is OK to me. Please add a description for this patch here, e.g. what is done by this

Re: [PATCH V2 2/4] powerpc: add helper to check if offset is within rel branch range

2016-12-16 Thread Masami Hiramatsu
On Wed, 14 Dec 2016 21:48:30 +0530 Anju T Sudhakar wrote: > From: "Naveen N. Rao" > The coding is OK to me. Please add a description for this patch here, e.g. what is done by this patch, what kind of branch instruction will be covered, and why thse checks are needed etc. Thank you, > Signed

[PATCH V2 2/4] powerpc: add helper to check if offset is within rel branch range

2016-12-14 Thread Anju T Sudhakar
From: "Naveen N. Rao" Signed-off-by: Naveen N. Rao Signed-off-by: Anju T Sudhakar --- arch/powerpc/include/asm/code-patching.h | 1 + arch/powerpc/lib/code-patching.c | 24 +++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm