Skip to content
Snippets Groups Projects
  1. Oct 26, 2011
  2. Oct 25, 2011
    • Anton staaf's avatar
      mmc: dcache: allocate cache aligned buffers for ext_csd · a1969923
      Anton staaf authored
      
      Currently the mmc_change_freq and mmc_startup functions allocates
      buffers on the stack that are passed down to the MMC device driver.
      These buffers could be unaligned to the L1 dcache line size.  This
      causes problems when using DMA and with caches enabled.
      
      This patch correctly cache alignes the buffers used for reading the
      ext_csd data from an MMC device.
      
      Signed-off-by: default avatarAnton Staaf <robotboy@chromium.org>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
      a1969923
    • Anton staaf's avatar
      mmc: dcache: allocate cache aligned buffer for scr and switch_status · f781dd38
      Anton staaf authored
      
      Currently the sd_change_freq function allocates two buffers on the
      stack that it passes down to the MMC device driver.  These buffers
      could be unaligned to the L1 dcache line size.  This causes problems
      when using DMA and with caches enabled.
      
      This patch correctly cache alignes the buffers used for reading the
      scr register and switch status values from an MMC device.
      
      Change-Id: Ifa8414f572ef907681bd2d5ff3950285a215357d
      Signed-off-by: default avatarAnton Staaf <robotboy@chromium.org>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      f781dd38
  3. Oct 23, 2011
  4. Oct 21, 2011
  5. Oct 20, 2011
  6. Oct 18, 2011
  7. Oct 17, 2011
  8. Oct 16, 2011
  9. Oct 15, 2011
Loading