linux_dsm_epyc7002/drivers/infiniband/hw/cxgb3
Artemy Kovalyov 3e7e1193e2 IB: Replace ib_umem page_size by page_shift
Size of pages are held by struct ib_umem in page_size field.

It is better to store it as an exponent, because page size by nature
is always power-of-two and used as a factor, divisor or ilog2's argument.

The conversion of page_size to be page_shift allows to have portable
code and avoid following error while compiling on ARM:

  ERROR: "__aeabi_uldivmod" [drivers/infiniband/core/ib_core.ko] undefined!

CC: Selvin Xavier <selvin.xavier@broadcom.com>
CC: Steve Wise <swise@chelsio.com>
CC: Lijun Ou <oulijun@huawei.com>
CC: Shiraz Saleem <shiraz.saleem@intel.com>
CC: Adit Ranadive <aditr@vmware.com>
CC: Dennis Dalessandro <dennis.dalessandro@intel.com>
CC: Ram Amrani <Ram.Amrani@Cavium.com>
Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Acked-by: Ram Amrani <Ram.Amrani@cavium.com>
Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Acked-by: Adit Ranadive <aditr@vmware.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-04-25 15:40:28 -04:00
..
cxio_dbg.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
cxio_hal.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
cxio_hal.h cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
cxio_resource.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
cxio_resource.h RDMA/cxgb3: Remove Open Grid Computing copyrights in iw_cxgb3 driver 2007-02-16 13:57:35 -08:00
cxio_wr.h tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
iwch_cm.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_cm.h cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_cq.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_ev.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_mem.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_provider.c IB: Replace ib_umem page_size by page_shift 2017-04-25 15:40:28 -04:00
iwch_provider.h cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch_qp.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch.c cxgb3: Convert PDBG to pr_debug 2017-04-20 16:13:20 -04:00
iwch.h IB/cxgb3: convert to idr_alloc() 2013-02-27 19:10:16 -08:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile chelsio: Move the Chelsio drivers 2011-08-10 19:54:52 -07:00
tcb.h RDMA/cxgb3: Add driver for Chelsio T3 RNIC 2007-02-12 16:16:18 -08:00