Enable and Distribute IRQs in Linux

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Enable and Distribute IRQs in Linux

1,347 次查看
saravanankrish
Contributor I

Hello,

I am using imx6 sabrelite board in which Linux OS runs on core0 and RTOS on core1. I have configured GIC interrupt registers in RTOS but Linux OS overwrites it. I need to enable IRQs 88,142,143,150 and distribute it to core 1(RTOS) in linux source code. I have gone through the irq_gic.c file but couldn't get an idea to proceed further.

i have tried cat /proc/interrupts in serial console and i couldn't see the above IRQ numbers. is that indicates the above interrupts are disabled in Linux?

How to enable and distribute interrupts in Linux source code?

Your suggestions are welcome!

Thanks in advance.

0 项奖励
回复
1 回复

1,163 次查看
igorpadykov
NXP Employee
NXP Employee

Hi saravan

please refer to generic linux documentation on found on web, like

Linux Device Drivers, 2nd Edition: Chapter 9: Interrupt Handling 

4.6. Interrupt Handling - Understanding the Linux Kernel, 3rd Edition [Book] 

and sect.3.2 Interrupts (Operation) attached Linux Manual.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复