From: Kurt Garloff <garloff@suse.de>
To: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Linux kernel list <linux-kernel@vger.kernel.org>,
linux-alpha@vger.kernel.org,
Jay Estabrook <Jay.Estabrook@compaq.com>
Subject: Re: IDE DMA on AXP & barriers
Date: Fri, 7 Dec 2001 18:02:14 +0100 [thread overview]
Message-ID: <20011207180214.D14011@garloff.etpnet.phys.tue.nl> (raw)
In-Reply-To: <20011206061315.J13427@garloff.etpnet.phys.tue.nl> <20011206125935.A3930@jurassic.park.msu.ru> <20011207132505.B4229@garloff.etpnet.phys.tue.nl> <20011207170341.A9959@jurassic.park.msu.ru> <20011207154815.A14011@garloff.etpnet.phys.tue.nl> <20011207194347.A2718@jurassic.park.msu.ru>
In-Reply-To: <20011207194347.A2718@jurassic.park.msu.ru>
[-- Attachment #1: Type: text/plain, Size: 2197 bytes --]
Hi Ivan, Jay,
[stripped the distributor's lists from Cc: again; I just wanted the patch to
reach lots of people that can potentially test.]
On Fri, Dec 07, 2001 at 07:43:47PM +0300, Ivan Kokshaysky wrote:
> On Fri, Dec 07, 2001 at 03:48:15PM +0100, Kurt Garloff wrote:
> > Hey, where did you find that manual? I could not find one at Compaq's web
> > site.
>
> IIRC, few years ago someone posted a link on axp-list, and I picked it up.
> Anyway, I've placed it on
> ftp://ftp.park.msu.ru/ink/docs/21174_SI.pdf
Got it, thanks!
> > How do I recognize the broken PYXIS in software? (Except for waiting for
> > your hard disk to be corrupted?)
>
> Put the chip into PCI loopback mode, read some memory (crossing the
> page boundary) via direct PCI window and check for corruption -
> perhaps this will work.
I guess the manual will tell me how to do that ...
> > Or should I just put an #ifdef CONFIG_ALPHA_PYXIS in my patch?
> > What about the users of generic alpha kernels?
>
> #ifdef CONFIG_ALPHA_PYXIS won't work for them.
That's why I'm looking for something better ...
But on a generic kernel, we have to do a number of things, then:
* Detect PYXIS
* Set into PCI loopback
* Do the cross 8k DMA read
* Set flag if corruption
(And even this test is not completely perfect, as only devices on the
primary PCI bus seem to be affected.)
> > Or a config option?
>
> Maybe...
Runtime detection is better of course. Think of distributors ...
On the other hand, the workaround does not hurt performance as far as I could
measure. For reading data from disk (i.e. DMAing to memory), the patch does
not do anything. For writing to disk, I make 16 or 17 PDR segments from 4,
but bonnie would not tell me any difference in performance.
So doing it on every PYXIS would also be an option.
> Jay, your opinion? Perhaps you have the info which systems are affected?
... and how they can be identified.
Thanks,
--
Kurt Garloff <garloff@suse.de> Eindhoven, NL
GPG key: See mail header, key servers Linux kernel development
SuSE GmbH, Nuernberg, DE SCSI, Security
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2001-12-07 17:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-06 5:13 Kurt Garloff
2001-12-06 9:59 ` Ivan Kokshaysky
2001-12-07 12:25 ` Kurt Garloff
2001-12-07 14:03 ` Ivan Kokshaysky
2001-12-07 14:48 ` Kurt Garloff
2001-12-07 16:43 ` Ivan Kokshaysky
2001-12-07 17:02 ` Kurt Garloff [this message]
2001-12-07 18:50 ` Jay Estabrook
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=20011207180214.D14011@garloff.etpnet.phys.tue.nl \
--to=garloff@suse.de \
--cc=Jay.Estabrook@compaq.com \
--cc=ink@jurassic.park.msu.ru \
--cc=linux-alpha@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
all inboxes | Powered by JetHome®