Wind River Support Network


LIN6-7345 : CLONE - drivers/dma/lsi-dma32.c, misscalculation of the mod field

Created: May 6, 2014    Updated: Dec 3, 2018
Resolved Date: May 18, 2014
Previous ID: LIN5-18710
Found In Version: 6.0
Fix Version:
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: BSP


Customer reports that the LSI DMA driver does some misscalculation when calculating the mod field.

This is what we get:
> [   39.688255] dma0ch2: [gpdma_prep_memcpy] dst=0x2081010000 src=0x6e9c6024 size=16 mod=4

And this is what we expect to get:
> [   39.252585] dma0ch2: [gpdma_prep_memcpy] dst=0x2081010000 src=0x6e924c24 size=16 mod=16

This is a big problem for us since we need that 16byte srio transfer to be written in one instance.


The attached dma.patch.

Steps to Reproduce

The setup is devices connected on srio and then use DMA to read from the device to the acp34xx memory. 

This was discovered in the same timeframe as the WIND00429197.

Other Downloads

Live chat