: Prevent allocating UMEM and UCTX as
some general object
On Wed, Dec 19, 2018 at 04:28:15PM +0200, Leon Romanovsky wrote:
> From: Yishai Hadas
>
> The driver needs to prevent a user space application to create a UMEM
> and UCTX via the general object command.
>
> The UMEM must go
On Wed, Dec 19, 2018 at 04:28:15PM +0200, Leon Romanovsky wrote:
> From: Yishai Hadas
>
> The driver needs to prevent a user space application to create a
> UMEM and UCTX via the general object command.
>
> The UMEM must go through the kernel UMEM_REG method to prevent the user
> from setting ph
On Thu, Dec 20, 2018 at 05:02:12PM +, Jason Gunthorpe wrote:
> On Thu, Dec 20, 2018 at 08:21:33AM +0200, Leon Romanovsky wrote:
> > On Wed, Dec 19, 2018 at 07:14:12PM +, Jason Gunthorpe wrote:
> > > On Wed, Dec 19, 2018 at 04:28:15PM +0200, Leon Romanovsky wrote:
> > > > From: Yishai Hadas
On Thu, Dec 20, 2018 at 08:21:33AM +0200, Leon Romanovsky wrote:
> On Wed, Dec 19, 2018 at 07:14:12PM +, Jason Gunthorpe wrote:
> > On Wed, Dec 19, 2018 at 04:28:15PM +0200, Leon Romanovsky wrote:
> > > From: Yishai Hadas
> > >
> > > The driver needs to prevent a user space application to crea
On Wed, Dec 19, 2018 at 07:14:12PM +, Jason Gunthorpe wrote:
> On Wed, Dec 19, 2018 at 04:28:15PM +0200, Leon Romanovsky wrote:
> > From: Yishai Hadas
> >
> > The driver needs to prevent a user space application to create a
> > UMEM and UCTX via the general object command.
> >
> > The UMEM mus
On Wed, Dec 19, 2018 at 04:28:15PM +0200, Leon Romanovsky wrote:
> From: Yishai Hadas
>
> The driver needs to prevent a user space application to create a
> UMEM and UCTX via the general object command.
>
> The UMEM must go through the kernel UMEM_REG method to prevent the user
> from setting ph
From: Yishai Hadas
The driver needs to prevent a user space application to create a
UMEM and UCTX via the general object command.
The UMEM must go through the kernel UMEM_REG method to prevent the user
from setting physical addresses by himself. The UCTX is some internal
kernel object and shoul