linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Henry Bausley" <hbausley@deltatau.com>
To: <linuxppc-dev@lists.ozlabs.org>
Subject: Critical Interrupt Input
Date: Thu, 15 Aug 2013 21:57:01 -0700	[thread overview]
Message-ID: <4724f96e$5f998126$5fb2b995$@deltatau.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 602 bytes --]


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


[-- Attachment #2: Type: text/html, Size: 748 bytes --]

             reply	other threads:[~2013-08-16  5:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-16  4:57 Henry Bausley [this message]
2013-08-16 11:04 ` Critical Interrupt Input Kumar Gala
2013-08-17 22:05   ` Benjamin Herrenschmidt
  -- strict thread matches above, loose matches on Subject: below --
2013-08-19 19:00 Henry Bausley
2013-08-19 20:56 ` Benjamin Herrenschmidt
2013-08-19 21:04   ` Denis Kirjanov
2013-08-20 22:48   ` Henry Bausley
2013-08-20 23:08     ` Benjamin Herrenschmidt
2013-08-27 22:11       ` Henry Bausley
2013-08-27 22:14         ` Benjamin Herrenschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='4724f96e$5f998126$5fb2b995$@deltatau.com' \
    --to=hbausley@deltatau.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).