From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-f169.google.com ([209.85.223.169]:33532 "EHLO mail-ie0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753348AbaEHUso (ORCPT ); Thu, 8 May 2014 16:48:44 -0400 Received: by mail-ie0-f169.google.com with SMTP id rl12so3203389iec.14 for ; Thu, 08 May 2014 13:48:44 -0700 (PDT) Subject: [PATCH v3 0/4] Clean up DMA API docs and dma_addr_t usage From: Bjorn Helgaas Cc: Arnd Bergmann , linux-doc@vger.kernel.org, Greg Kroah-Hartman , Joerg Roedel , Randy Dunlap , Liviu Dudau , linux-kernel@vger.kernel.org, James Bottomley , linux-pci@vger.kernel.org, David Woodhouse Date: Thu, 08 May 2014 14:48:47 -0600 Message-ID: <20140508204257.17877.4639.stgit@bhelgaas-glaptop.roam.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" To: unlisted-recipients:; (no To-header on input) Sender: linux-pci-owner@vger.kernel.org List-ID: Maybe the third time's a charm :) This cleans up some DMA-API documentation and makes a minor no-op change to the dma_declare_coherent_memory() prototype. Changes from v2: - Added description of CPU virtual/physical and bus addresses in DMA-API-HOWTO - Added comments to sh/PCI (Dreamcast) update - Dropped IOMMU interface dma_addr_t changes I didn't add Arnd's and Greg's acks to patch 1 because of all the new address description text I added. --- Bjorn Helgaas (4): DMA-API: Clarify physical/bus address distinction DMA-API: Change dma_declare_coherent_memory() CPU address to phys_addr_t sh/PCI: Pass GAPSPCI_DMA_BASE CPU & bus address to dma_declare_coherent_memory() iommu/exynos: Remove unnecessary "&" from function pointers Documentation/DMA-API-HOWTO.txt | 192 +++++++++++++++++++++----------- Documentation/DMA-API.txt | 148 +++++++++++++------------ Documentation/DMA-ISA-LPC.txt | 4 - arch/sh/drivers/pci/fixups-dreamcast.c | 18 +++ drivers/base/dma-coherent.c | 10 +- drivers/base/dma-mapping.c | 6 + drivers/iommu/exynos-iommu.c | 14 +- include/asm-generic/dma-coherent.h | 13 +- include/linux/dma-mapping.h | 13 ++ include/linux/types.h | 1 10 files changed, 247 insertions(+), 172 deletions(-) -- Signature