diff options
author | 2019-04-16 14:07:26 +0300 | |
---|---|---|
committer | 2019-04-24 13:06:40 -0300 | |
commit | d5e560d3f72382ac4e3bfe4e0f0420e6a220b039 (patch) | |
tree | b5d29d24666017a08821125316e2a31d499ed0b2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/mlx5: Do not allow the user to write to the clock page (diff) | |
download | linux-dev-d5e560d3f72382ac4e3bfe4e0f0420e6a220b039.tar.xz linux-dev-d5e560d3f72382ac4e3bfe4e0f0420e6a220b039.zip |
RDMA/mlx5: Use rdma_user_map_io for mapping BAR pages
Since mlx5 supports device disassociate it must use this API for all
BAR page mmaps, otherwise the pages can remain mapped after the device
is unplugged causing a system crash.
Cc: stable@vger.kernel.org
Fixes: 5f9794dc94f5 ("RDMA/ucontext: Add a core API for mmaping driver IO memory")
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions