From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935006AbcIFWk4 (ORCPT ); Tue, 6 Sep 2016 18:40:56 -0400 Received: from host.buserror.net ([209.198.135.123]:54368 "EHLO host.buserror.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934842AbcIFWku (ORCPT ); Tue, 6 Sep 2016 18:40:50 -0400 Message-ID: <1473201626.30217.1.camel@buserror.net> From: Scott Wood To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Tue, 06 Sep 2016 17:40:26 -0500 In-Reply-To: <20160905064232.2CEB11A245A@localhost.localdomain> References: <20160905064232.2CEB11A245A@localhost.localdomain> Organization: NXP Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 75.72.173.242 X-SA-Exim-Mail-From: oss@buserror.net X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -15 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Subject: Re: [PATCH] powerpc/8xx: add system_reset_exception X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:57:07 +0000) X-SA-Exim-Scanned: Yes (on host.buserror.net) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2016-09-05 at 08:42 +0200, Christophe Leroy wrote: > When the watchdog is in NMI mode, the system reset interrupt is > generated when the watchdog counter expires. > > Signed-off-by: Christophe Leroy > --- >  arch/powerpc/kernel/head_8xx.S | 2 +- >  arch/powerpc/kernel/traps.c    | 2 +- >  2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kernel/head_8xx.S > index 43ddaae..f7b8007 100644 > --- a/arch/powerpc/kernel/head_8xx.S > +++ b/arch/powerpc/kernel/head_8xx.S > @@ -227,7 +227,7 @@ i##n: > \ >     ret_from_except) >   >  /* System reset */ > - EXCEPTION(0x100, Reset, unknown_exception, EXC_XFER_STD) > + EXCEPTION(0x100, Reset, system_reset_exception, EXC_XFER_STD) Does this do anything useful beyond what unknown_exception does?  Do you plan to have a ppc_md.system_reset_exception callback? -Scott