UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor
Contributor
3,784 Views
Registered: ‎03-06-2009

Acknowledging Interrupts

All,

 

I have written a custom device driver for a peripheral contained with a Virtex 4 FPGA.  I have and interrupt that fires when a FIFO becomes full.  I would like to know at what levels do I need to explicitly acknowledge this interrupt or does the linux kernel and associated driver for the Xilinx interrupt controller handle acknowledgement?  More specifically,  do I need code to acknowledge the interrupt at the IP level, the Device level, and at the interrupt controller level?

 

-David 

0 Kudos
1 Reply
Xilinx Employee
Xilinx Employee
3,778 Views
Registered: ‎09-10-2008

Re: Acknowledging Interrupts

Hi David,

In general the kernel takes care of the interrupt controller. You just need to take care of the IP in the handlers assuming you connect the handlers to the kernel with the request_irq call.

Our emaclite driver is not a bad example as it's not real big (drivers/net/xilinx_emaclite.c).

Thanks.
0 Kudos