]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/powernv/vas: Define vas_tx_win_open()
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Tue, 29 Aug 2017 06:23:39 +0000 (23:23 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 31 Aug 2017 04:26:37 +0000 (14:26 +1000)
commit5239af679a07427647b009ebb9c70b1a03ebca9b
treee2faee04706212509f8ab6c2bc914a637a04879b
parent98271d4198699947d66d6f8a02c09bd27cb90022
powerpc/powernv/vas: Define vas_tx_win_open()

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>
arch/powerpc/include/asm/vas.h
arch/powerpc/platforms/powernv/vas-window.c