From: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
To: Tejun Heo <htejun@gmail.com>
Cc: Daniel J Blueman <daniel.blueman@gmail.com>,
Mark Lord <lkml@rtr.ca>,
jgarzik@pobox.com, linux-ide@vger.kernel.org,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: ICH8 CF timeout (regression)...
Date: Mon, 6 Aug 2007 10:28:36 -0700 [thread overview]
Message-ID: <20070806102836.ea157fed.kristen.c.accardi@intel.com> (raw)
In-Reply-To: <46B41706.4080008@gmail.com>
On Sat, 04 Aug 2007 15:04:54 +0900
Tejun Heo <htejun@gmail.com> wrote:
> Daniel J Blueman wrote:
> > Tejun,
> >
> > On 03/08/07, Tejun Heo <htejun@gmail.com> wrote:
> >> Daniel J Blueman wrote:
> >>> The ICH8 south-bridge I have is the mobile variant and does come
> >>> equipped with native parallel IDE - see page 447:
> >>> http://download.intel.com/design/chipsets/datashts/31305603.pdf . I do
> >>> see 35MB/s with DMA enabled from my CF on the 1 in 15 times the
> >>> libata-kernel does work.
> >>>
> >>> I can dump off and decode the configuration registers for the timing
> >>> and bus master registers in the working and non-working libata cases,
> >>> and the legacy ATA working case and see what's different.
> >> Does the attached patch change anything?
> >
> > This addresses the issue 100%!
> >
> > Due to the differences between the ICH8 non-mobile and mobile
> > variants, I've cooked the change into a new initialisation structure
> > for the ICH8M in the attached patch, if that helps at all.
> >
> > The changes thus affect (correct) behaviour on the ICH8M in IDE mode
> > only...so should be safe for inclusion. There may be a similar
> > situation with ICH9Ms also.
>
> [cc'ing Kristen, hello]
>
> I think [P0 P2 IDE IDE] is correct for MAP 01b but can't find anything
> about it in the datasheet or spec update. Kristen, can you please
> verify this. The following bug is also fixed by using [P0 P2 IDE IDE].
>
> http://bugzilla.kernel.org/show_bug.cgi?id=8809
>
> Thanks.
>
> --
> tejun
>
In the data sheet in section 5.15.2.3 it describes a value of map.mv of
1 as meaning that the SATA controller is emulating the logical secondary
channel, and the PATA channel will be the primary. For a value of
map.mv == 2, we have the SATA controller being primary, and the PATA
is secondary. So, if I'm understanding the way ata_piix does mapping,
it seems like for a value of 2, we should have [p0, p2, ide, ide] and
for a value of 1 we should have [ide, ide, p0, p2] - although for ICH8M
it seems like 1 should not be a valid value. My reading the ICH8 spec is
that ICH8M only implements a map value of 2, and 1 should be reserved
(see section 12.1.33).
next prev parent reply other threads:[~2007-08-06 17:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-02 10:48 Daniel J Blueman
2007-08-02 16:59 ` Tejun Heo
2007-08-02 21:11 ` Daniel J Blueman
2007-08-02 22:42 ` Mark Lord
2007-08-03 10:22 ` Daniel J Blueman
2007-08-03 10:41 ` Tejun Heo
2007-08-03 22:38 ` Daniel J Blueman
2007-08-04 6:04 ` Tejun Heo
2007-08-06 17:28 ` Kristen Carlson Accardi [this message]
2007-08-06 17:36 ` Tejun Heo
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=20070806102836.ea157fed.kristen.c.accardi@intel.com \
--to=kristen.c.accardi@intel.com \
--cc=daniel.blueman@gmail.com \
--cc=htejun@gmail.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@rtr.ca \
/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
all inboxes | Powered by JetHome®