Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1499173

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

From tndave <tushar.n.dave@oracle.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 6/6] sparc64: Enable 64-bit DMA
Date 2016-10-11 21:50 +0200
Message-ID <srbdM-2oc-19@gated-at.bofh.it> (permalink)
References <spqqB-7YC-11@gated-at.bofh.it> <spqqB-7YC-21@gated-at.bofh.it> <spxV8-5kR-11@gated-at.bofh.it> <spyxP-5Vj-5@gated-at.bofh.it> <sr8IW-Zh-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



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_DMA_ADDR_T_64BIT separately.
CONFIG_ARCH_ATU is by default set on 'SPARC64'. Therefore
CONFIG_ARCH_DMA_ADDR_T_64BIT is also always set as well on SPARC64.

-Tushar
>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH 0/6] sparc: Enable sun4v hypervisor PCI IOMMU v2 APIs and ATU Tushar Dave <tushar.n.dave@oracle.com> - 2016-10-07 01:40 +0200
  [RFC PATCH 6/6] sparc64: Enable 64-bit DMA Tushar Dave <tushar.n.dave@oracle.com> - 2016-10-07 01:40 +0200
    Re: [RFC PATCH 6/6] sparc64: Enable 64-bit DMA Christoph Hellwig <hch@infradead.org> - 2016-10-07 09:40 +0200
      Re: [RFC PATCH 6/6] sparc64: Enable 64-bit DMA tndave <tushar.n.dave@oracle.com> - 2016-10-07 10:20 +0200
        Re: [RFC PATCH 6/6] sparc64: Enable 64-bit DMA Christoph Hellwig <hch@infradead.org> - 2016-10-11 19:10 +0200
          Re: [RFC PATCH 6/6] sparc64: Enable 64-bit DMA tndave <tushar.n.dave@oracle.com> - 2016-10-11 21:50 +0200
  [RFC PATCH 5/6] sparc64: Enable sun4v dma ops to use IOMMU v2 APIs Tushar Dave <tushar.n.dave@oracle.com> - 2016-10-07 01:40 +0200
  [RFC PATCH 2/6] sparc64: Add ATU (new IOMMU) support Tushar Dave <tushar.n.dave@oracle.com> - 2016-10-07 01:40 +0200
  [RFC PATCH 3/6] sparc64: Initialize iommu_map_table and iommu_pool Tushar Dave <tushar.n.dave@oracle.com> - 2016-10-07 01:40 +0200
  [RFC PATCH 4/6] sparc64: Bind PCIe devices to use IOMMU v2 service Tushar Dave <tushar.n.dave@oracle.com> - 2016-10-07 01:40 +0200

csiph-web