LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Mark Lord <liml@rtr.ca>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>,
	Suleiman Souhlal <ssouhlal@freebsd.org>,
	linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] Make the IDE DMA timeout modifiable
Date: Sat, 14 Jul 2007 00:08:18 +0400	[thread overview]
Message-ID: <4697DBB2.7020507@ru.mvista.com> (raw)
In-Reply-To: <4697D425.7000300@rtr.ca>

Mark Lord wrote:

>>>> O> >>    BTW, why the timeout is so damn long? 2*WAIT_CMD is 20 
>>>> secs, and if DMA is not complete or interrupt pending, it may wait 
>>>> 10 more secs...

> ..

>>> I've lost the original question from this thread, but the idea of the 

>>    The original question concerned specifically the DMA command 
>> timeout which is twice more than the usual one, WAIT_CMD (10 seconds).

>>> longish
>>> timeouts was that drive *may* be spun down ("standby"), and thus have 
>>> to spin
>>> up again to complete media commands.  Back then, drives were much 
>>> slower at
>>> spinning up than nowadays, and the ATA spec says to allow up to 30 
>>> seconds.

>>    Well, that doesn't explain the DMA case.

> When a drive is in standby, we don't send it anything special to wake up.

    Wait, aren't we sending IDLE on resume step 2 -- looking at 
ide-io.cide_start_power_step()?

> Cheers

MBR, Sergei

  parent reply	other threads:[~2007-07-13 20:06 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21  1:19 Suleiman Souhlal
2007-02-21  1:44 ` Bartlomiej Zolnierkiewicz
2007-02-21  2:13   ` Suleiman Souhlal
2007-02-21  2:42     ` Bartlomiej Zolnierkiewicz
2007-06-12 19:11       ` Sergei Shtylyov
2007-06-15 23:23         ` Bartlomiej Zolnierkiewicz
2007-07-10 19:10           ` Sergei Shtylyov
2007-07-13 15:16             ` Alan Cox
2007-07-13 15:12               ` Mark Lord
2007-07-13 15:21                 ` Sergei Shtylyov
2007-07-13 19:36                   ` Mark Lord
2007-07-13 19:40                     ` Sergei Shtylyov
2007-07-13 19:46                       ` Mark Lord
2007-07-13 20:03                         ` Sergei Shtylyov
2007-07-13 21:00                           ` Mark Lord
2007-07-16 19:29                             ` Rogier Wolff
2007-07-17 14:18                               ` Sergei Shtylyov
2007-07-13 20:08                     ` Sergei Shtylyov [this message]
2007-07-13 20:54                       ` Mark Lord
2007-07-13 21:00                         ` Mark Lord

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4697DBB2.7020507@ru.mvista.com \
    --to=sshtylyov@ru.mvista.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=bzolnier@gmail.com \
    --cc=liml@rtr.ca \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ssouhlal@freebsd.org \
    --subject='Re: [PATCH 1/3] Make the IDE DMA timeout modifiable' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).