[lkml]   [2019]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: use generic DMA mapping code in powerpc V4
On Tue, Jan 15, 2019 at 02:56:34PM +0100, Christian Zigotzky wrote:
> On 15 January 2019 at 2:35PM, Christoph Hellwig wrote:
>> On Tue, Jan 15, 2019 at 11:55:25AM +0100, Christian Zigotzky wrote:
>>> Next step: 21074ef03c0816ae158721a78cabe9035938dddd (powerpc/dma: use the
>>> generic direct mapping bypass)
>>> git clone git:// -b powerpc-dma.6 a
>>> git checkout 21074ef03c0816ae158721a78cabe9035938dddd
>>> I was able to compile the kernel for the AmigaOne X1000 (Nemo board with PA
>>> Semi PA6T-1682M SoC). It boots but the PA Semi onboard ethernet doesn't
>>> work.
>> Thanks. But we are exactly missing the steps that are relevant. I've
>> pushed a fixed up powerpc-dma.6 tree, which will only change starting from
>> the first commit that didn't link.
>> The first commit that changed from the old one is this one:
>> which was that one that your compile failed on first.
>> Thanks again for all your work!
> Thank you! I tried the commit 240d7ecd7f6fa62e074e8a835e620047954f0b28
> (powerpc/dma: use the dma-direct allocator for coherent platforms) again.
> git clone git:// -b powerpc-dma.6 a
> git checkout 240d7ecd7f6fa62e074e8a835e620047954f0b28
> I modified the 'dma.c' patch because of the undefined references to
> '__dma_nommu_free_coherent' and '__dma_nommu_alloc_coherent':

So 257002094bc5935dd63207a380d9698ab81f0775 above is the fixed version
for the commit - this switched the ifdef in dma.c around that I had
inverted. Can you try that one instead? And then move on with the
commits after it in the updated powerpc-dma.6 branch - they are
identical to the original branch except for carrying this fix forward.

 \ /
  Last update: 2019-01-15 16:18    [W:0.228 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site