<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6001.18000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2> I found
that the header file(dma-mapping.h) has changed. I saw this change has
happened on Linux -2.6.28 kernel onwards. earlier kernel is having
COMFIT_PPC64 macro. Based on this macro the things were
happened. Is there any fixes available right now or any reasons behind this
changes. </FONT></DIV>
<DIV><FONT face=Arial size=2>Regards,<BR>T.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=thirumalai.p@datapatterns.co.in
href="mailto:thirumalai.p@datapatterns.co.in">Thirumalai Pachamuthu</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=linuxppc-dev@ozlabs.org
href="mailto:linuxppc-dev@ozlabs.org">linuxppc-dev@ozlabs.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, August 20, 2009 9:45
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Regarding TSI108 ethernet DMA
issue</DIV>
<DIV><BR></DIV>
<DIV>Hi all,</DIV>
<DIV> I am trying to port linux 2.6.30 for my
TSI108 based custom board where i am getting the following kernel panic
message. I found that it was due to dma allocation function call particularly
dma_alloc_coherent() of tsi108_open function. When we see the implementation
of dma_alloc_coherent. It was bit changed from the previous linux versions it
seems. </DIV>
<DIV> The implementation of dma_alloc_coherent
was kept on the arch/powerpc/include/asm/dma-mapping.h file. Earlier
implementation is not considering the first parameter what the tsi108 driver
is passing as NULL. But the current implementation is considering this
parameter and because of this the panic is coming what i believe.</DIV>
<DIV> </DIV>
<DIV> So kindly let me know any patches for this
problem or any fixes.</DIV>
<DIV>Regards,</DIV>
<DIV>T.</DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Linuxppc-dev mailing
list<BR>Linuxppc-dev@lists.ozlabs.org<BR>https://lists.ozlabs.org/listinfo/linuxppc-dev</BLOCKQUOTE></BODY></HTML>