alistair23-linux/drivers/crypto/nx
Haren Myneni b0d6c9bab5 crypto/nx: Add P9 NX support for 842 compression engine
This patch adds P9 NX support for 842 compression engine. Virtual
Accelerator Switchboard (VAS) is used to access 842 engine on P9.

For each NX engine per chip, setup receive window using
vas_rx_win_open() which configures RxFIFo with FIFO address, lpid,
pid and tid values. This unique (lpid, pid, tid) combination will
be used to identify the target engine.

For crypto open request, open send window on the NX engine for
the corresponding chip / cpu where the open request is executed.
This send window will be closed upon crypto close request.

NX provides high and normal priority FIFOs. For compression /
decompression requests, we use only hight priority FIFOs in kernel.

Each NX request will be communicated to VAS using copy/paste
instructions with vas_copy_crb() / vas_paste_crb() functions.

Signed-off-by: Haren Myneni <haren@us.ibm.com>
Reviewed-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-09-01 16:42:51 +10:00
..
Kconfig crypto/nx: Add P9 NX support for 842 compression engine 2017-09-01 16:42:51 +10:00
Makefile
nx-842-powernv.c crypto/nx: Add P9 NX support for 842 compression engine 2017-09-01 16:42:51 +10:00
nx-842-pseries.c
nx-842.c crypto/nx: Use kzalloc for workmem allocation 2017-09-01 16:42:50 +10:00
nx-842.h crypto/nx: Add P9 NX specific error codes for 842 engine 2017-09-01 16:42:50 +10:00
nx-aes-cbc.c
nx-aes-ccm.c
nx-aes-ctr.c
nx-aes-ecb.c
nx-aes-gcm.c
nx-aes-xcbc.c
nx-sha256.c
nx-sha512.c
nx.c crypto: nx - drop duplicate header types.h 2016-11-17 23:34:55 +08:00
nx.h
nx_csbcpb.h
nx_debugfs.c