From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from Barracuda.deltatau.com (barracuda.deltatau.com [76.79.246.10]) by ozlabs.org (Postfix) with ESMTP id 18A802C01E5 for ; Fri, 16 Aug 2013 15:11:09 +1000 (EST) Received: from mail.deltatau.com (mail.deltatau.com [76.79.246.9]) by Barracuda.deltatau.com with ESMTP id IceDPzzDDz6QcJbX for ; Thu, 15 Aug 2013 21:57:20 -0700 (PDT) From: "Henry Bausley" To: Subject: Critical Interrupt Input Date: Thu, 15 Aug 2013 21:57:01 -0700 Message-ID: <4724f96e$5f998126$5fb2b995$@deltatau.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_1796FBF9.253BF7F0" Reply-To: hbausley@deltatau.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multipart message in MIME format. ------=_NextPart_000_0001_1796FBF9.253BF7F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Is there any reason that a Critical Input Interrupt will not work reliably on a 44x powerpc? I am using an AMCC now Applied Micro AMCC460EX and changed CRITICAL_EXCEPTION(0x0100, CriticalInput, unknown_exception) to CRITICAL_EXCEPTION(0x0100, CriticalInput, do_MyCritIntr) The code for the handler is trivial ie. int crintrcount; void do_MyCritIntr(void) { crintrcount++; } The code runs for a while but eventually I get panic messages and the system hangs. Is there something I must alter in the kernel to do this reliably? Outbound scan for Spam or Virus by Barracuda at Delta Tau ------=_NextPart_000_0001_1796FBF9.253BF7F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Is there any reason that a Critical Input Interrupt will not work reliabl= y on a 44x powerpc?

I am using an AMCC now Applied Micro AMCC460EX <= br>
and changed

CRITICAL_EXCEPTION(0x0100, CriticalInput, unknown= _exception)
to
CRITICAL_EXCEPTION(0x0100, CriticalInput, do_MyCritInt= r)

The code for the handler is trivial
ie.
int crintrcount;

v= oid do_MyCritIntr(void)
{
  crintrcount++;
}

The code = runs for a while but eventually I get panic messages and  the system h= angs.  Is there something I must alter in the kernel to do this reliab= ly?

  ­­  = ------=_NextPart_000_0001_1796FBF9.253BF7F0--