[parisc-linux] Re: CCIO dma io_command and related io_tlb format questions.

Michael S. Zick mszick at morethan.org
Mon Oct 16 08:37:15 MDT 2006


On Mon October 16 2006 06:51, Joel Soete wrote:
>
> ====<>====
> 
> May be could we also use some define like:
> #define Mb        (1 << 20)
> #define Gb        (1 << 30)
>

Joel,
Let me add a bit (no pun intended) from the 53c7xx manuals ...

The transfer offset register is 21 bits - -

So the largest single chunk of memory 7xx can transfer is 2^21
in a single command (single list entry, if passing it lists).

There was a mention somewhere of a special use for the high bit,
I do not recall the details at this moment.

So a limit on the contiguous block size of 2^20 should work.
Larger blocks would have to generate multiple list entries
by the time the code reaches the controller.

Another limit of the transfer hardware in the controller is
that it can not transfer a block which crosses 2^32 boundaries.
(The transfer base register is 32 bits.)

In those cases, you also have to split the block into above/below
2^32 and reprogram the chips interface (HP) hardware inbetween.

Some of the 53c8xx controllers handle 2^64 physical addressing,
but I have not studied those yet.

> Duno yet if it's realted to my pb but tia for your attention,
>     Joel 
Mike



More information about the parisc-linux mailing list