From: "Thirumalai" <thirumalai.p@datapatterns.co.in>
To: <linuxppc-dev@ozlabs.org>
Subject: Re: Regarding TSI108 ethernet DMA issue
Date: Thu, 20 Aug 2009 13:01:30 +0530 [thread overview]
Message-ID: <FAB1DE2EE83A4ADE85C4BF9408D22053@itd210> (raw)
In-Reply-To: <e1ca2e7b0908192115o2cfa427fof21512757854901a@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1561 bytes --]
Hi all,
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.
Regards,
T.
----- Original Message -----
From: Thirumalai Pachamuthu
To: linuxppc-dev@ozlabs.org
Sent: Thursday, August 20, 2009 9:45 AM
Subject: Regarding TSI108 ethernet DMA issue
Hi all,
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.
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.
So kindly let me know any patches for this problem or any fixes.
Regards,
T.
------------------------------------------------------------------------------
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
[-- Attachment #2: Type: text/html, Size: 2763 bytes --]
prev parent reply other threads:[~2009-08-20 7:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-20 4:15 Regarding TSI108 ethernet DMA issue Thirumalai Pachamuthu
2009-08-20 4:18 ` Thirumalai Pachamuthu
2009-08-20 7:31 ` Thirumalai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FAB1DE2EE83A4ADE85C4BF9408D22053@itd210 \
--to=thirumalai.p@datapatterns.co.in \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox