Re: To Check if interrupt is lowered

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

 



u mean u can't know ur interrupt handler run? your driver register_irq
right? request_irq success?

if u can't control the custom 's driver ,how do u debug? OR u may be
debug in kernel IRQ routine do_IRQ function, find the device irq
number and debug if receive this interrupt.


2008/12/15 Greg KH <greg@xxxxxxxxx>:
> On Sun, Dec 14, 2008 at 06:58:49PM -0600, Asim wrote:
>> Thanks Greg for your reply.
>>
>> I just want to know if the ISR lowered the interrupt atleast once
>> after entering the ISR. I want to find this out without reading the
>> device's register. I realize the problem that there still may be a
>> pending interrupt when I do this check which can cause some problems.
>>
>> I have a custom device which does not respond properly, if there is an
>> interface for this it would help me grately since I have no control to
>> change the device.
>
> Sounds like a very broken device, if you can't read form the device, how
> are you supposed to know?
>
> I really don't know how to do this, sorry, good luck.
>
> greg k-h
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>

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