Re: [PATCH V2] net: ethernet: mellanox: correct page conversion
From: okaya
Date: Mon Apr 18 2016 - 09:06:24 EST
On 2016-04-18 08:12, Christoph Hellwig wrote:
On Sat, Apr 16, 2016 at 06:23:32PM -0400, Sinan Kaya wrote:
Current code is assuming that the address returned by
dma_alloc_coherent
is a logical address. This is not true on ARM/ARM64 systems.
Can you explain what you mean with a 'logical address' and what actual
issue you're trying to solve?
Vmap call is failing on arm64 systems because dma alloc api already
returns an address mapped with vmap.
Please see arch/arm64/mm directory.