Re: [PATCH v4 1/2] net/mlx4: Get rid of page operation after dma_alloc_coherent

2019-01-07 Thread David Miller
From: Stephen Warren Date: Thu, 3 Jan 2019 10:23:23 -0700 > From: Stephen Warren > > This patch solves a crash at the time of mlx4 driver unload or system > shutdown. The crash occurs because dma_alloc_coherent() returns one > value in mlx4_alloc_icm_coherent(), but a different value is passed

Re: [PATCH v4 1/2] net/mlx4: Get rid of page operation after dma_alloc_coherent

2019-01-06 Thread Tariq Toukan
On 1/3/2019 7:23 PM, Stephen Warren wrote: > From: Stephen Warren > > This patch solves a crash at the time of mlx4 driver unload or system > shutdown. The crash occurs because dma_alloc_coherent() returns one > value in mlx4_alloc_icm_coherent(), but a different value is passed to > dma_free_c

Re: [PATCH v4 1/2] net/mlx4: Get rid of page operation after dma_alloc_coherent

2019-01-06 Thread Tariq Toukan
On 1/4/2019 11:42 PM, David Miller wrote: > > Mellanox folks, these two patches could use some review. > > Thank you. > Sure. They were sent on our weekend. Reviewing now.

Re: [PATCH v4 1/2] net/mlx4: Get rid of page operation after dma_alloc_coherent

2019-01-04 Thread David Miller
Mellanox folks, these two patches could use some review. Thank you.

[PATCH v4 1/2] net/mlx4: Get rid of page operation after dma_alloc_coherent

2019-01-03 Thread Stephen Warren
From: Stephen Warren This patch solves a crash at the time of mlx4 driver unload or system shutdown. The crash occurs because dma_alloc_coherent() returns one value in mlx4_alloc_icm_coherent(), but a different value is passed to dma_free_coherent() in mlx4_free_icm_coherent(). In turn this is be