]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
powerpc/powernv/vas: Define vas_tx_win_open()
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Wed, 27 Sep 2017 23:24:20 +0000 (20:24 -0300)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 28 Sep 2017 15:07:05 +0000 (11:07 -0400)
commit3488b3f487847d058282c47d248c6ed583668bd2
treef39aa331ea40c422a03d275baea91da7d5c912c6
parent32c2c8324f1952140d4dfa08f84f19c3abe8e4b7
powerpc/powernv/vas: Define vas_tx_win_open()

BugLink: http://bugs.launchpad.net/bugs/1718293
Define an interface to open a VAS send window. This interface is
intended to be used the Nest Accelerator (NX) driver(s) to open
a send window and use it to submit compression/encryption requests
to a VAS receive window.

The receive window, identified by the [vasid, cop] parameters, must
already be open in VAS (i.e connected to an NX engine).

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
(cherry picked from commit 5239af679a07427647b009ebb9c70b1a03ebca9b)
Signed-off-by: Gustavo Walbon <gwalbon@linux.vnet.ibm.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/powerpc/include/asm/vas.h
arch/powerpc/platforms/powernv/vas-window.c