crypto: ccp - Register the CCP as a DMA resource
authorGary R Hook <gary.hook@amd.com>
Mon, 18 Apr 2016 14:21:44 +0000 (09:21 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 20 Apr 2016 09:50:06 +0000 (17:50 +0800)
commit58ea8abf490415c390e0cc671e875510c9b66318
tree20a3e546b2fcf9e65410dd4ce9b088e7b2ceaecb
parent5343e674f32fb82b7a80a24b5a84eee62d3fe624
crypto: ccp - Register the CCP as a DMA resource

The CCP has the ability to provide DMA services to the
kernel using pass-through mode of the device. Register
these services as general purpose DMA channels.

Changes since v2:
- Add a Signed-off-by

Changes since v1:
- Allocate memory for a string in ccp_dmaengine_register
- Ensure register/unregister calls are properly ordered
- Verified all changed files are listed in the diffstat
- Undo some superfluous changes
- Added a cc:

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/Kconfig
drivers/crypto/ccp/Makefile
drivers/crypto/ccp/ccp-dev-v3.c
drivers/crypto/ccp/ccp-dev.h
drivers/crypto/ccp/ccp-dmaengine.c [new file with mode: 0644]
drivers/crypto/ccp/ccp-ops.c
include/linux/ccp.h