All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 0/6] Add cache line alignment support
@ 2011-10-12 23:55 Anton Staaf
  2011-10-12 23:55 ` [U-Boot] [PATCH v3 1/6] cache: add ALLOC_CACHE_ALIGN_BUFFER macro Anton Staaf
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Anton Staaf @ 2011-10-12 23:55 UTC (permalink / raw)
  To: u-boot

The cache line alignment issue has gone around a couple of times now.  This
patch set implements all of the details that we have discussed about the
implementation of ALLOC_CACHE_ALIGN_BUFFER.  It also includes patches that use
the macro to fix MMC and ext2 buffers, as well as define the
CONFIG_SYS_CACHELINE_SIZE value for Tegra.

This series now depends on the series to add ARCH_DMA_MINALIGN for all
architectures and must be applied after that series.

This has been tested on a Seaboard.

Thanks,
    Anton

---

Changes for v2:
- Add comment describing why we are setting a default cacheline size
- Remove Gerrit generated Change-Id: tags from commit messages
- Add additional buffer alignments for mmc and part_efi code

Changes for v3:
- Don't set a default value for CONFIG_SYS_CACHELINE_SIZE
- Use ARCH_DMA_MINALIGN to align DMA buffers

Anton Staaf (6):
  cache: add ALLOC_CACHE_ALIGN_BUFFER macro
  tegra: define CONFIG_SYS_CACHELINE_SIZE for tegra
  mmc: dcache: allocate cache aligned buffer for scr and switch_status
  ext2: Cache line aligned partial sector bounce buffer
  mmc: dcache: allocate cache aligned buffers for ext_csd
  part_efi: dcache: allocate cacheline aligned buffers

 disk/part_efi.c                 |   18 ++++++------
 doc/README.arm-caches           |    2 +
 drivers/mmc/mmc.c               |   14 +++++-----
 fs/ext2/dev.c                   |    2 +-
 include/common.h                |   58 +++++++++++++++++++++++++++++++++++++++
 include/configs/tegra2-common.h |    2 +
 6 files changed, 79 insertions(+), 17 deletions(-)

-- 
1.7.3.1

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2011-10-25  7:27 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12 23:55 [U-Boot] [PATCH v3 0/6] Add cache line alignment support Anton Staaf
2011-10-12 23:55 ` [U-Boot] [PATCH v3 1/6] cache: add ALLOC_CACHE_ALIGN_BUFFER macro Anton Staaf
2011-10-13  0:55   ` Mike Frysinger
2011-10-13 18:06     ` Anton Staaf
2011-10-13 18:15       ` Mike Frysinger
2011-10-13 18:20         ` Anton Staaf
2011-10-25  7:23   ` Wolfgang Denk
2011-10-12 23:56 ` [U-Boot] [PATCH v3 2/6] tegra: define CONFIG_SYS_CACHELINE_SIZE for tegra Anton Staaf
2011-10-25  7:23   ` Wolfgang Denk
2011-10-12 23:56 ` [U-Boot] [PATCH v3 3/6] mmc: dcache: allocate cache aligned buffer for scr and switch_status Anton Staaf
2011-10-13  0:55   ` Mike Frysinger
2011-10-25  7:25   ` Wolfgang Denk
2011-10-12 23:56 ` [U-Boot] [PATCH v3 4/6] ext2: Cache line aligned partial sector bounce buffer Anton Staaf
2011-10-25  7:25   ` Wolfgang Denk
2011-10-12 23:56 ` [U-Boot] [PATCH v3 5/6] mmc: dcache: allocate cache aligned buffers for ext_csd Anton Staaf
2011-10-13  0:56   ` Mike Frysinger
2011-10-25  7:26   ` Wolfgang Denk
2011-10-12 23:56 ` [U-Boot] [PATCH v3 6/6] part_efi: dcache: allocate cacheline aligned buffers Anton Staaf
2011-10-13  0:56   ` Mike Frysinger
2011-10-25  7:26   ` Wolfgang Denk
2011-10-24 22:08 ` [U-Boot] [PATCH v3 0/6] Add cache line alignment support Anton Staaf
2011-10-25  7:27   ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.