mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jay Estabrook <Jay.Estabrook@compaq.com>
To: Sven Koch <haegar@sdinet.de>
Cc: George France <france@handhelds.org>,
	Martin Brulisauer <martin@uceb.org>,
	linux-kernel@vger.kernel.org
Subject: Re: kbuild 2.5.26 - arch/alpha
Date: Tue, 23 Jul 2002 17:24:45 -0400	[thread overview]
Message-ID: <20020723172445.A2988@linux04.mro.cpqcorp.net> (raw)
In-Reply-To: <Pine.LNX.4.44.0207232103120.16191-100000@space.comunit.de>; from haegar@sdinet.de on Tue, Jul 23, 2002 at 09:08:26PM +0200

On Tue, Jul 23, 2002 at 09:08:26PM +0200, Sven Koch wrote:
> 
> I am using Stock 2.4.19-rc2 with the following simple patch on an xl-300
> with milo:
> (without it, it breaks while initalizing the ncr-scsi-controller)
> 
> --- linux/arch/alpha/kernel/core_cia.c.orig	Sun Oct 21 19:30:58 2001
> +++ linux/arch/alpha/kernel/core_cia.c	Fri Jul 19 16:11:46 2002
> @@ -382,10 +382,10 @@
>  	for (i = 0; i < CIA_BROKEN_TBIA_SIZE / sizeof(unsigned long); ++i)
>  		ppte[i] = pte;
> 
> -	*(vip)CIA_IOC_PCI_W1_BASE = CIA_BROKEN_TBIA_BASE | 3;
> -	*(vip)CIA_IOC_PCI_W1_MASK = (CIA_BROKEN_TBIA_SIZE*1024 - 1)
> +	*(vip)CIA_IOC_PCI_W3_BASE = CIA_BROKEN_TBIA_BASE | 3;
> +	*(vip)CIA_IOC_PCI_W3_MASK = (CIA_BROKEN_TBIA_SIZE*1024 - 1)
>  				    & 0xfff00000;
> -	*(vip)CIA_IOC_PCI_T1_BASE = virt_to_phys(ppte) >> 2;
> +	*(vip)CIA_IOC_PCI_T3_BASE = virt_to_phys(ppte) >> 2;
>  }
> 
>  static void __init

Yes, this will help on XLT-300.

What this patch does is revert the code to an older version which uses
PCI DMA window #3 for the scatter/gather operations, thus avoiding the
use of window #1 for that operation.

On older machines like the XLT-300 and EB164, their core logic, CIA
Rev 1, appears to have a bug in that PCI DMA windows #1 and #2 cannot
be used for scatter/gather. Boxes based on CIA rev 2, and PYXIS, do
not have the same problem.

The patches I attached to an earlier posting essentially do this for
the rev 1 CIA machines, but leave active the code for dual-address
cycle (DAC) support for the CIA rev 2  and PYXIS based machines.

 --Jay++

-----------------------------------------------------------------------------
Jay A Estabrook                            HPTC - LINUX support
Hewlett-Packard Company - MRO1-2/K15       (508) 467-2080
200 Forest Street, Marlboro MA 01752       Jay.Estabrook@hp.com
-----------------------------------------------------------------------------

  reply	other threads:[~2002-07-23 21:25 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-21 13:54 Martin Brulisauer
     [not found] ` <001101c230d7$c5973c40$1211a8c0@pitzeier.priv.at>
2002-07-23 12:42   ` Martin Brulisauer
2002-07-23 13:28     ` Jan-Benedict Glaw
2002-07-23 23:34       ` Oliver Pitzeier
2002-07-24  6:53         ` Thunder from the hill
2002-07-24  7:07           ` Thunder from the hill
2002-07-24  7:13           ` Martin Brulisauer
2002-07-24  7:45             ` Thunder from the hill
2002-07-26  9:47       ` [alpha 2.5.28] " Ivan Kokshaysky
2002-07-23 15:05     ` George France
2002-07-23 16:24       ` Ghozlane Toumi
2002-07-23 17:01       ` Martin Brulisauer
2002-07-23 19:00         ` George France
2002-07-23 19:08           ` Sven Koch
2002-07-23 21:24             ` Jay Estabrook [this message]
2002-07-23 20:18           ` Jay Estabrook
2002-07-23 23:44           ` Oliver Pitzeier
2002-07-23 23:35     ` Oliver Pitzeier
2002-07-23 23:54 ` Oliver Pitzeier
2002-07-24  3:51   ` Thunder from the hill
     [not found] <002b01c23279$84be70a0$1211a8c0@pitzeier.priv.at>
     [not found] ` <02072318292300.02533@shadowfax.middleearth>
2002-08-09 10:00   ` Martin Brulisauer
2002-08-09 14:23     ` George France
2002-08-09 17:51     ` Måns Rullgård
2002-08-09 21:03     ` Thunder from the hill
     [not found] <20020723202538.NYJJ13064.tomts23-srv.bellnexxia.net@there>
     [not found] ` <001701c2329b$a812f6d0$1211a8c0@pitzeier.priv.at>
2002-07-23 23:26   ` Martin Brulisauer
     [not found] <3D3DF93C.16904.30BF311@localhost>
     [not found] ` <001a01c2329d$6d588fd0$1211a8c0@pitzeier.priv.at>
2002-07-23 23:21   ` Martin Brulisauer
  -- strict thread matches above, loose matches on Subject: below --
2002-07-20  8:41 Martin Brulisauer

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=20020723172445.A2988@linux04.mro.cpqcorp.net \
    --to=jay.estabrook@compaq.com \
    --cc=france@handhelds.org \
    --cc=haegar@sdinet.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin@uceb.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®