Re: Doubt on Interrupt sharing

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Jul 18, 2007 at 04:14:36PM +0200, hinko.kocevar@xxxxxxxxxxxx wrote:
> Erik Mouw wrote:
>> When two or more devices share an IRQ line, the kernel calls the first
>> ISR for that line. When the first IRQ returns IRQ_HANDLED, the kernel
>> won't call the ISR for the second device until one ISR returns
>> IRQ_HANDLED.
>
> I'm not quite sure I understand this. I had the impression that if (with 
> shared interrupt lines) one interrupt routine exits with IRQ_HANDLED 
> interrupt is considered handled by the kernel (set aside the procedure to 
> disable the interrupt in the device itself). Only when certain interrupt 
> routine returns IRQ_NONE another interrupt routine can then try to service 
> the same pending interrupt!?!?

That's exactly what I meant, but you put it in a better way :)


Erik

- -- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGnnW9/PlVHJtIto0RAjSQAJ45Deedg/YET+2Yie7mXGPOsGUJQQCfebtq
ue9cbfmmxeD9r/SBQPtmq80=
=5CkJ
-----END PGP SIGNATURE-----

--
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