From: vgupta@synopsys.com (Vineet Gupta) Date: Wed, 28 Sep 2016 18:20:29 -0700 Subject: NMI for ARC In-Reply-To: References: <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> <564B2341.4030409@synopsys.com> <20151117131538.GZ3816@twins.programming.kicks-ass.net> <3b23d64c-2579-b72e-645a-e7ece3c1a3c6@synopsys.com> <20160928071642.GU2794@worktop> <20160928203748.GU5012@twins.programming.kicks-ass.net> List-ID: Message-ID: <75783d4b-98bf-5d60-a844-20d4eec88ac9@synopsys.com> To: linux-snps-arc@lists.infradead.org On 09/28/2016 03:26 PM, Andy Lutomirski wrote: >> Right, so what I think Vineet is asking is if we need to disable NMIs as >> > well, we cannot on x86 disable NMIs so no. >> > > The same argument works here, too: an NMI won't set TIF_NEED_RESCHED > without sending an IPI, so we can't miss a wakeup. But what exact wakeup miss are we taking about here. If intr were NOT disabled, how could this happen. Just trying to understand the need for "irqs-disabled" in resume_{user,kernel}_* The intr disabled before reg file restore makes complete sense though.