FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5232 Discussions

Sending interrupts from FPGA to HPS

dbhag2
Beginner
395 Views

Hi,

 

I have upgraded kernel from 3.10 to 4.14 and I am having some troubles with getting the interrupts from the FPGA.

 

I can see, when I do "cat /proc/interrupts" my kernel modules are not getting the interrupts from GIC as they used to from the older kernel but is now receiving from gpio-dwapb (See image 1 and 2).

 

I tried to add the registers in the hps2fpga bridge entry in the device tree but that did not work. the link to my device tree is this;

https://0bin.net/paste/8deiVzEvsn8otNyd#wK7Rnp41DDCYwKAqSXG+VBSXF23o+hbTTSrp4oAXtE-

 

And this is the c code of one of my kernel modules which receives interrupts from the fpga.

https://0bin.net/paste/4zAv89RPh3U85kdI#zugZa4gRytL+il0Gnoi9-GKUkqRx1sgj/kOCR03o9SH

 

I would be grateful if someone could tell me where the mistake is

 

Kind Regards,

 

Dev

0 Kudos
2 Replies
Fawaz_J_Intel
Employee
260 Views

Hello,

did you recompile your kernel module on 3.14 kernel?

 

changing from one kernel to another, specially major upgrade, might affect the module performance and functionality.

unfortunately, we have limited support on custom kernel modules.

I will try to find as much information as I can.

 

 

Thank you.

 

SimoneBo
Beginner
190 Views

Hello @dbhag2 ,

I'm having the same issue with 4.14 kernel.

Have you find a solution?

 

Thanks in advance,

Simone

 

Reply