Hi, This series adds support for user space access to QAT services. Intel (R) Quick Assist Technology provides acceleration for symmetric, asymmetric cryptography and compression. Many of these algorithms like RSA, DSA, Diffie–Hellman, Elliptic Curve are very computational expensive and accelerating is highly desirable. This patch series implement a new qat_sym and qat_asym PF_ALG interface that allows access acceleration HW from user space thorough a QAT library available from 01.org website. User space applications can use the QAT services through QAT API. The QAT user space library creates job description requests, and sends it through qat socket to QAT driver. The driver validates the request, remaps user virtual memory (for symmetric ciphers) or copies the input parameters (for public key crypto) and sends it to the acceleration hardware. The data is then processed and the library is notified when it is ready by calling select on the socket. Signed-off-by: Tadeusz Struk <tadeusz.struk@xxxxxxxxx> --- Tadeusz Struk (4): crytpo: qat - Fix 64 bytes requests crypto: qat - Add PKE firmware crypto: qat - Add userspace instances crypto: qat - Add new algif interface for userspace drivers/crypto/qat/Kconfig | 9 drivers/crypto/qat/qat_common/Makefile | 3 drivers/crypto/qat/qat_common/adf_accel_devices.h | 19 drivers/crypto/qat/qat_common/adf_accel_engine.c | 42 + drivers/crypto/qat/qat_common/adf_cfg_strings.h | 1 drivers/crypto/qat/qat_common/adf_common_drv.h | 39 + drivers/crypto/qat/qat_common/adf_ctl_drv.c | 13 .../qat/qat_common/adf_transport_access_macros.h | 9 drivers/crypto/qat/qat_common/algif_qat.c | 532 +++++++++++++ drivers/crypto/qat/qat_common/algif_qat_asym.c | 791 ++++++++++++++++++++ drivers/crypto/qat/qat_common/icp_qat_fw_pke.h | 99 +++ drivers/crypto/qat/qat_common/qat_algs.c | 22 - drivers/crypto/qat/qat_common/qat_bufs.h | 65 ++ drivers/crypto/qat/qat_common/qat_crypto.c | 189 +++-- drivers/crypto/qat/qat_common/qat_crypto_user.c | 251 ++++++ drivers/crypto/qat/qat_dh895xcc/adf_drv.c | 86 -- 16 files changed, 1997 insertions(+), 173 deletions(-) create mode 100644 drivers/crypto/qat/qat_common/algif_qat.c create mode 100644 drivers/crypto/qat/qat_common/algif_qat_asym.c create mode 100644 drivers/crypto/qat/qat_common/icp_qat_fw_pke.h create mode 100644 drivers/crypto/qat/qat_common/qat_bufs.h create mode 100644 drivers/crypto/qat/qat_common/qat_crypto_user.c -- -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html