Thread (19 messages) 19 messages, 3 authors, 2009-06-15

RE: [PATCH 1/6] rapidio: add common mapping APIs for RapidIO memory access

From: Li Yang-R58472 <hidden>
Date: 2009-06-11 09:48:26
Also in: lkml, netdev

On May 12, 2009, at 3:35 AM, Li Yang wrote:
quoted
Add the mapping functions used to support direct IO memory access of=20
rapidIO.

Signed-off-by: Zhang Wei <zw@zh-kernel.org>
Signed-off-by: Li Yang <redacted>
Use inbnd/outbnd instead of inb/outb which make one think of=20
byte level io accessors.

As I look at this I don't think this is the correct API.  I=20
think we should be using the DMA mapping API to hide these=20
details.  The concept of mapping like this seems to be more a=20
function of FSL's Address translation/mapping unit (ATMU) than=20
anything specific to the RIO bus standard.
This is a separate RIO block level ATMU.  Although it looks like the
system level ATMU, system ATMU doesn't have the knowledge of rapidIO
target device ID.  The mapping need to be dynamic, as it's easy to have
more RIO devices than the outbound windows.

- Leo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help