title: IRQ Handling from User Space Linux
body: <p>I'm writting a driver for a synthesized device in an FPGA. The device has several IRQs and have requested them on my driver:</p>
  
  <pre><code>irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
  rc = request_irq(irq, &amp;Custom_driver_handler,IRQF_TRIGGER_RISING , DRIVER_NAME, base_addr);
  </code></pre>
  
  <p>My problem is that i want that the irq_handler calls a function of an user space application. Is there any way to call my user space application from the irq_handler of the driver on kernel space??</p>
  
  <p>I know i could save a flag from the driver and mmap its direction from the user application to polling it, but what i want to know is if there is any faster/more correct way. </p>
  
  <p>Thank you in advance</p>