LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, jeff@garzik.org
Subject: Re: [PATCH] libata_acpi: A different strategy for using ACPI information
Date: Wed, 04 Jul 2007 12:49:19 +0900 [thread overview]
Message-ID: <468B18BF.6040207@gmail.com> (raw)
In-Reply-To: <20070703155417.11d81c75@the-village.bc.nu>
Alan Cox wrote:
> Lots of BIOSen simply return the BIOS set modes via the ACPI methods and
> pass back the values you give it across suspend/resume. Thus instead of
> trying to do clever stuff with this data we instead use it as a way to
> take a sneak peak at cable type information when viable. This should help
> us catch more of the laptops that do weird stuff, the VIA SATA bridges
> and the totally horked Nvidia cable handling.
>
> For now its only used by the VIA and AMD/NV driver until we get a better
> idea of whether this is a sensible idea or not.
>
> Opinions ?
If you don't do _STM first, it basically boils down to reading BIOS
setting during boot. Over suspend/resume cycle, the values are
preserved by libata-acpi. At this point, I think honoring the BIOS
setting is the right thing to do. It just took us too long and I'm not
too sure about using ACPI for this. It's generic so it's certainly
better in some aspect. It's just a bit obfuscating, IMHO.
--
tejun
next prev parent reply other threads:[~2007-07-04 3:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-03 14:54 [PATCH] libata_acpi: A different strategy for using ACPI information Alan Cox
2007-07-04 3:49 ` Tejun Heo [this message]
[not found] <fa.rEwk8NvbygVfpOfb23QZ97ZMeXs@ifi.uio.no>
2007-07-03 23:53 ` Robert Hancock
2007-07-04 9:49 ` Alan Cox
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=468B18BF.6040207@gmail.com \
--to=htejun@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=jeff@garzik.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@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).