Re: [RFC][PATCH] at91_ide driver

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

 



Thursday 22 January 2009 10:44:10 Sergei Shtylyov napisał(a):
> Hello.
> 
> Stanislaw Gruszka wrote:
> 
> >>    Besides, we have ide_timing_compute() doing the same thing.
> >>     
> > I'm trying use it, but have too bigger results - 1 or 2 cycles is added.
> >   
> 
>    That's most probably because ide_timing_compute() assumes non-zero 
> minimum recovery time for PIO modes 0 to 2 (libata does the same) -- 
> that actually smells of over-caution. It then tries to stretch the 
> active time if the sum of active and recovery times is less than cycle 
> time (all quantized already).
Hmm, why active time is stretched. IMHO it is better to stretch inactive
time (t2i), such it can be divided into setup (t1) and recovery time (t9 with t6z).
Otherwise sum of t1 + t2 + max(t9, t2i -  t1)  will be longer than cycle time t0.

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