Re: [PATCH rdma-next 0/6] BAR mappings fixes in RDMA

2019-04-24 Thread Jason Gunthorpe
On Tue, Apr 16, 2019 at 02:07:24PM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky > > >From Jason, > > Upon review it turns out there are some long standing problems in BAR > mapping area: > * BAR pages are being allowed to be executable. > * BAR pages intended for read-only can be swit

[PATCH rdma-next 0/6] BAR mappings fixes in RDMA

2019-04-16 Thread Leon Romanovsky
From: Leon Romanovsky >From Jason, Upon review it turns out there are some long standing problems in BAR mapping area: * BAR pages are being allowed to be executable. * BAR pages intended for read-only can be switched to writable via mprotect. * Missing use of rdma_user_mmap_io for the mlx5 c