Re: Shared Interrupt handling.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Greg,

>  Can someone explain how the kernel figures out which interrupt handler
>  to call when the interrupt line is shared.

It calles them all, until one says it handled the interrupt.


Doesn't the following code in handle_IRQ_event() suggest that ALL the
interrupt handlers are called, IRRESPECTIVE of the return value?

       do {
               ret = action->handler(irq, action->dev_id);
               if (ret == IRQ_HANDLED)
                       status |= action->flags;
               retval |= ret;
               action = action->next;
       } while (action);

Thanks,

Rajat

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux