All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] IRQ155 not handled. Disabling IRQ line
@ 2014-12-02  9:28 Terje Frøysa
  2014-12-02  9:33 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 10+ messages in thread
From: Terje Frøysa @ 2014-12-02  9:28 UTC (permalink / raw)
  To: xenomai@xenomai.org

Dear forum,

Question:
If a driver is deemed buggy and the IRQ disabled, why is it still serving the interrupts?

Running Debian 3.8.13-bone67 and Xenomai 2.6.4

At opening call, my GPIO RTDM IRQ driver enables a GPIO line w/irq.
My user-space program issues read-requests to receive a time-stamp for each irq.
The irq handler is very compact. It only reads the system time, rises a semaphore if not already up and returns RT_INTR_HANDLED.

When starting (open + loop w/reads),  the dmesg log-message appears:  "IRQ155 not handled. Disabling IRQ line".
It appears only once in the start.
Never-the-less, the interrupts are still handled and keep coming.

Regards
Terje Froysa

Dmesg log:
[10745.676319] RTDM IMU pin 27 - irq number 155
[10745.676326] RTDM IMU 27 - request GPIO
[10745.676345] RTDM IMU 27 - request IRQ 155
[10745.676369] RTDM IMU 27 - set IRQ type RISING_EDGE
[10745.676384] RTDM IMU 27 - init semaphore
[10745.676395] RTDM IMU 27 - enable IRQ
[10750.680486] Xenomai: xnintr_irq_handler: IRQ155 not handled. Disabling IRQ line.
:
200000 irqs handled, nothing logged.
:
[11745.698291] RTDM IMU 27 - close

Smail: Terje Frøysa, SINTEF ICT (Information and Communication Technology), N-7465 Trondheim, Norway.
Email: terje.froysa@sintef.no<blocked::mailto:terje.froysa@sintef.no> <mailto:terje.froysa@sintef.no<blocked::mailto:terje.froysa@sintef.no>>
Phone: +47 930 03603,
Company: Independent R&D, see <http://www.sintef.no/<blocked::http://www.sintef.no/>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-12-02 12:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-02  9:28 [Xenomai] IRQ155 not handled. Disabling IRQ line Terje Frøysa
2014-12-02  9:33 ` Gilles Chanteperdrix
2014-12-02  9:51   ` Terje Frøysa
2014-12-02  9:57     ` Gilles Chanteperdrix
2014-12-02 10:20       ` Terje Frøysa
2014-12-02 10:53         ` Gilles Chanteperdrix
2014-12-02 12:07           ` Terje Frøysa
2014-12-02 12:13             ` Gilles Chanteperdrix
2014-12-02 12:16               ` Terje Frøysa
2014-12-02 12:17                 ` Gilles Chanteperdrix

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.