From: Tejun Heo <htejun@gmail.com>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: linux-ide@vger.kernel.org, robbat2@gentoo.org
Subject: Re: [PATCH 1/2] ahci: preserve PORTS_IMPL over host resets
Date: Fri, 06 Oct 2006 00:02:39 +0900 [thread overview]
Message-ID: <45251E8F.5000401@gmail.com> (raw)
In-Reply-To: <4524EC09.2070608@pobox.com>
Jeff Garzik wrote:
> Tejun Heo wrote:
>> Instead of writing 0xf blindly, preserve the content of write-once
>> PORTS_IMPL register over host resets.
>>
>> This patch is taken from Jeff Garzik's AHCI init update patch.
>>
>> Signed-off-by: Tejun Heo <htejun@gmail.com>
>> Cc: Jeff Garzik <jgarzik@pobox.com>
>
> One reason why I didn't go ahead and apply this is for
> uninitalized-by-BIOS cases that are the reason I originally hardcoded a
> 0xf value into the register.
>
> This patch is OK, iff we also include a test to see if impl_save==0
> prior to global reset. If that is the case, we should hardcode 0xf or
> (1<<n_ports)-1
Will do.
--
tejun
prev parent reply other threads:[~2006-10-05 15:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-30 12:21 [PATCH 1/2] ahci: preserve PORTS_IMPL over host resets Tejun Heo
2006-09-30 12:22 ` [PATCH 2/2] [PATCH] ahci: honor PORTS_IMPL on ICH8s Tejun Heo
2006-09-30 16:13 ` Robin H. Johnson
2006-10-05 11:25 ` Jeff Garzik
2006-10-05 15:12 ` Tejun Heo
2006-10-05 11:27 ` [PATCH 1/2] ahci: preserve PORTS_IMPL over host resets Jeff Garzik
2006-10-05 15:02 ` Tejun Heo [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=45251E8F.5000401@gmail.com \
--to=htejun@gmail.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=robbat2@gentoo.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).