[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <90AED712-28A1-4800-978C-125A887D0DA7@kernel.crashing.org>
Date: Wed, 10 Jun 2009 23:13:00 -0500
From: Kumar Gala <galak@...nel.crashing.org>
To: Li Yang <leoli@...escale.com>
Cc: akpm@...ux-foundation.org, davem@...emloft.net,
mporter@...nel.crashing.org, linux-kernel@...r.kernel.org,
linuxppc-dev@...abs.org, netdev@...r.kernel.org,
Zhang Wei <zw@...kernel.org>
Subject: Re: [PATCH 1/6] rapidio: add common mapping APIs for RapidIO memory access
On May 12, 2009, at 3:35 AM, Li Yang wrote:
> Add the mapping functions used to support direct IO memory access of
> rapidIO.
>
> Signed-off-by: Zhang Wei <zw@...kernel.org>
> Signed-off-by: Li Yang <leoli@...escale.com>
Use inbnd/outbnd instead of inb/outb which make one think of byte
level io accessors.
As I look at this I don't think this is the correct API. I think we
should be using the DMA mapping API to hide these details. The
concept of mapping like this seems to be more a function of FSL's
Address translation/mapping unit (ATMU) than anything specific to the
RIO bus standard.
> ---
> drivers/rapidio/rio.c | 95 ++++++++++++++++++++++++++++++++++++++
> +++++++++
> include/linux/rio.h | 25 ++++++++++++
> include/linux/rio_drv.h | 24 +++++++++---
> 3 files changed, 138 insertions(+), 6 deletions(-)
- k
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists