[Cbe-oss-dev] [PATCH 1/2]MARS: Fix 64 bit dma list usage

Kazunori Asayama asayama at sm.sony.co.jp
Wed Oct 8 14:54:44 EST 2008


Yuji Mano wrote:
> This fixes the internal implementation usage of dma lists so that they can
> be used properly in a 64-bit environment. The dma list command assumes the
> upper 32-bits of EAs in the list are the same values. Since this is not
> guaranteed on linux for 64-bit environments, the function that prepares the
> dma lists now checks to see if the upper 32-bits of the address range to be
> transferred are the same. If it crosses a 64-bit boundary, the dma list
> operation is divided into 2 separate dma list calls.
> 
> Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>

Acked-by: Kazunori Asayama <asayama at sm.sony.co.jp>

> 
> ---
>  src/mpu/lib/dma.h |   61 ++++++++++++++++++++++++++++++++++++++++++------------
>  1 file changed, 48 insertions(+), 13 deletions(-)
> 

-- 
(ASAYAMA Kazunori
  (asayama at sm.sony.co.jp))
t



More information about the cbe-oss-dev mailing list