The patch titled Subject: nvme: use the DMA_ATTR_NO_WARN attribute has been added to the -mm tree. Its filename is nvme-use-the-dma_attr_no_warn-attribute.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/nvme-use-the-dma_attr_no_warn-attribute.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/nvme-use-the-dma_attr_no_warn-attribute.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Mauricio Faria de Oliveira <mauricfo@xxxxxxxxxxxxxxxxxx> Subject: nvme: use the DMA_ATTR_NO_WARN attribute Use the DMA_ATTR_NO_WARN attribute for the dma_map_sg() call of the nvme driver that returns BLK_MQ_RQ_QUEUE_BUSY (not for BLK_MQ_RQ_QUEUE_ERROR). Link: http://lkml.kernel.org/r/1470092390-25451-4-git-send-email-mauricfo@xxxxxxxxxxxxxxxxxx Signed-off-by: Mauricio Faria de Oliveira <mauricfo@xxxxxxxxxxxxxxxxxx> Reviewed-by: Gabriel Krisman Bertazi <krisman@xxxxxxxxxxxxxxxxxx> Cc: Keith Busch <keith.busch@xxxxxxxxx> Cc: Jens Axboe <axboe@xxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx> Cc: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/nvme/host/pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN drivers/nvme/host/pci.c~nvme-use-the-dma_attr_no_warn-attribute drivers/nvme/host/pci.c --- a/drivers/nvme/host/pci.c~nvme-use-the-dma_attr_no_warn-attribute +++ a/drivers/nvme/host/pci.c @@ -503,7 +503,8 @@ static int nvme_map_data(struct nvme_dev goto out; ret = BLK_MQ_RQ_QUEUE_BUSY; - if (!dma_map_sg(dev->dev, iod->sg, iod->nents, dma_dir)) + if (!dma_map_sg_attrs(dev->dev, iod->sg, iod->nents, dma_dir, + DMA_ATTR_NO_WARN)) goto out; if (!nvme_setup_prps(dev, req, size)) _ Patches currently in -mm which might be from mauricfo@xxxxxxxxxxxxxxxxxx are dma-mapping-introduce-the-dma_attr_no_warn-attribute.patch powerpc-implement-the-dma_attr_no_warn-attribute.patch nvme-use-the-dma_attr_no_warn-attribute.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html