Re: [RFC PATCH 6/6] sparc64: Enable 64-bit DMA

From: tndave
Date: Tue Oct 11 2016 - 15:45:21 EST

On 10/11/2016 09:38 AM, Christoph Hellwig wrote:
Hi Tushar,

On Fri, Oct 07, 2016 at 01:09:15AM -0700, tndave wrote:
With change made by patch 6/6, dma_addr_t is always 64-bit, no matter if
device DMA mask is 32-bit (i.e. using existing IOMMU) or 64-bit (i.e
using ATU)

But only iff CONFIG_ARCH_ATU is set. Anyway, I'll wait for your patches
to got in first and will then propose getting rid of
CONFIG_ARCH_ATU is by default set on 'SPARC64'. Therefore
CONFIG_ARCH_DMA_ADDR_T_64BIT is also always set as well on SPARC64.