Print this page
8624 xhci and nvme can't bind DMA memory with IOMMU enabled
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>

@@ -2169,11 +2169,11 @@
          * "ridiculous large limit".  This saves some extra checks on
          * hot paths.
          */
         if ((sinfo->si_copybuf_req == 0) &&
             (sinfo->si_sgl_size <= (unsigned)attr->dma_attr_sgllen) &&
-            (dmao->dmao_size < dma->dp_maxxfer)) {
+            (dmao->dmao_size <= dma->dp_maxxfer)) {
 fast:
                 /*
                  * If the driver supports FMA, insert the handle in the FMA DMA
                  * handle cache.
                  */