1. 11 8月, 2010 1 次提交
    • F
      dma-mapping: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN · a6eb9fe1
      FUJITA Tomonori 提交于
      Now each architecture has the own dma_get_cache_alignment implementation.
      
      dma_get_cache_alignment returns the minimum DMA alignment.  Architectures
      define it as ARCH_KMALLOC_MINALIGN (it's used to make sure that malloc'ed
      buffer is DMA-safe; the buffer doesn't share a cache with the others).  So
      we can unify dma_get_cache_alignment implementations.
      
      This patch:
      
      dma_get_cache_alignment() needs to know if an architecture defines
      ARCH_KMALLOC_MINALIGN or not (needs to know if architecture has DMA
      alignment restriction).  However, slab.h define ARCH_KMALLOC_MINALIGN if
      architectures doesn't define it.
      
      Let's rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN.
      ARCH_KMALLOC_MINALIGN is used only in the internals of slab/slob/slub
      (except for crypto).
      Signed-off-by: NFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Cc: <linux-arch@vger.kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a6eb9fe1
  2. 23 5月, 2010 1 次提交
  3. 07 10月, 2009 2 次提交
  4. 23 6月, 2009 1 次提交
    • J
      Blackfin: decouple unrelated cache settings to get exact behavior · 41ba653f
      Jie Zhang 提交于
      The current cache options don't really represent the hardware features.
      They end up setting different aspects of the hardware so that the end
      result is to turn on/off the cache.  Unfortunately, when we hit cache
      problems with the hardware, it's difficult to test different settings to
      root cause the problem.  The current settings also don't cleanly allow for
      different caching behaviors with different regions of memory.
      
      So split the configure options such that they properly reflect the settings
      that are applied to the hardware.
      Signed-off-by: NJie Zhang <jie.zhang@analog.com>
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      41ba653f
  5. 13 6月, 2009 1 次提交
  6. 07 1月, 2009 1 次提交
  7. 27 8月, 2008 1 次提交
  8. 08 5月, 2007 1 次提交