use generic DMA mapping code in powerpc V4
Darren Stevens
darren at stevens-zone.net
Sun Feb 10 08:10:58 AEDT 2019
Hello Christoph
On 08/02/2019, Christoph Hellwig wrote:
> On Fri, Feb 08, 2019 at 10:01:46AM +0100, Christian Zigotzky wrote:
>> Hi Christoph,
>>
>> Your new patch fixes the problems with the P.A. Semi Ethernet! :-)
>
> Thanks a lot once again for testing!
>
> Now can you test with this patch and the whole series?
>
> I've updated the powerpc-dma.6 branch to include this fix.
Update: I found the following in my dmesg, think it points to an of-by-one error in the pfn selection:
Feb 9 19:47:00 Cyrus kernel: [ 0.000000] Top of RAM: 0x200000000, Total RAM: 0x200000000
Feb 9 19:47:00 Cyrus kernel: [ 0.000000] Memory hole size: 0MB
Feb 9 19:47:00 Cyrus kernel: [ 0.000000] Zone ranges:
Feb 9 19:47:00 Cyrus kernel: [ 0.000000] DMA [mem 0x0000000000000000-0x000000007fffefff]
Feb 9 19:47:00 Cyrus kernel: [ 0.000000] Normal [mem 0x000000007ffff000-0x00000001ffffffff]
I had a quick look but couldn't see where though.
Regards
Darren
More information about the Linuxppc-dev
mailing list