Files
android_kernel_xiaomi_sm8450/drivers/infiniband/hw/mlx5
Danit Goldberg 130c2c576e IB/mlx5: Use the original address for the page during free_pages
The removal of 'buffer' in the patch below caused free_page() to use a
value that had been offset since the wqe pointer is adjusted while the
routine runs.

The current implementation of free_pages() rounds down to a pfn,
discarding the adjustment, but this is not the right way to use the
API. Preserve the initial value and use it for free_page().

Fixes: 0f51427bd0 ("RDMA/mlx5: Cleanup WQE page fault handler")
Link: https://lore.kernel.org/r/20190916064818.19823-2-leon@kernel.org
Signed-off-by: Danit Goldberg <danitg@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-09-16 13:39:56 -03:00
..
2019-04-08 13:05:25 -03:00
2019-05-29 13:03:21 -03:00
2019-07-03 16:50:26 -03:00
2019-07-05 10:16:19 -03:00
2019-07-03 16:50:26 -03:00
2019-08-07 11:01:48 -07:00
2019-04-08 13:05:25 -03:00
2019-04-08 13:05:25 -03:00