linux_dsm_epyc7002/drivers/infiniband
Sebastian Ott 17069d32a3 IB/core: fix unmap_sg argument
__ib_umem_release calls dma_unmap_sg with a different number of
sg_entries than ib_umem_get uses for dma_map_sg. This might cause
trouble for implementations that merge sglist entries and results
in the following dma debug complaint:

DMA-API: device driver frees DMA sg list with different entry
         count [map count=2] [unmap count=1]

Fix it by using the correct value.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-12-14 14:21:26 -05:00
..
core IB/core: fix unmap_sg argument 2016-12-14 14:21:26 -05:00
hw IB/usnic: simplify IS_ERR_OR_NULL to IS_ERR 2016-12-14 12:57:54 -05:00
sw kthread: kthread worker API cleanup 2016-10-11 15:06:33 -07:00
ulp IPoIB: Avoid reading an uninitialized member variable 2016-12-14 13:27:34 -05:00
Kconfig qedr: Add RoCE driver framework 2016-10-14 15:00:10 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00