]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Thu, 24 Aug 2017 17:53:55 +0000 (10:53 -0700)
commitfab94ad9035ed29e7a0e8d9d97d70e6508a7fd6b
tree23f0fb3a0be29f6ff0ba87d9125927d1708947ea
parent509160328a017129f0bd170cc52df351f7e64043
crypto: ccp - Register the CCP as a DMA resource

Orabug: 26644685

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>
(cherry picked from commit 58ea8abf490415c390e0cc671e875510c9b66318)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
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