Skip to content

crypto: ccp - CCP driver updates 2016-03-01

Gary R Hook linux-crypto 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4crypto: ccp - Remove check for x86 family and modeldrivers/crypto/ccp/ccp-dev.c+11 -361 reply
2/4crypto: ccp - Support for multiple CCPsdrivers/crypto/ccp/ccp-dev.c drivers/crypto/ccp/ccp-dev.h drivers/crypto/ccp/ccp-pci.c +1 more+114 -191 reply
3/4crypto: ccp - CCP versioning supportdrivers/crypto/ccp/ccp-crypto-aes.c drivers/crypto/ccp/ccp-crypto-sha.c drivers/crypto/ccp/ccp-dev.c +4 more+115 -51 reply
4/4crypto: ccp - Add abstraction for device-specific callsdrivers/crypto/ccp/Makefile drivers/crypto/ccp/ccp-dev-v3.c drivers/crypto/ccp/ccp-dev.c +4 more+711 -6671 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchTom Lendacky
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] crypto: ccp - CCP driver updates 2016-03-01

The following patches are includes in this update series:

- Remove the extraneous family check
- Refactor code to enable support for >1 CCPs in a system
- Add initial support for versioning
- Refactor: move version-specific code to separate files where possible; abstract worker functions through a struct of function pointers

This patch series is based on cryptodev-2.6

---

Gary R Hook (4):
crypto: ccp - Remove check for x86 family and model
crypto: ccp - Support for multiple CCPs
crypto: ccp - CCP versioning support
crypto: ccp - Add abstraction for device-specific calls

 drivers/crypto/ccp/Makefile         |    2 
 drivers/crypto/ccp/ccp-crypto-aes.c |   12 +
 drivers/crypto/ccp/ccp-crypto-sha.c |    9 +
 drivers/crypto/ccp/ccp-dev-v3.c     |  534 +++++++++++++++++++++++++++++++++++
 drivers/crypto/ccp/ccp-dev.c        |  471 ++++++++++---------------------
 drivers/crypto/ccp/ccp-dev.h        |  155 ++++++++++
 drivers/crypto/ccp/ccp-ops.c        |  381 +------------------------
 drivers/crypto/ccp/ccp-pci.c        |   23 +-
 drivers/crypto/ccp/ccp-platform.c   |   48 +++
 include/linux/ccp.h                 |   17 +
 10 files changed, 938 insertions(+), 714 deletions(-)
 create mode 100644 drivers/crypto/ccp/ccp-dev-v3.c

--