[#4610] spi_mmc driver working in dma mode may hang the system
Submitted By: Yi Li
Open Date
2008-11-05 05:22:46 Close Date
2008-12-01 23:20:29
Priority:
Medium Assignee:
Yi Li
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
svn trunk
Category:
N/A Board:
STAMP
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Out of Date
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
N/A
Summary: spi_mmc driver working in dma mode may hang the system
Details:
With defaut setting, spi_mmc driver will ask spi controller driver (the spi framework) to enable DMA when transferring messages. However, this may hang the whole system sometime (not always):
+modprobe spi_mmc
spi_mmc: configure for card detection
New MMC/SD card found: 495 MB(519569408 bytes)
spi_mmc:
[System hangs here]
Using JTAG can see the kernel is still handling interrupts.
If disabling dma, everything would be find.
Not sure this is caused by SPI/DMA HW bug? But I think we should not enable DMA by default.
Follow-ups
--- Yi Li 2008-12-01 23:20:29
spi_mmc driver is replaced by mmc_spi driver in mainline kernel now. So close
it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found