linux/drivers/crypto/nx
Haren Myneni 976dd6490b crypto/nx: Use percpu send window for NX requests
For P9 NX, the send window is opened for each crypto session and
closed upon free. But VAS supports 64K windows per chip for all
coprocessors including in user space support. So there is a
possibility of not getting the window for kernel requests.

This patch reserves windows for each coprocessor type (NX842) and are
available forever for kernel requests, Opens each window for each CPU
on the corresponding chip during driver initialization. So then use
the percpu txwin for NX requests depends on the CPU on which the
process is executing.

Signed-off-by: Haren Myneni <haren@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-11-12 09:03:11 +11:00
..
Kconfig crypto/nx: Add P9 NX support for 842 compression engine 2017-09-01 16:42:51 +10:00
Makefile crypto: nx - make platform drivers directly register with crypto 2015-07-23 18:14:33 +08:00
nx_csbcpb.h
nx_debugfs.c powerpc/crypto: debugfs routines and docs for the nx device driver 2012-05-16 15:05:45 +10:00
nx-842-powernv.c crypto/nx: Use percpu send window for NX requests 2017-11-12 09:03:11 +11:00
nx-842-pseries.c crypto: 842 - Add CRC and validation support 2015-10-14 22:23:17 +08:00
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 crypto: nx - Moving NX-AES-CBC to be processed logic 2014-11-06 23:15:00 +08:00
nx-aes-ccm.c crypto: nx - Fix timing leak in GCM and CCM decryption 2015-11-16 21:39:23 +08:00
nx-aes-ctr.c crypto: nx - Removing CTR mode from NX driver 2015-08-10 23:22:22 +08:00
nx-aes-ecb.c crypto: nx - Moving NX-AES-ECB to be processed logic 2014-11-06 23:15:01 +08:00
nx-aes-gcm.c crypto: nx - Fix timing leak in GCM and CCM decryption 2015-11-16 21:39:23 +08:00
nx-aes-xcbc.c crypto: nx - Fix reentrancy bugs 2015-07-08 15:14:13 +08:00
nx-sha256.c crypto: nx - respect sg limit bounds when building sg lists for SHA 2015-08-11 22:02:57 +08:00
nx-sha512.c crypto: nx - respect sg limit bounds when building sg lists for SHA 2015-08-11 22:02:57 +08:00
nx.c crypto: nx - drop duplicate header types.h 2016-11-17 23:34:55 +08:00
nx.h crypto: nx - Add forward declaration for struct crypto_aead 2015-08-17 19:49:13 +08:00