mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/7] atmel-mci: updates for 2.6.28
@ 2008-10-05 16:21 Haavard Skinnemoen
  2008-10-05 16:21 ` [PATCH v2 1/7] atmel-mci: Implement tasklet as a state machine Haavard Skinnemoen
  2008-10-05 18:46 ` [PATCH v2 0/7] atmel-mci: updates for 2.6.28 Haavard Skinnemoen
  0 siblings, 2 replies; 15+ messages in thread
From: Haavard Skinnemoen @ 2008-10-05 16:21 UTC (permalink / raw)
  To: Pierre Ossman; +Cc: kernel, linux-kernel, Haavard Skinnemoen

Hi Pierre,

The following patches does a few cleanups of the atmel-mci driver,
adds support for multiple MMC slots (AT32AP7000 support two, but this
should be fairly easy to extend in the future), and adds optional DMA
support. If it looks fine to you (and everyone else who wants to look
over it), please queue it up for 2.6.28.

The DMA support appears to work fine with all the cards I have
available. The CPU usage is a bit high if the card is fast, but that's
something I intend to look into later. It's a lot better and faster
than the current driver.

Changes since the last version of this patchset:
  - The clock is no longer stopped between transfers.
  - The clock speed is limited to the speed of the slowest card when
    using multiple slots, but there may still be issues I don't fully
    understand, so I added a warning for the board code. Boards which
    use only one slot should not be affected, however.
  - A few DMA-related kerneldoc comments were moved into the DMA patch.
  - A data transfer error while not using DMA could hang the state
    machine. This has been fixed.
  - A missing call to flush_dcache_page() in the PIO code was added.
    This is a no-op on avr32, so it probably doesn't deserve
    backporting to 2.6.27 or -stable.

Haavard Skinnemoen (7):
      atmel-mci: Implement tasklet as a state machine
      atmel-mci: Don't stop the clock between transfers
      atmel-mci: Platform code for supporting multiple mmc slots
      atmel-mci: support multiple mmc slots
      atmel-mci: Add experimental DMA support
      atmel-mci: Don't overwrite error bits when NOTBUSY is set
      atmel-mci: Add missing flush_dcache_page() in PIO transfer code

 arch/avr32/boards/atngw100/setup.c      |    7 +-
 arch/avr32/boards/atstk1000/atstk1002.c |   18 +-
 arch/avr32/boards/atstk1000/atstk1003.c |   12 +-
 arch/avr32/boards/atstk1000/atstk1004.c |   12 +-
 arch/avr32/include/asm/atmel-mci.h      |   32 +-
 arch/avr32/mach-at32ap/at32ap700x.c     |   90 ++-
 drivers/mmc/host/Kconfig                |   11 +
 drivers/mmc/host/atmel-mci-regs.h       |    6 +-
 drivers/mmc/host/atmel-mci.c            | 1352 ++++++++++++++++++++++---------
 9 files changed, 1127 insertions(+), 413 deletions(-)

Haavard

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

end of thread, other threads:[~2008-10-12 16:07 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-05 16:21 [PATCH v2 0/7] atmel-mci: updates for 2.6.28 Haavard Skinnemoen
2008-10-05 16:21 ` [PATCH v2 1/7] atmel-mci: Implement tasklet as a state machine Haavard Skinnemoen
2008-10-05 16:21   ` [PATCH v2 2/7] atmel-mci: Don't stop the clock between transfers Haavard Skinnemoen
2008-10-05 16:21     ` [PATCH v2 3/7] atmel-mci: Platform code for supporting multiple mmc slots Haavard Skinnemoen
2008-10-05 16:21       ` [PATCH v2 4/7] atmel-mci: support " Haavard Skinnemoen
2008-10-05 16:21         ` [PATCH v2 5/7] atmel-mci: Add experimental DMA support Haavard Skinnemoen
2008-10-05 16:21           ` [PATCH v2 6/7] atmel-mci: Don't overwrite error bits when NOTBUSY is set Haavard Skinnemoen
2008-10-05 16:21             ` [PATCH v2 7/7] atmel-mci: Add missing flush_dcache_page() in PIO transfer code Haavard Skinnemoen
2008-10-12  8:44           ` [PATCH v2 5/7] atmel-mci: Add experimental DMA support Pierre Ossman
2008-10-12  8:39         ` [PATCH v2 4/7] atmel-mci: support multiple mmc slots Pierre Ossman
2008-10-12 13:13           ` Haavard Skinnemoen
2008-10-12 15:58             ` Pierre Ossman
2008-10-12 16:07               ` Haavard Skinnemoen
2008-10-05 18:46 ` [PATCH v2 0/7] atmel-mci: updates for 2.6.28 Haavard Skinnemoen
2008-10-12  8:50   ` Pierre Ossman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®