All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Lukas Erlinghagen <lukas.erlinghagen@x2e.de>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: Kernel panic with PREEMPT_RT_FULL and UIO driver
Date: Wed, 21 Dec 2011 12:38:45 +0100 (CET)	[thread overview]
Message-ID: <alpine.LFD.2.02.1112211237100.3020@ionos> (raw)
In-Reply-To: <4EF1B984.4010102@x2e.de>

On Wed, 21 Dec 2011, Lukas Erlinghagen wrote:

> Dear list,
> 
> we're getting the kernel panic postet below on our system (Kernel version is
> 3.0.3-rt11, the platform is an embedded PowerPC 440 in a Virtex 5 FPGA, the
> device controlled by the UIO driver is a Freescale MFR4310 controller, and the
> interrupt is triggered by a high-active interrupt pin). This panic only occurs
> when using CONFIG_PREEMPT_RT_FULL, and only under high interrupt load on the
> MFR.
>
> I've also included our IRQ handler (registered with IRQF_ONESHOT) and IRQ
> control function.
> 
> Is there something fundamentally wrong we're doing, and if so, where can I

You are running the UIO interrupt handler with IRQF_NO_THREAD. That
can't work on RT.

Thanks,

	tglx



  reply	other threads:[~2011-12-21 11:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-21 10:48 Kernel panic with PREEMPT_RT_FULL and UIO driver Lukas Erlinghagen
2011-12-21 11:38 ` Thomas Gleixner [this message]
2011-12-22 10:31 ` Uwe Kleine-König
2011-12-22 12:58   ` Thomas Gleixner

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=alpine.LFD.2.02.1112211237100.3020@ionos \
    --to=tglx@linutronix.de \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=lukas.erlinghagen@x2e.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.