From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.44.254]) by listman.redhat.com (Postfix) with ESMTP id C06383F036 for ; Fri, 7 Dec 2001 11:44:26 -0500 (EST) Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id fB7GiQp21400 for ; Fri, 7 Dec 2001 11:44:26 -0500 Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id fB7GiQe24252 for axp-list@listman.redhat.com; Fri, 7 Dec 2001 11:44:26 -0500 Received: from jurassic.park.msu.ru (jurassic.park.msu.ru [195.208.223.243]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id fB7GiOw24242 for ; Fri, 7 Dec 2001 11:44:24 -0500 Received: (from ink@localhost) by jurassic.park.msu.ru (8.11.6/8.11.2) id fB7Ghli03077; Fri, 7 Dec 2001 19:43:47 +0300 Date: Fri, 7 Dec 2001 19:43:47 +0300 From: Ivan Kokshaysky To: Kurt Garloff , Linux kernel list , linux-alpha@vger.kernel.org, debian-alpha@lists.debian.org, axp-list@redhat.com, suse-axp@suse.com Cc: Jay Estabrook Subject: Re: IDE DMA on AXP & barriers Message-ID: <20011207194347.A2718@jurassic.park.msu.ru> References: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011207154815.A14011@garloff.etpnet.phys.tue.nl>; from garloff@suse.de on Fri, Dec 07, 2001 at 03:48:15PM +0100 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Fri, Dec 07, 2001 at 03:48:15PM +0100, Kurt Garloff wrote: > > Hmm, it seems to be a pyxis bug; the hardware workaround exists, but > > I guess that it might be not implemented properly on early miatas. > > This also explains why I don't have that problem on lx164 and sx164. > > >From pyxis manual: > > "A.1 Read Page Problem > > PCI DMA reads that attempt to cross 8K page boundaries cause data corruption > > problems. A fix has been implemented with an Altera 7032 and two Pericom > > PI5C3400 bus switches and a diode." > > 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 > 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. > Unfortunately, I see no 21174 on my PCI bus where I could just check the > revision. Checking the revision won't help - that bug should be fixed with some off-chip logic. > 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. > Or a config option? Maybe... Jay, your opinion? Perhaps you have the info which systems are affected? Ivan.