lkml.org 
[lkml]   [2008]   [May]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
    /
    DateTue, 13 May 2008 08:39:01 -0700
    FromRandy Dunlap <>
    SubjectRe: [PATCH 1/2] add the device argument to dma_mapping_error
    On Tue, 13 May 2008 15:04:51 +0900 FUJITA Tomonori wrote:
    
    > dma_mapping_error doesn't take a pointer to the device unlike other
    > DMA operations. So we can't have dma_mapping_ops per device.
    > > Note that POWER already has dma_mapping_ops per device but all the
    > POWER IOMMUs use the same dma_mapping_error function. x86 IOMMUs use
    > different dma_mapping_error functions. So dma_mapping_error needs the
    > device argument.> > Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
    > ---
    >  arch/arm/common/dmabounce.c                    |    2 +-
    >  arch/ia64/hp/common/hwsw_iommu.c               |    5 ++-
    >  arch/ia64/hp/common/sba_iommu.c                |    2 +-
    >  arch/ia64/sn/pci/pci_dma.c                     |    2 +-
    >  arch/mips/mm/dma-default.c                     |    2 +-
    >  arch/powerpc/platforms/cell/celleb_scc_pciex.c |    2 +-
    >  arch/powerpc/platforms/cell/spider-pci.c       |    2 +-
    >  arch/powerpc/platforms/iseries/mf.c            |    2 +-
    >  arch/x86/kernel/pci-gart_64.c                  |    1 -
    >  arch/x86/kernel/pci-nommu.c                    |    2 +-
    >  drivers/firewire/fw-iso.c                      |    2 +-
    >  drivers/firewire/fw-ohci.c                     |    2 +-
    >  drivers/firewire/fw-sbp2.c                     |    8 +++---
    >  drivers/infiniband/hw/ipath/ipath_sdma.c       |    2 +-
    >  drivers/infiniband/hw/ipath/ipath_user_sdma.c  |    6 ++--
    >  drivers/infiniband/hw/mthca/mthca_eq.c         |    2 +-
    >  drivers/media/dvb/pluto2/pluto2.c              |    2 +-
    >  drivers/net/arm/ep93xx_eth.c                   |    4 +-
    >  drivers/net/b44.c                              |   22 +++++++++-------
    >  drivers/net/bnx2x.c                            |    2 +-
    >  drivers/net/e100.c                             |    2 +-
    >  drivers/net/e1000e/ethtool.c                   |    4 +-
    >  drivers/net/e1000e/netdev.c                    |   11 ++++---
    >  drivers/net/ibmveth.c                          |   32 ++++++++++++-----------
    >  drivers/net/iseries_veth.c                     |    4 +-
    >  drivers/net/mlx4/eq.c                          |    2 +-
    >  drivers/net/pasemi_mac.c                       |    6 ++--
    >  drivers/net/qla3xxx.c                          |   12 ++++----
    >  drivers/net/sfc/rx.c                           |    4 +-
    >  drivers/net/sfc/tx.c                           |    2 +-
    >  drivers/net/spider_net.c                       |    4 +-
    >  drivers/net/tc35815.c                          |    4 +-
    >  drivers/net/wireless/ath5k/base.c              |    4 +-
    >  drivers/net/wireless/b43/dma.c                 |    2 +-
    >  drivers/net/wireless/b43legacy/dma.c           |    2 +-
    >  drivers/scsi/ibmvscsi/ibmvscsi.c               |    4 +-
    >  drivers/scsi/ibmvscsi/ibmvstgt.c               |    2 +-
    >  drivers/scsi/ibmvscsi/rpa_vscsi.c              |    2 +-
    >  drivers/spi/atmel_spi.c                        |    4 +-
    >  drivers/spi/au1550_spi.c                       |    6 ++--
    >  drivers/spi/omap2_mcspi.c                      |    4 +-
    >  drivers/spi/pxa2xx_spi.c                       |    4 +-
    >  drivers/spi/spi_imx.c                          |    6 ++--
    >  include/asm-alpha/dma-mapping.h                |    6 ++--
    >  include/asm-alpha/pci.h                        |    2 +-
    >  include/asm-arm/dma-mapping.h                  |    2 +-
    >  include/asm-avr32/dma-mapping.h                |    2 +-
    >  include/asm-cris/dma-mapping.h                 |    2 +-
    >  include/asm-frv/dma-mapping.h                  |    2 +-
    >  include/asm-generic/dma-mapping-broken.h       |    2 +-
    >  include/asm-generic/dma-mapping.h              |    4 +-
    >  include/asm-generic/pci-dma-compat.h           |    4 +-
    >  include/asm-ia64/machvec.h                     |    2 +-
    >  include/asm-m68k/dma-mapping.h                 |    2 +-
    >  include/asm-mips/dma-mapping.h                 |    2 +-
    >  include/asm-mn10300/dma-mapping.h              |    2 +-
    >  include/asm-parisc/dma-mapping.h               |    2 +-
    >  include/asm-powerpc/dma-mapping.h              |    2 +-
    >  include/asm-sh/dma-mapping.h                   |    2 +-
    >  include/asm-sparc/pci.h                        |    3 +-
    >  include/asm-sparc64/dma-mapping.h              |    2 +-
    >  include/asm-sparc64/pci.h                      |    5 ++-
    >  include/asm-v850/pci.h                         |    2 +-
    >  include/asm-x86/dma-mapping.h                  |    7 +++--
    >  include/asm-x86/swiotlb.h                      |    2 +-
    >  include/asm-xtensa/dma-mapping.h               |    2 +-
    >  include/linux/i2o.h                            |    2 +-
    >  include/rdma/ib_verbs.h                        |    2 +-
    >  lib/swiotlb.c                                  |    4 +-
    >  69 files changed, 140 insertions(+), 132 deletions(-)
    
    Seems to be missing updates to Documentation/DMA-API.txt ??
    
    ---
    ~Randy
    
    
    \
     
     \ /
      Last update: 2008-05-13 17:45    [from the cache]
    ©2003-2008