Article ID: 000086294 Content Type: Troubleshooting Last Reviewed: 11/01/2024

Why do I see system hangs while running OpenCL™ applications with IOMMU enabled in the host?

Environment

  • Intel® Quartus® Prime Pro Edition
  • Intel® FPGA SDK for OpenCL™ Pro Edition
  • BUILT IN - ARTICLE INTRO SECOND COMPONENT
    Description

    Due to a problem in the FPGA SDK for OpenCL™ 17.0 and earlier, DMA from the OpenCL BSP might get aborted when IOMMU is enabled in the host system. The reason behind the OpenCL BSP driver does not have complete support when IOMMU is enabled. The failure symptoms include hanging application followed by freezing host.

    Hthe owever, symptoms may vary depending on the host system and operating system. The user should look for the following messages indicating DMA read/write faults in the kernel log (dmesg) dump when the application freezes.

    DMAR: DRHD: handling fault status reg 3

    DMAR: DMAR:[DMA Read] Request device [01:00.0] fault addr fbc4b6000 

    DMAR:[fault reason 06] PTE Read access is not set

    Resolution

    Check if IOMMU is enabled in the host system's BIOS. If it is, then disable it.

    Note that instructions for checking and disabling IOMMU varies with different operating systems.

    Related Products

    This article applies to 1 products

    Intel® Programmable Devices