Re: [PATCH-v2] ARC: syscall for userspace cmpxchg assist

2016-11-04 Thread Vineet Gupta
On 10/24/2016 09:17 AM, Vineet Gupta wrote: > Older ARC700 cores (ARC750 specifically) lack instructions to implement > atomic r-w-w. This is problematic for userspace libraries such as NPTL > which need atomic primitives. So enable them by providing kernel assist. > This is costly but really the o

RE: [PATCH v2 02/10] ARC: timer: gfrc, rtc: deuglify big endian code

2016-11-04 Thread Alexey Brodkin
Hi Vineet, A couple of misspellings in the commit message below. > -Original Message- > From: Vineet Gupta [mailto:vgu...@synopsys.com] > Sent: Friday, November 04, 2016 12:32 AM > To: Daniel Lezcano > Cc: Noam Camus ; t...@linutronix.de; > linux-snps-arc@lists.infradead.org; linux-ker.

RE: [PATCH v2 01/10] ARC: timer: rtc: implement read loop in "C" vs. inline asm

2016-11-04 Thread Alexey Brodkin
Hi Vineet, > -Original Message- > From: Vineet Gupta [mailto:vgu...@synopsys.com] > Sent: Friday, November 04, 2016 12:32 AM > To: Daniel Lezcano > Cc: Noam Camus ; t...@linutronix.de; > linux-snps-arc@lists.infradead.org; linux-ker...@vger.kernel.org; > alexey.brod...@synopsys.com; Vine

Re: [PATCH v3 07/10] ARC: breakout aux handling into a separate header

2016-11-04 Thread Vineet Gupta
On 11/03/2016 04:33 PM, Vineet Gupta wrote: > ARC timers use aux registers for programming and this paves way for > moving ARC timer drivers into drivers/clocksource > > Signed-off-by: Vineet Gupta > --- > arch/arc/include/asm/arcregs.h | 85 > +- > arch/

[RFC] ARCv2: MCIP: Deprecate setting of affinity in Device Tree

2016-11-04 Thread Yuriy Kolerov
Ignore value of interrupt distribution mode for common interrupts in IDU since setting an affinity using value from Device Tree is deprecated in ARC. Originially it is done in idu_irq_xlate function and it is semantically wrong and does not guaranty that an affinity value will be set properly. How