Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RE: [Fwd: Bus arbitration on Alpha]
@ 1997-09-24 21:39 Kelvin Lunsford
  0 siblings, 0 replies; 4+ messages in thread
From: Kelvin Lunsford @ 1997-09-24 21:39 UTC (permalink / raw)


It is my understanding that all memory mapped PCI transfers 
on all but the very newest Alpha machines must be 32 bits or greater
and aligned to a 32 bit boundry.  For doing 8 bit transfers it's better to 
have the device I/O mapped.  If you are stuck with memory mapping 
then use an intermediate buffer to align the transfers.

The new Alpha chips when used with the new core logic chips on the new
motherboards will allow byte/word accesses into memory mapped PCI 
space if the feature is enabled by the new software, so ...    don't count on it.

Kelvin Lunsford, kelvin@qantel.com

Ivan Passos [SMTP:ivan@cyclades.com] wrote:
>I am porting the Cyclades-Z multiport card driver to the Linux/Alpha 
>and I'm having several problems with that, due to the card mapping 
>(it's a memory-mapped card ...). Also, this card is an intelligent 
>card with an MIPS3000-compatible RISC processor.
>
>I finally got the board to receive data with no problems, but whenever 
>I uncomment the transmission code, the machine locks completely.
>
>The only thing I'm currently trying to do (in regards to transmission) 
>is read the tx_get, the tx_put and the tx_bufsize from the dual port 
>memory and doing some calculation (to check the available space in 
>the transmission buffer). If I comment out this line, the machine does 
>not halt. If I uncomment it, the machine locks completely. This is a 
>pretty basic operation and I don't understand why it is locking the
>machine. 
>
>Since the same code is working in the Intel platform, I thought about 
>bus arbitration problems between the MIPS3000 CPU and the Alpha 
>(because the firmware running in the Cyclades-Z on-board RAM keeps 
>accessing these pointers to see if there is any data to transmit and, 
>if there is any detail about bus arbitration in the Alpha that I don't 
>know, it would explain the machine lockups).
>
>Does anyone there know anything about this ??? I am in a deadlock 
>right now and I have no other idea on how to solve this.

>If anyone willing to help needs some additional information, please
>contact me directly at <ivan@cyclades.com> .
>
>Thank you very much in advance for all your help.
>
>Regards,
>-- 
>*******************************************************************
>Cyclades Corporation                   Tel.: (510)770-9727 ext. 202
>Ivan Passos                       E-mail : mailto:ivan@cyclades.com
>Software Engineer                     WWW : http://www.cyclades.com
>*******************************************************************

begin 600 WINMAIL.DAT
M>)\^(B<5`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$-@ 0`
M`@````(``@`!!) &`!P!```!````# ````,``# #````"P`/#@`````"`?\/
M`0```$4`````````@2L?I+ZC$!F=;@#=`0]4`@````!A>' M;&ES=$!R961H
M870N8V]M`%--5% `87AP+6QI<W1 <F5D:&%T+F-O;0`````>``(P`0````4`
M``!33510`````!X``S !````% ```&%X<"UL:7-T0')E9&AA="YC;VT``P`5
M# $````#`/X/!@```!X``3 !````%@```"=A>' M;&ES=$!R961H870N8V]M
M)P````(!"S !````&0```%--5% Z05A0+4Q)4U1 4D5$2$%4+D-/30`````#
M```Y``````L`0#H!`````@'V#P$````$`````````Y<R`0B !P`8````25!-
M+DUI8W)O<V]F="!-86EL+DYO=&4`,0@!!( !`"0```!213H@6T9W9#H@0G5S
M(&%R8FET<F%T:6]N(&]N($%L<&AA70`0# $%@ ,`#@```,T'"0`8``X`)P`G
M``,`5 $!(( #``X```#-!PD`& `.`!X``@`#`"8!`0F `0`A````-#8Y0S4P
M,C-"-S,T1#$Q,3@Y1$0P,#8P.$,W.45$.3<`"@<!`Y &`!P)```2````"P`C
M```````#`"8```````L`*0```````P`V``````! `#D`(/I'7#+)O $>`' `
M`0```"0```!213H@6T9W9#H@0G5S(&%R8FET<F%T:6]N(&]N($%L<&AA70`"
M`7$``0```!8````!O,DR7$<C4)Q+-+<1T8G=`&",>>V7```>`!X,`0````4`
M``!33510`````!X`'PP!````$@```&ME;'9I;D!Q86YT96PN8V]M`````P`&
M$#4E(/@#``<0M <``!X`"! !````90```$E425--655.1$524U1!3D1)3D=4
M2$%404Q,345-3U)934%04$5$4$-)5%)!3E-&15)33TY!3$Q"55142$5615)9
M3D5715-404Q02$%-04-(24Y%4TU54U1"13,R0DE44T]21U(``````@$)$ $`
M``"7!P``DP<``-82``!,6D9U,C;\'/\`"@$/`A4"J 7K`H,`4 +R"0(`8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+D?__EC^:?!1"]8NC4K1(KHW<Q_SEC'<#K,2'"
MO3 'X-$B!O#_*\,$`#.=[#_M3QT8+8#G]?\Z(H@U(I CD",!"8 $()9#_TY 
M'L"7`EW!"X"\HI;S01#_?W%*4*^O\]_T[P6@`C `T+^5$BC0R2 =8731'S$\
M3;_^/D%0^B_[/^./`!\!+X5/?YS@+F MHB+#)' 1<.K39/]*`2QQ1($?4RVA
M*X'W4?__7P0O!3\)7PIO]/Y2B20LYPQ_#8_T_BTM#&\1'Q(O_BH6CQ>?&*\9
MK1-O%'_T_O]6)L/P*+!589;T'Q\T<$61`CICP#4Q,"DW-^%L8#DW,C??@:2!
M2V!^,AJ_&\_T_TH('S\F-$7_9+'842" )V(R,$VO1>8B?_\CC[D80*4G,*]0
MIF%XH2V/'4&15R[0)Z&]<'1P.OXO.Q OH$6P**\IORK/%>^?-"\U/S9/-N<Q
M&C$X2X(5"^Y]4> `.E ``P`0$ `````#`!$0`````$ `!S `W'\$,<F\`4 `
@"# `W'\$,<F\`1X`/0`!````!0```%)%.B `````7C8`
`
end

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <34294893.DAF1EE6@cyclades.com>]
[parent not found: <01BCC8F7.B0231DE0@pengwin.qantel.com>]
* [Fwd: Bus arbitration on Alpha]
@ 1997-09-24 17:06 Ivan Passos
  0 siblings, 0 replies; 4+ messages in thread
From: Ivan Passos @ 1997-09-24 17:06 UTC (permalink / raw)


This is a multi-part message in MIME format.
--------------A803C2DB8C7CCC2AF3FEE537
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

--------------A803C2DB8C7CCC2AF3FEE537
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Return-Path: <axp-kernel-list-request@redhat.com>
Received: from mail2.redhat.com ([199.183.24.247]) by main.cyclades.com
	 with smtp id m0xDuns-000ShiC
	(Debian Smail-3.2 1996-Jul-4 #2); Wed, 24 Sep 1997 10:00:44 -0700 (PDT)
Received: (qmail 14269 invoked by uid 501); 24 Sep 1997 16:25:18 -0000
Resent-Date: 24 Sep 1997 16:25:18 -0000
Resent-Cc: recipient list not shown: ;
MBOX-Line: From axp-kernel-list-request@redhat.com  Wed Sep 24 12:25:17 1997
Message-ID: <342857F4.DDBFC9EF@cyclades.com>
Date: Tue, 23 Sep 1997 16:59:49 -0700
From: Ivan Passos <ivan@cyclades.com>
Organization: Cyclades Corporation
X-Mailer: Mozilla 4.02 [en] (Win95; U)
MIME-Version: 1.0
To: Multiple Recipients of List <axp-kernel-list@redhat.com>
Subject: Bus arbitration on Alpha
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"ODCWb2.0.iU3.jxJAq"@mail2.redhat.com>
Resent-From: axp-kernel-list@redhat.com
Reply-To: axp-kernel-list@redhat.com
X-Mailing-List: <axp-kernel-list@redhat.com> archive/latest/205
X-Loop: axp-kernel-list@redhat.com
Precedence: list
Resent-Sender: axp-kernel-list-request@redhat.com
X-URL: http://www.redhat.com

Hi, everybody,

I am porting the Cyclades-Z multiport card driver to the Linux/Alpha 
and I'm having several problems with that, due to the card mapping 
(it's a memory-mapped card ...). Also, this card is an intelligent 
card with an MIPS3000-compatible RISC processor.

I finally got the board to receive data with no problems, but whenever 
I uncomment the transmission code, the machine locks completely.

The only thing I'm currently trying to do (in regards to transmission) 
is read the tx_get, the tx_put and the tx_bufsize from the dual port 
memory and doing some calculation (to check the available space in 
the transmission buffer). If I comment out this line, the machine does 
not halt. If I uncomment it, the machine locks completely. This is a 
pretty basic operation and I don't understand why it is locking the
machine. 

Since the same code is working in the Intel platform, I thought about 
bus arbitration problems between the MIPS3000 CPU and the Alpha 
(because the firmware running in the Cyclades-Z on-board RAM keeps 
accessing these pointers to see if there is any data to transmit and, 
if there is any detail about bus arbitration in the Alpha that I don't 
know, it would explain the machine lockups).

Does anyone there know anything about this ??? I am in a deadlock 
right now and I have no other idea on how to solve this.

If anyone willing to help needs some additional information, please
contact me directly at <ivan@cyclades.com> .

Thank you very much in advance for all your help.

Regards,

-- 
*******************************************************************
Cyclades Corporation                   Tel.: (510)770-9727 ext. 202
Ivan Passos                       E-mail : mailto:ivan@cyclades.com
Software Engineer                     WWW : http://www.cyclades.com
*******************************************************************

--
To unsubscribe:
mail -s unsubscribe axp-kernel-list-request@redhat.com < /dev/null

--------------A803C2DB8C7CCC2AF3FEE537--

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-09-28 19:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-24 21:39 [Fwd: Bus arbitration on Alpha] Kelvin Lunsford
     [not found] <34294893.DAF1EE6@cyclades.com>
1997-09-28 19:31 ` jestabro
     [not found] <01BCC8F7.B0231DE0@pengwin.qantel.com>
1997-09-24 22:17 ` James R. Shipman
  -- strict thread matches above, loose matches on Subject: below --
1997-09-24 17:06 Ivan Passos

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