Article ID: 000076835 Content Type: Troubleshooting Last Reviewed: 08/15/2023

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

Environment

  • Intel® Quartus® Prime Pro Edition
  • Avalon-MM Intel® Stratix® 10 Hard IP for PCI Express
  • BUILT IN - ARTICLE INTRO SECOND COMPONENT
    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.

    Resolution

    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.  

    Related Products

    This article applies to 1 products

    Intel® Stratix® 10 FPGAs and SoC FPGAs