Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: roman@songdog.eskimo.com (Bill Roman)
To: axp-list@redhat.com
Subject: Re: Sound cards on the Alpha.
Date: Tue, 9 Mar 1999 06:59:59 -0800 (PST)	[thread overview]
Message-ID: <m10KNzE-0000ZvC@songdog> (raw)
In-Reply-To: <m10K0wp-0000aOC@songdog> from "Bill Roman" at Mar 8, 99 06:23:58 am

Yesterday I wrote:
> 
> I've heard that the Ensoniq chip isn't fully PCI compliant -- something
> about incompletely implemented BARs (Base Address Registers, in PCI
> configuration space).  This makes sense in the context of working in
> some slots and not others; it would depend on what resources were
> assigned to the card.
> 
> I'll ask the person who told me this for more details.

Here's the story I got.  I was right about incompletely implemented
registers, but it wasn't the BARs.

First, the Ensoniq 1370 only implements four bits of the PCI
configuration Interrupt Line register.  The PCI-savvy have already
struck their foreheads and exclaimed "DOH!"; for those who haven't
yet made them familiar with all the details, this register is used by
the PCI configuration software to record the IRQ assigned to the card.
Of course four bits are sufficient on an obsolete computer architecture
some of us may be familiar with, but Alpha systems have more IRQs and
thus need more bits.

What this means is that a driver that connects to an interrupt based on
information read from this register may connect to the wrong interrupt.
I confess I haven't traced this down in the source code, so I'm not sure
in detail what the implications are for Linux.  Since the IRQ assigned
to the card depends on the slot it is in, this could conceivably explain
some of the slot-related problems people have reported.

Second, both the 1370 and 1371 are incapable of handling burst
transactions as a target on the PCI bus.  The way they terminate the burst
violates the PCI specification, and thus they hang the bus.  On Alpha, any
quadword access to one of these chips is guaranteed to hang the system.
Multiple accesses without an intervening mb may hang the system (this
depends very much on other intervening accesses).

Finally, there may be some difficulty with the 1371 on Tsunami-based
systems (i.e., all EV6 systems to date).  This is still under
investigation.

-- 
Bill Roman  (roman@songdog.eskimo.com / roman@songdog.uucp)   running linux


  reply	other threads:[~1999-03-09 15:19 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-08  0:38 Sound cards on the Alpha Rob McIlhargie
1999-03-08  1:37 ` Uncle George
1999-03-08  2:11 ` Daniel Potts
1999-03-08  2:40   ` Bob McElrath
1999-03-08  3:09     ` norvierk
1999-03-08  3:29     ` Daniel Potts
     [not found]     ` <Pine.OSF.3.95.990308142255.5727G-100000@paulaner.disy.cse. unsw.EDU.AU>
1999-03-08  6:41       ` Maurice Hilarius
1999-03-08 10:18         ` Uncle George
1999-03-08 14:23         ` Bill Roman
1999-03-09 14:59           ` Bill Roman [this message]
1999-03-09 20:18             ` Bob McElrath
1999-03-10  5:26               ` Daniel Potts
1999-03-10 14:23                 ` Bill Roman
1999-03-08 23:19         ` Daniel Potts
1999-03-09  4:46         ` Ed Hall
1999-03-09  7:34         ` norvierk
     [not found]         ` <Pine.OSF.3.95.990309101412.9828B-100000@paulaner.disy.cse. unsw.EDU.AU>
1999-03-11  5:38           ` Maurice Hilarius
1999-03-12  6:44             ` Bob McElrath
1999-03-15 15:00     ` Guenter Geiger
     [not found]   ` <Pine.LNX.4.04.9903072038480.1944-100000@draal.physics.wisc .edu>
1999-03-08  6:40     ` Maurice Hilarius
1999-03-08 23:10       ` Daniel Potts
     [not found] ` <Pine.OSF.3.95.990308130729.5727A-100000@paulaner.disy.cse. unsw.EDU.AU>
1999-03-08  6:39   ` Maurice Hilarius
1999-03-08 10:24     ` Uncle George
1999-03-08 16:50     ` Guenter Geiger
1999-03-08 17:04       ` Maurice Hilarius
  -- strict thread matches above, loose matches on Subject: below --
1999-03-08  2:00 Arkadiy Chapkis - Arc
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox