Skip to content
  1. Jun 01, 2018
  2. May 23, 2018
  3. May 18, 2018
  4. May 16, 2018
  5. May 15, 2018
    • Catalin Marinas's avatar
      arm64: Increase ARCH_DMA_MINALIGN to 128 · ebc7e21e
      Catalin Marinas authored
      
      
      This patch increases the ARCH_DMA_MINALIGN to 128 so that it covers the
      currently known Cache Writeback Granule (CTR_EL0.CWG) on arm64 and moves
      the fallback in cache_line_size() from L1_CACHE_BYTES to this constant.
      In addition, it warns (and taints) if the CWG is larger than
      ARCH_DMA_MINALIGN as this is not safe with non-coherent DMA.
      
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Robin Murphy <robin.murphy@arm.com>
      Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      ebc7e21e
  6. May 11, 2018
    • Catalin Marinas's avatar
      Revert "arm64: Increase the max granular size" · d93277b9
      Catalin Marinas authored
      This reverts commit 97303480.
      
      Commit 97303480
      
       ("arm64: Increase the max granular size") increased
      the cache line size to 128 to match Cavium ThunderX, apparently for some
      performance benefit which could not be confirmed. This change, however,
      has an impact on the network packet allocation in certain circumstances,
      requiring slightly over a 4K page with a significant performance
      degradation. The patch reverts L1_CACHE_SHIFT back to 6 (64-byte cache
      line).
      
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Robin Murphy <robin.murphy@arm.com>
      Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      d93277b9
  7. May 07, 2018
  8. May 06, 2018