Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Caching Turbo Channel access ??
@ 1991-06-26  1:03 Mark Makies
  1991-06-26  2:47 ` Ed Santiago
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Makies @ 1991-06-26  1:03 UTC (permalink / raw)


Is it possible to cache I/O access from the Turbo channel
in a DEC Station 5000/200?
My main concern is to whether the hardware allows this.
If it is possible what modifications may have to be made
to the kernel?

Thanks,

Mark Makies       mark.makies@mel.dit.csiro.au
Digital Systems and Computer Engineering Group
Royal Melbourne Institute of Technology, Australia 


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

* Re: Caching Turbo Channel access ??
  1991-06-26  1:03 Caching Turbo Channel access ?? Mark Makies
@ 1991-06-26  2:47 ` Ed Santiago
  1991-06-26 18:04   ` Ed Santiago
  0 siblings, 1 reply; 4+ messages in thread
From: Ed Santiago @ 1991-06-26  2:47 UTC (permalink / raw)


mxm@manta.mel.dit.CSIRO.AU (Mark Makies) writes:
>Is it possible to cache I/O access from the Turbo channel
>in a DEC Station 5000/200?
Sorry, the hardware does not allow it.

^E -- ex-DS5000 firmware type
Ed Santiago                                      santiago@decwrl.dec.com
DEC Workstations Systems Engineering             ..!decwrl!santiago


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

* Re: Caching Turbo Channel access ??
  1991-06-26  2:47 ` Ed Santiago
@ 1991-06-26 18:04   ` Ed Santiago
  1991-06-26 21:37     ` slsw2
  0 siblings, 1 reply; 4+ messages in thread
From: Ed Santiago @ 1991-06-26 18:04 UTC (permalink / raw)


santiago@lerad.pa.dec.com (Ed Santiago) writes:
>mxm@manta.mel.dit.CSIRO.AU (Mark Makies) writes:
>>Is it possible to cache I/O access from the Turbo channel
>>in a DEC Station 5000/200?
>Sorry, the hardware does not allow it.
I've been asked to clarify this a little bit.  

My interpretation of this question was "is it possible to access device
registers on a TURBOchannel option via cache space?", eg, something like:

	volatile unsigned long *CSR = <something-in-cached-space>;

The answer to this is no -- the DS5000 hardware does not support it (for
those, like me, that always ignore "unsupported" -- it doesn't work either).

However, another interpretation of the question might have been "does
TURBOchannel allow DMA into cached pages in RAM?".  The answer to this
is "well, sort of".  TURBOchannel options may perform DMA anywhere in
system memory.  However, DMA transfers do *not* go through the cache,
so if a transfer occurs to a page that is currently cached, the cache
will not know about it and keep presenting stale data to the CPU.

Hope this helps,

^E -- ex-DS5000 firmware type
-- 
Ed Santiago                                      santiago@decwrl.dec.com
DEC Workstations Systems Engineering             ..!decwrl!santiago


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

* Re: Caching Turbo Channel access ??
  1991-06-26 18:04   ` Ed Santiago
@ 1991-06-26 21:37     ` slsw2
  0 siblings, 0 replies; 4+ messages in thread
From: slsw2 @ 1991-06-26 21:37 UTC (permalink / raw)


In article <1991Jun26.180424.27695@pa.dec.com>, santiago@lerad.pa.dec.com (Ed Santiago) writes:
>   TURBOchannel options may perform DMA anywhere in
> system memory.  However, DMA transfers do *not* go through the cache,
> so if a transfer occurs to a page that is currently cached, the cache
> will not know about it and keep presenting stale data to the CPU.

Actually, the TURBOchannel spec doesn't *forbid* DMA from going through the
cache, it's just that current implementations don't. That's what I like about
the TURBOchannel spec: carefully designed to be vague in all the right places
(example: "memory access latency; may be many t3 cycles" on pg. 7; you could
pipe TURBOchannel out an RS-232 port and not violate that...).

Roger Ivie
slsw2@cc.usu.edu


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

end of thread, other threads:[~1991-06-26 21:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1991-06-26  1:03 Caching Turbo Channel access ?? Mark Makies
1991-06-26  2:47 ` Ed Santiago
1991-06-26 18:04   ` Ed Santiago
1991-06-26 21:37     ` slsw2

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