cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nag.chil
Observer
Observer
3,154 Views
Registered: ‎03-29-2016

Problem in PCIe Interrupts

Hey iam facing some problem in interrupts, so can u say what the problem may be

 

Before loading kernel module:

from lspci: INT A-->11

from config read : INT A-->11

from /proc/interrupts : Nothing because irq not registerd

 

After loading kernel module:

from lspci: INT A-->16

from config read : INT A-->11

from /proc/interrupts : INT 11 registerd

 

When i run the program in FPGA it was sending interrupt to IRQ-16 and saying no body cared and it was disabled.

 

in my module_init:

request_irq(dev->gIrq, XPCIe_IRQHandler, IRQF_SHARED, gDrvrName, gDev));


My irq handler:

static irqreturn_t XPCIe_IRQHandler(int irq, void *dev_id, struct pt_regs *regs)
{    return IRQ_HANDLED; }

0 Kudos
Reply
0 Replies