mbox series

[v2,0/4] Fixes related to the DMA max_segment_size parameter

Message ID 20191025225830.257535-1-bvanassche@acm.org (mailing list archive)
Headers show
Series Fixes related to the DMA max_segment_size parameter | expand

Message

Bart Van Assche Oct. 25, 2019, 10:58 p.m. UTC
Hi Jason,

These four patches are what I came up with while analyzing a kernel warning
triggered by the ib_srp kernel driver. Please consider these patches for
inclusion in the Linux kernel.

Thanks,

Bart.

Changes compared to v1:
- Restored the dma_set_max_seg_size() call in setup_dma_device(). Reordered
  this patch series to keep it bisectable.

Bart Van Assche (4):
  RDMA/core: Fix ib_dma_max_seg_size()
  rdma_rxe: Increase DMA max_segment_size parameter
  siw: Increase DMA max_segment_size parameter
  RDMA/core: Set DMA parameters correctly

 drivers/infiniband/core/device.c      | 16 ++++++++++++++--
 drivers/infiniband/sw/rxe/rxe_verbs.c |  3 +++
 drivers/infiniband/sw/rxe/rxe_verbs.h |  1 +
 drivers/infiniband/sw/siw/siw.h       |  1 +
 drivers/infiniband/sw/siw/siw_main.c  |  3 +++
 include/rdma/ib_verbs.h               |  4 +---
 6 files changed, 23 insertions(+), 5 deletions(-)

Comments

Jason Gunthorpe Oct. 28, 2019, 5:58 p.m. UTC | #1
On Fri, Oct 25, 2019 at 03:58:26PM -0700, Bart Van Assche wrote:
> Hi Jason,
> 
> These four patches are what I came up with while analyzing a kernel warning
> triggered by the ib_srp kernel driver. Please consider these patches for
> inclusion in the Linux kernel.
> 
> Thanks,
> 
> Bart.
> 
> Changes compared to v1:
> - Restored the dma_set_max_seg_size() call in setup_dma_device(). Reordered
>   this patch series to keep it bisectable.
> 
> Bart Van Assche (4):
>   RDMA/core: Fix ib_dma_max_seg_size()
>   rdma_rxe: Increase DMA max_segment_size parameter
>   siw: Increase DMA max_segment_size parameter
>   RDMA/core: Set DMA parameters correctly

Applied to for-next, thanks

Jason