From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754980AbcI2BUp (ORCPT ); Wed, 28 Sep 2016 21:20:45 -0400 Received: from mail-pf0-f170.google.com ([209.85.192.170]:32864 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754871AbcI2BUg (ORCPT ); Wed, 28 Sep 2016 21:20:36 -0400 Subject: Re: NMI for ARC To: Andy Lutomirski , Peter Zijlstra 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> Cc: Alexey Brodkin , arcml , Vineet Gupta , lkml From: Vineet Gupta Organization: Synopsys Message-ID: <75783d4b-98bf-5d60-a844-20d4eec88ac9@synopsys.com> Date: Wed, 28 Sep 2016 18:20:29 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.