From: Robert Hancock <hancockr@shaw.ca>
To: Mark Lord <liml@rtr.ca>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
Kyle McMartin <kyle@canonical.com>,
linux-ide@vger.kernel.org, jgarzik@pobox.com,
bcollins@ubuntu.com
Subject: Re: [PATCH] sata_nv: Don't attempt using ADMA for (READ|SET)_MAX commands
Date: Fri, 13 Apr 2007 16:52:38 -0600 [thread overview]
Message-ID: <462009B6.4030406@shaw.ca> (raw)
In-Reply-To: <461FC892.6020602@rtr.ca>
Mark Lord wrote:
> Alan Cox wrote:
>> On Fri, 13 Apr 2007 13:08:31 -0400
>> Kyle McMartin <kyle@canonical.com> wrote:
>>
>>> READ_NATIVE_MAX and SET_MAX were causing timeouts on sata_nv
>>> controllers.
>>> Disabling ADMA helped, but that is quite a large hammer to use.
>>> Reverting
>>> 382a6652e91b34d5480cfc0ed840c196650493d4 also helped, but we might as
>>> well
>>> fix it right, instead of disabling the performance gain on cache flushes
>>> by using ADMA mode.
>>
>> Probably not going to make any performance difference to blacklist all
>> non-data commands or all but a few like cache-flush.
>
> I agree. The Pacific Digital ADMA stuff had some quirks for various
> non-data
> commands as well, and the sensible thing was to just not use ADMA for
> anything
> other than READs/WRITEs and possible CACHE FLUSHes.
I'm told by NVidia that non-data commands should be fine in ADMA mode,
except for those that require reading back a result taskfile (which
can't be done in ADMA mode). The patch in libata-dev which I mentioned
in another email will ensure that we don't try to use ADMA for such
commands, so this patch should not be needed.
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/
prev parent reply other threads:[~2007-04-13 22:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-13 17:08 [PATCH] sata_nv: Don't attempt using ADMA for (READ|SET)_MAX commands Kyle McMartin
2007-04-13 17:19 ` Alan Cox
2007-04-13 18:14 ` Mark Lord
2007-04-13 22:52 ` Robert Hancock [this message]
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=462009B6.4030406@shaw.ca \
--to=hancockr@shaw.ca \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=bcollins@ubuntu.com \
--cc=jgarzik@pobox.com \
--cc=kyle@canonical.com \
--cc=liml@rtr.ca \
--cc=linux-ide@vger.kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).