Re: [PATCH v4 3/9] powerpc/vas: Add VAS user space API

2020-03-24 Thread Haren Myneni
On Tue, 2020-03-24 at 14:41 +1100, Michael Ellerman wrote: > Daniel Axtens writes: > > Michael Ellerman writes: > >> Daniel Axtens writes: > >>> Haren Myneni writes: > diff --git a/arch/powerpc/platforms/powernv/vas-api.c > b/arch/powerpc/platforms/powernv/vas-api.c > new file

Re: [PATCH v4 3/9] powerpc/vas: Add VAS user space API

2020-03-23 Thread Michael Ellerman
Daniel Axtens writes: > Michael Ellerman writes: >> Daniel Axtens writes: >>> Haren Myneni writes: diff --git a/arch/powerpc/platforms/powernv/vas-api.c b/arch/powerpc/platforms/powernv/vas-api.c new file mode 100644 index 000..7d049af --- /dev/null +++

Re: [PATCH v4 3/9] powerpc/vas: Add VAS user space API

2020-03-23 Thread Daniel Axtens
Michael Ellerman writes: > Daniel Axtens writes: >> Haren Myneni writes: >> >>> On power9, userspace can send GZIP compression requests directly to NX >>> once kernel establishes NX channel / window with VAS. This patch provides >>> user space API which allows user space to establish channel

Re: [PATCH v4 3/9] powerpc/vas: Add VAS user space API

2020-03-23 Thread Michael Ellerman
Daniel Axtens writes: > Haren Myneni writes: > >> On power9, userspace can send GZIP compression requests directly to NX >> once kernel establishes NX channel / window with VAS. This patch provides >> user space API which allows user space to establish channel using open >> VAS_TX_WIN_OPEN

Re: [PATCH v4 3/9] powerpc/vas: Add VAS user space API

2020-03-23 Thread Daniel Axtens
Haren Myneni writes: > On power9, userspace can send GZIP compression requests directly to NX > once kernel establishes NX channel / window with VAS. This patch provides > user space API which allows user space to establish channel using open > VAS_TX_WIN_OPEN ioctl, mmap and close operations. >

[PATCH v4 3/9] powerpc/vas: Add VAS user space API

2020-03-22 Thread Haren Myneni
On power9, userspace can send GZIP compression requests directly to NX once kernel establishes NX channel / window with VAS. This patch provides user space API which allows user space to establish channel using open VAS_TX_WIN_OPEN ioctl, mmap and close operations. Each window corresponds to