Re: [PATCH 1/6] [local/generalize] USB: musb: workaround RX DMA hang anomaly by disabling double buffer mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, Dec 24, 2009 at 06:05:55AM +0100, ext Mike Frysinger wrote:
From: Cliff Cai <cliff.cai@xxxxxxxxxx>

Due to some anomalies, utilizing DMA double buffer may lead to infinite
hangs or data corruption.  So when this anomalies exist, disable double
buffering mode.

Signed-off-by: Cliff Cai <cliff.cai@xxxxxxxxxx>
Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>

I believe blackfin doesn't have dynamic fifo sizing and double buffering is enabled on the hw table ?

I've seen data corruption when using double buffering also with dynamic fifo sizing and that's why none of the fifo tables have double buffering enabled.

this tells me that we really can't trust musb's double buffering at all and we can make a check based on the rtl revision. At least until rtl1.9 we can't use double buffering, no matter what the fifo table or hardware ep configuration says.

--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux