What is the interruption of twd in IMX6?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is the interruption of twd in IMX6?

1,993 Views
864535720
Contributor II

Hello everyone:
    My development board is IMX6Q-sabresd, and the version of my linux operating system is: 3.14.52. I have a 554 extended serial port driver that generates a large number of external interrupts. About 6,000 external interrupts were generated in 1 second, but I found that my kernel would miss some external interrupts. How can I do this in order to respond to all my interrupts. At the same time, I use the cat /proc/interrupts command to check the number of interrupts generated by the Linux system. I found that the number of interrupts generated by twd exceeds the sum of all other interrupts. What is the interruption of twd? Can you mask it? If so, how can I block it?

This is my interrupt message:

CPU0 CPU1
29: 4817157 6351942 GIC 29 twd
34: 0 0 GIC 34 sdma
35: 0 0 GIC 35 VPU_JPG_IRQ
37: 0 0 GIC 37 2400000.ipu
38: 0 0 GIC 38 2400000.ipu
39: 0 0 GIC 39 2800000.ipu
40: 0 8 GIC 40 2800000.ipu
43: 0 1 GIC 43 galcore interrupt service for 2D
44: 0 0 GIC 44 VPU_CODEC_IRQ
50: 0 0 GIC 50 vdoa
52: 0 0 GIC 52 snvs-secvio
54: 0 52 GIC 54 mmc0
56: 0 52 GIC 56 mmc2
57: 0 6270 GIC 57 mmc3
58: 0 2446 GIC 58 2020000.serial
65: 0 0 GIC 65 2010000.ecspi
68: 0 120 GIC 68 21a0000.i2c
69: 0 98 GIC 69 21a4000.i2c
70: 0 10 GIC 70 21a8000.i2c
72: 1 38 GIC 72 2184200.usb
75: 0 0 GIC 75 2184000.usb
79: 0 0 GIC 79 202c000.ssi
81: 0 0 GIC 81 imx_thermal
82: 0 0 GIC 82 asrc
87: 143 0 GIC 87 i.MX Timer Tick
88: 0 0 GIC 88 spiPrinter
89: 0 0 GIC 89 spiPrinter
113: 0 0 GIC 113 20c0000.wdog
134: 0 0 GIC 134 mipi_dsi
137: 0 14 GIC 137 2101000.jr0
138: 0 0 GIC 138 2102000.jr1
139: 0 0 GIC 139 mmdc_1
144: 0 0 GIC 144 mmdc_1
147: 0 0 GIC 147 20e0000.hdmi_video
150: 0 2426 GIC 150 2188000.ethernet
151: 0 0 GIC 151 2188000.ethernet
168: 0 0 gpio-mxc 8 egalax_i2c
192: 0 0 gpio-mxc 0 2198000.usdhc cd
321: 671551 0 gpio-mxc 1 serial
322: 744411 0 gpio-mxc 2 serial
323: 744456 0 gpio-mxc 3 serial
324: 744401 0 gpio-mxc 4 serial
IPI0: 0 0 CPU wakeup interrupts
IPI1: 0 37 Timer broadcast interrupts
IPI2: 12931 10941 Rescheduling interrupts
IPI3: 0 0 Function call interrupts
IPI4: 17 10 Single function call interrupts
IPI5: 0 0 CPU stop interrupts
IPI6: 80 450 IRQ work interrupts
IPI7: 0 0 completion interrupts


Looking forward to anyone’s help.
Thank you.

Labels (3)
0 Kudos
3 Replies

1,770 Views
igorpadykov
NXP Employee
NXP Employee

Hi 其东 刘

this is general linux issue, one can look at suggestions on

linux kernel - Can a hardware generating too many interruptions monopolize a CPU? - Unix & Linux Sta... 

linux - How to limits number of interrupts in a OS? - Stack Overflow 

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

0 Kudos

1,770 Views
864535720
Contributor II

The reply you gave does not describe what twd is. What is twd?

0 Kudos

1,770 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos