diff options
author | Hans Rosenfeld <hans.rosenfeld@joyent.com> | 2017-05-16 16:56:11 +0200 |
---|---|---|
committer | Hans Rosenfeld <hans.rosenfeld@joyent.com> | 2017-09-20 20:35:31 +0200 |
commit | 6667d029bb28f9a4d1cb7f3366aad23b59e7dca4 (patch) | |
tree | 246ecb514726b2dcde5996bc6d203ca07b0e0f1d /usr/src | |
parent | 1ed324dd33fca02192d31bad13a72f6531ad4918 (diff) | |
download | illumos-joyent-6667d029bb28f9a4d1cb7f3366aad23b59e7dca4.tar.gz |
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>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/i86pc/io/rootnex.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/i86pc/io/rootnex.c b/usr/src/uts/i86pc/io/rootnex.c index 889c2f3300..3bd23a87bd 100644 --- a/usr/src/uts/i86pc/io/rootnex.c +++ b/usr/src/uts/i86pc/io/rootnex.c @@ -25,6 +25,7 @@ * Copyright 2011 Nexenta Systems, Inc. All rights reserved. * Copyright (c) 2011 Bayard G. Bell. All rights reserved. * Copyright 2012 Garrett D'Amore <garrett@damore.org>. All rights reserved. + * Copyright 2017 Joyent, Inc. */ /* @@ -2171,7 +2172,7 @@ out: */ 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 |