1 From f76a610a8b4b6280eaedf48f3af9d5d74e418b66 Mon Sep 17 00:00:00 2001
2 From: Minh Duc Tran <MinhDuc.Tran@Emulex.Com>
3 Date: Mon, 9 Feb 2015 18:54:09 +0000
4 Subject: fixed invalid assignment of 64bit mask to host dma_boundary for scatter gather segment boundary limit.
6 From: Minh Duc Tran <MinhDuc.Tran@Emulex.Com>
8 commit f76a610a8b4b6280eaedf48f3af9d5d74e418b66 upstream.
10 In reference to bug https://bugzilla.redhat.com/show_bug.cgi?id=1097141
11 Assert is seen with AMD cpu whenever calling pci_alloc_consistent.
13 [ 29.406183] ------------[ cut here ]------------
14 [ 29.410505] kernel BUG at lib/iommu-helper.c:13!
16 Signed-off-by: Minh Tran <minh.tran@emulex.com>
17 Fixes: 6733b39a1301b0b020bbcbf3295852e93e624cb1
18 Signed-off-by: James Bottomley <JBottomley@Parallels.com>
19 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
22 drivers/scsi/be2iscsi/be_main.c | 1 -
23 1 file changed, 1 deletion(-)
25 --- a/drivers/scsi/be2iscsi/be_main.c
26 +++ b/drivers/scsi/be2iscsi/be_main.c
27 @@ -581,7 +581,6 @@ static struct beiscsi_hba *beiscsi_hba_a
28 "beiscsi_hba_alloc - iscsi_host_alloc failed\n");
31 - shost->dma_boundary = pcidev->dma_mask;
32 shost->max_id = BE2_MAX_SESSIONS;
33 shost->max_channel = 0;
34 shost->max_cmd_len = BEISCSI_MAX_CMD_LEN;