Re: [PATCH] ARC: [plat-eznps] add missing atomic_fetch_xxx operations

2016-09-19 Thread Vineet Gupta
On 09/18/2016 10:34 PM, Noam Camus wrote: > From: Noam Camus > > Build brekeage since last changes to generic atomic operations. > Added couple of missing macros which are now mandatory > > Signed-off-by: Noam Camus Added to for-next ! Thx, -Vineet > --- > arch/arc/include/asm/atomic.h |

[PATCH 0/3] ARC unwinder switch to .eh_frame

2016-09-19 Thread Vineet Gupta
Hi Daniel, Give these a shot and let me know if they work fine for you. I'm working on some more improvements to unwinder which will follow a bit later. Thx, -Vineet Vineet Gupta (3): ARC: module: support R_ARC_32_PCREL relocation ARC: dw2 unwind: factor CIE specifics for .eh_frame/.debug_fr

[PATCH 3/3] ARC: dw2 unwind: switch to .eh_frame based unwinding

2016-09-19 Thread Vineet Gupta
So finally after almost 8 years of dealing with .debug_frame, we are finally switching to .eh_frame. The reason being stripped kernel binaries had non-functional unwinder as .debug_frame was gone. Also, in general .eh_frame seems more common way of doing unwinding. This also folds a revert of f52e

[PATCH 2/3] ARC: dw2 unwind: factor CIE specifics for .eh_frame/.debug_frame

2016-09-19 Thread Vineet Gupta
This paves way for switching to .eh_frame based unwindiing Signed-off-by: Vineet Gupta --- arch/arc/kernel/unwind.c | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c index 0587bf121d11..4e5dbe7617a1

[PATCH 1/3] ARC: module: support R_ARC_32_PCREL relocation

2016-09-19 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- arch/arc/include/asm/elf.h | 3 +-- arch/arc/kernel/module.c | 6 -- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arc/include/asm/elf.h b/arch/arc/include/asm/elf.h index 51a99e25fe33..7096f97a1434 100644 --- a/arch/arc/include/asm/elf.

Re: [PATCH 0/3] ARC unwinder switch to .eh_frame

2016-09-19 Thread Daniel Mentz
Hi Vineet, Thank you for your patches. I applied them, and verified that unwinding works with code that is compiled into the kernel image as well as kernel modules. I confirmed that the .eh_frame section is present and that the .debug_frame section is absent. I also verified that the file size of

Re: [PATCH 0/3] ARC unwinder switch to .eh_frame

2016-09-19 Thread Vineet Gupta
On 09/19/2016 06:21 PM, Daniel Mentz wrote: > Hi Vineet, > > Thank you for your patches. I applied them, and verified that > unwinding works with code that is compiled into the kernel image as > well as kernel modules. > I confirmed that the .eh_frame section is present and that the > .debug_frame