From: Robert Hancock <hancockr@shaw.ca>
To: Tejun Heo <htejun@gmail.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
IDE/ATA development list <linux-ide@vger.kernel.org>,
linux-acpi@vger.kernel.org, Jeff Garzik <jeff@garzik.org>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
Randy Dunlap <randy.dunlap@oracle.com>
Subject: Re: ATA ACPI needs "Mr interpreter, would you please shut up?" flag
Date: Thu, 13 Dec 2007 23:20:31 -0600 [thread overview]
Message-ID: <4762129F.6060209@shaw.ca> (raw)
In-Reply-To: <47620E5E.5020001@gmail.com>
Tejun Heo wrote:
> Hello, all.
>
> During 2.6.24-rc1, libata enabled ATA-ACPI support by default and there
> have been a lot of regression reports stemming from it. I have patchset
> ready to fix most of the problems. With these patches applied, libata
> should be able to cope with most failures pretty well. There is one
> remaining issue tho.
>
> libata caches the result of _GTM during controller for later use. The
> primary use is to peek at how BIOS configured the controller. Some
> controllers (pata_via and pata_amd) lack proper cable detection and BIOS
> configured values are used as reference. This caching is done before
> any other operation is performed on the port to avoid caching corrupted
> data.
>
> Problem is that _GTM implementation on certain BIOSen crap themselves if
> invoked on empty channels. However, as written above, because initial
> _GTM caching is done before any actual operation is performed on the
> port, libata can't determine whether the port is occupied or not when
> trying to cache _GTM result. Unfortunately, VIA PATA is on both
> categories - it needs _GTM caching but can't cope with _GTM invocation
> on empty ports. Yay!
I seem to have lost the thread/bug report where we decided that one
board always choked on an empty channel. Maybe it's not that and it's
just another case of the same issue where our resetting default timing
values on the controller before calling _GTM would choke the _GTM method?
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/
next prev parent reply other threads:[~2007-12-14 5:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-14 5:02 ATA ACPI needs "Mr interpreter, would you please shut up?" flag Tejun Heo
2007-12-14 5:20 ` Robert Hancock [this message]
2007-12-14 6:28 ` Tejun Heo
2007-12-14 12:17 ` Tejun Heo
2007-12-14 14:02 ` 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=4762129F.6060209@shaw.ca \
--to=hancockr@shaw.ca \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=htejun@gmail.com \
--cc=jeff@garzik.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
/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).