From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vineet.Gupta1@synopsys.com (Vineet Gupta) Date: Tue, 17 Nov 2015 18:54:11 +0530 Subject: local64_cmpxchg() in arc_perf_event_update() In-Reply-To: <20151117122540.GL11639@twins.programming.kicks-ass.net> References: <1445286926.3913.13.camel@synopsys.com> <20151117110749.GT3816@twins.programming.kicks-ass.net> <564B0E18.3040207@synopsys.com> <20151117122401.GY3816@twins.programming.kicks-ass.net> <20151117122540.GL11639@twins.programming.kicks-ass.net> List-ID: Message-ID: <564B2A7B.8050707@synopsys.com> To: linux-snps-arc@lists.infradead.org On Tuesday 17 November 2015 05:55 PM, Peter Zijlstra wrote: > On Tue, Nov 17, 2015@01:24:01PM +0100, Peter Zijlstra wrote: >> > On Tue, Nov 17, 2015@04:53:04PM +0530, Vineet Gupta wrote: >>> > > That means Alexey need to revert the hunk ? >> > >> > Yes, I think so. > This is assuming you now have these NMIs we talked about earlier. If all > you have are regular IRQs this is not possible, for we should be calling > ->read() with IRQs disabled. Ok then there is not need for this change ATM. I'll queue up the revert in the branch which brings NMI support ! Thx, -Vineet