From: James R. Shipman <JimS@ibm.net>
Subject: RE: [Fwd: Bus arbitration on Alpha]
Date: Wed, 24 Sep 1997 15:17:20 -0700 [thread overview]
Message-ID: <9d1691346d241f7de8caad6445e7ff5c.axp-list@archive.invalid> (raw)
In-Reply-To: <01BCC8F7.B0231DE0@pengwin.qantel.com>
-----BEGIN PGP SIGNED MESSAGE-----
At 02:39 PM 9/24/97 -0700, you wrote:
>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.
>...
Be careful about caching with memory mapped I/O. Many times reading
or writing registers causes side effects (like clearing status bits).
If you don't turn off caching (or turn on guarding) for these
registers you can get hit by cache line fetches for nearby address'.
ie) the program accesses 0x0100 and the cache fetches a line from
0x100 to 0x120 or such. If you have memory mapped registers in that
range which do something when you read them you get burned. Same for
writes.
Power PC has a "guarding" attribute which tells the cache not to
touch memory which you didn't specifically ask for. I don't know
about alpha.
Jim
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQCVAwUBNCmRb9b1B14i2ulZAQGR2AQAsxHERSbAWfeZljxQBIN/0WwB6yPKmzMv
Z1wHLmlcURpsM0t7tW3cJfRrgj6McV3ujwce+NwUQK/327lncrBumq2p4oJQFtw/
v33KGG5fkth06tVDp/4BisbK6od9yrxNFKuYOAcWw4snkMg/5Ym+TuYdDpFNzOI3
wOcxZziLG0o=
=JLzj
-----END PGP SIGNATURE-----
--
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
next parent reply other threads:[~1997-09-24 22:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <01BCC8F7.B0231DE0@pengwin.qantel.com>
1997-09-24 22:17 ` James R. Shipman [this message]
[not found] <34294893.DAF1EE6@cyclades.com>
1997-09-28 19:31 ` [Fwd: Bus arbitration on Alpha] jestabro
1997-09-24 21:39 Kelvin Lunsford
-- strict thread matches above, loose matches on Subject: below --
1997-09-24 17:06 Ivan Passos
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