From: Bob McElrath <mcelrath@draal.physics.wisc.edu>
To: Bill Roman <roman@songdog.eskimo.com>
Cc: axp-list@redhat.com
Subject: Re: Sound cards on the Alpha.
Date: Tue, 9 Mar 1999 14:18:03 -0600 (CST) [thread overview]
Message-ID: <Pine.LNX.4.04.9903091406320.1086-100000@draal.physics.wisc.edu> (raw)
In-Reply-To: <m10KNzE-0000ZvC@songdog>
On Tue, 9 Mar 1999, Bill Roman wrote:
> 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.
4 bits would only encode values 0-15, so does that imply that the es137?'s
need an interrupt vector of 15 or less? On my LX164 alpha, <15 is assigned
to the ISA bridge (I think...) the lowest IRQ I can get for the thing is
16... lspci -v reports:
00:06.0 Class 0401: 1274:5000 (rev 01)
Subsystem: 4942:4c4c
Flags: bus master, slow devsel, latency 32, IRQ 16
I/O ports at 8800
Does this mean that when the card is done playing a block, it issues an
interrupt DIFFERENT than 16? I can see how that might cause a hang if the
interrupt was used by a different piece of hardware. Any sane interrupt
handler should handle the spurious interrupt case though, so I suspect your
second "quirk" below.
> 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).
Ugh. Now I wish I hadn't bought one of these beasts. How does one acheive
quadword transactions (4*16-bit=64-bit) on the 32-bit PCI bus? If quadword
transactions are being used, it must be by the DMA chip, since the driver
never does any direct data transfer with the card.
Looks like the fix to this will involve pouring over the PCI spec, and the
DMA chip's spec. Too bad all this info isn't in the ES1370 docs. But of
course, what chip manufacturer is going to put "our chip violates all known
standards" right in their documentation?
> 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.
thanks for the help,
-- Bob
Bob McElrath (rsmcelrath@students.wisc.edu) Univ. of Wisconsin at Madison
next prev parent reply other threads:[~1999-03-09 20:24 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
1999-03-09 20:18 ` Bob McElrath [this message]
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