linux_dsm_epyc7002/drivers/infiniband/hw/ipath
Bryan O'Sullivan 165c552c35 IB/ipath: Fix user memory region creation when IOMMU present
The loop which initializes the user memory region from an array of
pages was using the wrong limit for the array.  This worked OK when
dma_map_sg() returned the same number as the number of pages.  This
patch fixes the problem.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-04-18 20:20:54 -07:00
..
ipath_common.h IB/ipath: Add ability to set and clear IB local loopback 2007-04-18 20:20:53 -07:00
ipath_cq.c IB/ipath: Fix races with ib_resize_cq() 2006-09-28 11:17:12 -07:00
ipath_debug.h IB/ipath: remove stale references to userspace SMA 2006-09-22 15:22:32 -07:00
ipath_diag.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
ipath_dma.c [PATCH] fix ipath_dma_free_coherent() prototype 2007-03-14 15:27:49 -07:00
ipath_driver.c IB/ipath: Add ability to set and clear IB local loopback 2007-04-18 20:20:53 -07:00
ipath_eeprom.c IB/ipath: Fix EEPROM read when driver is compiled with -Os 2006-09-28 11:17:05 -07:00
ipath_file_ops.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
ipath_fs.c IB/ipath: Check return value of lookup_one_len 2007-03-22 14:40:15 -07:00
ipath_iba6110.c Various typo fixes. 2007-02-17 19:07:33 +01:00
ipath_iba6120.c Various typo fixes. 2007-02-17 19:07:33 +01:00
ipath_init_chip.c IB/ipath: Remove unused "write-only" variables 2006-12-12 11:50:20 -08:00
ipath_intr.c IB/ipath: Remove unused "write-only" variables 2006-12-12 11:50:20 -08:00
ipath_kernel.h [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
ipath_keys.c IB/ipath: Implement new verbs DMA mapping functions 2006-12-12 14:28:28 -08:00
ipath_layer.c IB/ipath: remove stale references to userspace SMA 2006-09-22 15:22:32 -07:00
ipath_layer.h IB/ipath: remove stale references to userspace SMA 2006-09-22 15:22:32 -07:00
ipath_mad.c IB/ipath: Clean up handling of GUID 0 2006-09-28 11:16:32 -07:00
ipath_mmap.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
ipath_mr.c IB/ipath: Fix user memory region creation when IOMMU present 2007-04-18 20:20:54 -07:00
ipath_qp.c IB: Return qp pointer as part of ib_wc 2007-02-04 14:11:55 -08:00
ipath_rc.c IB: Return qp pointer as part of ib_wc 2007-02-04 14:11:55 -08:00
ipath_registers.h IB/ipath: Support multiple simultaneous devices of different types 2006-09-28 11:16:49 -07:00
ipath_ruc.c IB: Return qp pointer as part of ib_wc 2007-02-04 14:11:55 -08:00
ipath_srq.c IB/ipath: Count SRQs properly 2006-09-28 11:16:35 -07:00
ipath_stats.c IB/ipath: remove stale references to userspace SMA 2006-09-22 15:22:32 -07:00
ipath_sysfs.c IB/ipath: Remove unused "write-only" variables 2006-12-12 11:50:20 -08:00
ipath_uc.c IB: Return qp pointer as part of ib_wc 2007-02-04 14:11:55 -08:00
ipath_ud.c IB: Return qp pointer as part of ib_wc 2007-02-04 14:11:55 -08:00
ipath_user_pages.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
ipath_verbs_mcast.c IB/ipath: account for attached QPs correctly 2006-09-22 15:22:35 -07:00
ipath_verbs.c IB/ipath: Implement new verbs DMA mapping functions 2006-12-12 14:28:28 -08:00
ipath_verbs.h IB/ipath: Implement new verbs DMA mapping functions 2006-12-12 14:28:28 -08:00
ipath_wc_ppc64.c IB/ipath: Improved support for PowerPC 2006-09-28 11:16:53 -07:00
ipath_wc_x86_64.c IB/ipath: Call mtrr_del with correct arguments 2006-09-28 11:16:57 -07:00
Kconfig IB/ipath: Depend on CONFIG_NET 2006-11-20 13:06:19 -08:00
Makefile IB/ipath: Implement new verbs DMA mapping functions 2006-12-12 14:28:28 -08:00