1. 06 1月, 2009 1 次提交
  2. 18 10月, 2008 1 次提交
  3. 08 9月, 2008 1 次提交
    • F
      ia64: dma_alloc_coherent always use GFP_DMA · 3a80b6aa
      FUJITA Tomonori 提交于
      This patch makes dma_alloc_coherent use GFP_DMA at all times. This is
      necessary for swiotlb, which requires the callers to set up the gfp
      flags properly.
      
      swiotlb_alloc_coherent tries to allocate pages with the gfp flags. If
      the allocated memory isn't fit for dev->coherent_dma_mask,
      swiotlb_alloc_coherent reserves some of the swiotlb memory area, which
      is precious resource. So the callers need to set up the gfp flags
      properly.
      
      This patch means that other IA64 IOMMUs' dma_alloc_coherent also use
      GFP_DMA. These IOMMUs (e.g. SBA IOMMU) don't need GFP_DMA since they
      can map a memory to any address. But IA64's GFP_DMA is large,
      generally drivers allocate small memory with dma_alloc_coherent only
      at startup. So I chose the simplest way to set up the gfp flags for
      swiotlb.
      Signed-off-by: NFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Acked-by: NJoerg Roedel <joerg.roedel@amd.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      3a80b6aa
  4. 02 8月, 2008 1 次提交
    • T
      [IA64] Move include/asm-ia64 to arch/ia64/include/asm · 7f30491c
      Tony Luck 提交于
      After moving the the include files there were a few clean-ups:
      
      1) Some files used #include <asm-ia64/xyz.h>, changed to <asm/xyz.h>
      
      2) Some comments alerted maintainers to look at various header files to
      make matching updates if certain code were to be changed. Updated these
      comments to use the new include paths.
      
      3) Some header files mentioned their own names in initial comments. Just
      deleted these self references.
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      7f30491c
  5. 29 4月, 2008 1 次提交
    • A
      dma/ia64: update ia64 machvecs, swiotlb.c · 309df0c5
      Arthur Kepner 提交于
      Change all ia64 machvecs to use the new dma_*map*_attrs() interfaces.
      Implement the old dma_*map_*() interfaces in terms of the corresponding new
      interfaces.  For ia64/sn, make use of one dma attribute,
      DMA_ATTR_WRITE_BARRIER.  Introduce swiotlb_*map*_attrs() functions.
      Signed-off-by: NArthur Kepner <akepner@sgi.com>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Cc: Jes Sorensen <jes@sgi.com>
      Cc: Randy Dunlap <randy.dunlap@oracle.com>
      Cc: Roland Dreier <rdreier@cisco.com>
      Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
      Cc: David Miller <davem@davemloft.net>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Grant Grundler <grundler@parisc-linux.org>
      Cc: Michael Ellerman <michael@ellerman.id.au>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      309df0c5
  6. 16 10月, 2007 2 次提交
  7. 15 2月, 2007 1 次提交
    • R
      [PATCH] ia64: fix noncoherent DMA API so devres builds · b7de8e7e
      Roland Dreier 提交于
      On ia64, drivers/base/dma-mapping.c doesn't build because it calls
      dma_alloc_noncoherent() and dma_free_noncoherent(), which appear to be
      terminally broken; the calls end up generating errors like
      
          drivers/base/dma-mapping.c: In function 'dmam_noncoherent_release':
          drivers/base/dma-mapping.c:32: error: 'struct ia64_machine_vector' has no member named 'platform_dma_free_coherent'
      
      because the multiple levels of macro expansion in <asm/dma-mapping.h> and
      <asm/machvec.h> end up turning a call to dma_free_noncoherent() into
      ia64_mv.platform_dma_free_coherent (instead of the intended
      ia64_mv.dma_free_coherent).
      
      This patch fixes this by converting dma_{alloc,free}_noncoherent() into
      inline functions that call the corresponding coherent functions, instead of
      trying to do this with macros.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      Acked-by: NTony Luck <tony.luck@intel.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      b7de8e7e
  8. 08 12月, 2006 2 次提交
  9. 26 4月, 2006 1 次提交
  10. 07 11月, 2005 1 次提交
  11. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4