CCP device (drivers/crypto/ccp/ccp.ko) is part of AMD Secure Processor, which is not dedicated solely to crypto. The AMD Secure Processor includes CCP and PSP (Platform Secure Processor) devices. This patch series adds a framework that allows functional component of the AMD Secure Processor to be initialized and handled appropriately. The series does not makes any logic modification into CCP - it refactors the code to integerate CCP into AMD secure processor framework. Brijesh Singh (3): crypto: ccp - Use devres interface to allocate PCI/iomap and cleanup crypto: ccp - Introduce the AMD Secure Processor device crypto: cpp - Abstract interrupt registeration drivers/crypto/Kconfig | 10 +- drivers/crypto/ccp/Kconfig | 43 ++++-- drivers/crypto/ccp/Makefile | 6 +- drivers/crypto/ccp/ccp-dev-v3.c | 17 ++- drivers/crypto/ccp/ccp-dev-v5.c | 12 +- drivers/crypto/ccp/ccp-dev.c | 124 ++++++++++------ drivers/crypto/ccp/ccp-dev.h | 19 +-- drivers/crypto/ccp/ccp-pci.c | 264 ++++++++++++--------------------- drivers/crypto/ccp/ccp-platform.c | 165 ++++++++------------- drivers/crypto/ccp/sp-dev.c | 305 ++++++++++++++++++++++++++++++++++++++ drivers/crypto/ccp/sp-dev.h | 133 +++++++++++++++++ include/linux/ccp.h | 3 +- 12 files changed, 730 insertions(+), 371 deletions(-) create mode 100644 drivers/crypto/ccp/sp-dev.c create mode 100644 drivers/crypto/ccp/sp-dev.h -- 2.9.4