Wind River Support Network

HomeDefectsLIN5-6804
Fixed

LIN5-6804 : drivers/dma/lsi-dma32.c, misscalculation of the mod field

Created: Aug 14, 2013    Updated: Dec 19, 2017
Resolved Date: Dec 11, 2014
Found In Version: 5.0.1
Fix Version: 5.0.1.22
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP

Description

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.

Workaround

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
Online