Re: ahci Port to Host interrupt as edge trigger

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

 



> Hi ,
>
> I need some suggestion .
>
> From the below interrupt handler in libahci.c it explains that the
> interrupt from port to Host is level  triggered. Do we have any
> existing implementation that handles the port to Host as Edge
> triggered.

Not that I know of but if it works as a edge triggered latch, would it
need anything done different?

 We met a scenario which explains the below :

1. PxIS0 raised set to 1 and Host IS detects a level . After some
interval PxIS1  raised and Host IS  detects a level and interrupt
service routine clear and it work. This is as per the libahci
implementation

2. PxIS0 set to 1 and Host IS detects a edge . After some interval
PxIS1 raised and Host IS detects a edge but ISR  implementation is
level trigger so it looses interrupts.  Was asking about this scenario
??

On Fri, Apr 17, 2015 at 8:12 PM, Tejun Heo <tj@xxxxxxxxxx> wrote:
> On Fri, Apr 17, 2015 at 04:22:17PM +0530, Suman Tripathi wrote:
>> Hi ,
>>
>> I need some suggestion .
>>
>> From the below interrupt handler in libahci.c it explains that the
>> interrupt from port to Host is level  triggered. Do we have any
>> existing implementation that handles the port to Host as Edge
>> triggered.
>
> Not that I know of but if it works as a edge triggered latch, would it
> need anything done different?
>
> --
> tejun



-- 
Thanks,
with regards,
Suman Tripathi
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux