Device Family: Intel® Stratix® 10

Intel Software: Quartus Prime Pro

Type: Answers

Area: Intellectual Property


Last Modified: July 29, 2020
Version Found: v17.1
Bug ID: 1507075860
IP: Avalon-MM Stratix 10 Hard IP for PCI Express

Why does the Intel® Stratix® 10 PCIe* Avalon®-MM with DMA example design sometimes cause Linux to crash?

Description

This problem may be due to the value of the option “Address width of accessible PCIe memory space(TXS)” on “Avalon-MM Settings” tab in the Intel® Stratix® 10 PCIe* Avalon®-MM Hard IP Configuration GUI is set to 32 by default,  but in software the addresses of DMA descriptor and data might be located in the upper 32bit or lower 32 bit address range in a 64bit OS.  Once addresses are in upper 32bit address range, DMA will fail to fetch the descriptor and data, causing DMA driver timeout and Linux to crash.

Workaround/Fix

To work around this problem, modify the option “Address width of accessible PCIe memory space(TXS)” to 64 in the GUI for the example design, so that the DMA can access the whole 64bit memory space and fetch the descriptor and data correctly regardless of where it is located in system memory.