From: Alan <alan@lxorguk.ukuu.org.uk>
To: Tejun Heo <htejun@gmail.com>
Cc: bzolnier@gmail.com, linux-ide@vger.kernel.org
Subject: Re: [PATCH] amd74xx: don't configure udma mode higher than BIOS did
Date: Mon, 5 Feb 2007 13:22:47 +0000 [thread overview]
Message-ID: <20070205132247.6f611e3c@localhost.localdomain> (raw)
In-Reply-To: <45C72012.7050605@gmail.com>
> If BIOS hasn't run, UDMA timing wouldn't have been programmed and as
> such the speed won't be limited. So, there should be no harm done in
> that case. Even if something goes really wrong, the worst happens is
> capping speed to udma33.
Which is bad and leaves people with mysterious performance problems that
randomly appear in a new release. You have error handling code that will
do UDMA change down, you've fixed the disk side detect. We don't need to
destroy the pata_amd driver as well nor the IDE AMD driver.
You get whatever the chip has loaded. The BIOS may pick PIO modes only,
the BIOS may not have been run so the UDMA bits could be arbitary. You
may even get wrongly capped values.
Also another case you broke is kexec.
> So, I think the benefit (correct configuration on most machines) easily
> outweighs the danger (incorrectly capping speed to working udma33 on
> non-PC).
Yours is the first complaint I've seen about this hardware detection in
*THREE* years. Its a bigger problem with libata but thats because of the
drive side detect and also because currently we work on the basis in
libata that host side detect defines cable, while old ide (when behaving
and correctly working) works on the basis that if the host says 80wire and
the drive says 40 wire (or vice versa) then its 40.
Alan
next prev parent reply other threads:[~2007-02-05 13:09 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-05 7:58 [PATCH] amd74xx: don't configure udma mode higher than BIOS did Tejun Heo
2007-02-05 11:24 ` Alan
2007-02-05 12:16 ` Tejun Heo
2007-02-05 12:33 ` Tejun Heo
2007-02-05 13:24 ` Alan
2007-02-05 14:17 ` Tejun Heo
2007-02-05 13:22 ` Alan [this message]
2007-02-05 14:07 ` Tejun Heo
2007-02-05 14:34 ` Nvidia cable detection problems (was [PATCH] amd74xx: don't configure udma mode higher than BIOS did) Alan
2007-02-05 14:50 ` Tejun Heo
2007-02-05 15:49 ` Alan
[not found] ` <58cb370e0702050709w1b7682dr5dff9e7ce69465a@mail.gmail.com>
2007-02-05 17:08 ` Allen Martin
2007-02-05 18:12 ` Alan
2007-02-05 18:36 ` Tejun Heo
2007-02-05 18:55 ` Bartlomiej Zolnierkiewicz
2007-02-05 19:15 ` Tejun Heo
2007-02-05 21:27 ` Bartlomiej Zolnierkiewicz
2007-02-05 22:02 ` Alan
2007-02-05 22:00 ` Bartlomiej Zolnierkiewicz
2007-02-05 19:13 ` Alan
2007-02-05 21:43 ` Jeff Garzik
2007-02-05 15:32 ` [PATCH] amd74xx: don't configure udma mode higher than BIOS did Sergei Shtylyov
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=20070205132247.6f611e3c@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=bzolnier@gmail.com \
--cc=htejun@gmail.com \
--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