fixed invalid assignment of 64bit mask to host dma_boundary for scatter gather segmen...
authorMinh Duc Tran <MinhDuc.Tran@Emulex.Com>
Mon, 9 Feb 2015 18:54:09 +0000 (18:54 +0000)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 15 Feb 2015 18:26:11 +0000 (10:26 -0800)
In reference to bug https://bugzilla.redhat.com/show_bug.cgi?id=1097141
Assert is seen with AMD cpu whenever calling pci_alloc_consistent.

[   29.406183] ------------[ cut here ]------------
[   29.410505] kernel BUG at lib/iommu-helper.c:13!

Signed-off-by: Minh Tran <minh.tran@emulex.com>
Fixes: 6733b39a1301b0b020bbcbf3295852e93e624cb1
Cc: <stable@vger.kernel.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/be2iscsi/be_main.c

index f3193406776cb94aa1a43df76a230cc1fed8b753..9cc047bc763b8647cad34e22dd8dd320861df9e9 100644 (file)
@@ -586,7 +586,6 @@ static struct beiscsi_hba *beiscsi_hba_alloc(struct pci_dev *pcidev)
                        "beiscsi_hba_alloc - iscsi_host_alloc failed\n");
                return NULL;
        }
-       shost->dma_boundary = pcidev->dma_mask;
        shost->max_id = BE2_MAX_SESSIONS;
        shost->max_channel = 0;
        shost->max_cmd_len = BEISCSI_MAX_CMD_LEN;