boundarydevices / linux

Kernel tree for Boundary Devices platforms
194 stars 290 forks source link

Merge FEC fix from Freescale 3.5.7 kernel (has not made it into Freescal... #4

Closed kelvinlawson closed 10 years ago

kelvinlawson commented 10 years ago

...e's 3.0.35 kernel but the bug is definitely present in 3.0.35):

ENGR00264875 enet: fix DMA map/unmap mismatch Enable "CONFIG_DMA_API_DEBUG" in kernel, and system generate warning when run up.

WARNING: /home/b29397/work/projects/linux-2.6-imx/lib/dma-debug.c:865 check_unmap+0x6f8/0x7d8() net eth0: DMA-API: device driver tries to free DMA memory it has not allocated [device address=0x00000000443d7040] [size=2048 <80025f60> from <80026070> r9:00000000 r8:00000800 r7:807bfb0c r6:807a3d48 r5:00000000

It dma memory map/unmap mismatch issue.

Signed-off-by: Fugang Duan B38611@freescale.com