]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: ccp - Refactor the storage block allocation code
authorGary R Hook <gary.hook@amd.com>
Wed, 27 Jul 2016 00:09:50 +0000 (19:09 -0500)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Thu, 24 Aug 2017 17:54:41 +0000 (10:54 -0700)
commitda737ee5942bd902092f801a357f85a4c2c9673b
tree92cdd9a781dc256d38dfd2afd757eb0e0e8658ab
parent3ea85efd3063b34810979bbe420aaa8f1e1763e7
crypto: ccp - Refactor the storage block allocation code

Orabug: 26644685

Move the KSB access/management functions to the v3
device file, and add function pointers to the actions
structure. At the operations layer all of the references
to the storage block will be generic (virtual). This is
in preparation for a version 5 device, in which the
private storage block is managed differently.

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit 58a690b701efc32ffd49722dd7b887154eb5a205)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/crypto/ccp/ccp-dev-v3.c
drivers/crypto/ccp/ccp-dev.h
drivers/crypto/ccp/ccp-ops.c