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: [email protected]<blocked::mailto:[email protected]> <mailto:[email protected]<blocked::mailto:[email protected]>> Phone: +47 930 03603, Company: Independent R&D, see <http://www.sintef.no/<blocked::http://www.sintef.no/> _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
