crypto: ccp - Abstract interrupt registeration
authorBrijesh Singh <brijesh.singh@amd.com>
Thu, 6 Jul 2017 14:59:15 +0000 (09:59 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 Jul 2017 09:57:14 +0000 (17:57 +0800)
commitf4d18d656f882a7ca558313d5f1b18b1fd01f759
tree505605640669c9a727ce65e8553661538f6b5661
parent720419f01832f7e697cb80480b97b2a1e96045cd
crypto: ccp - Abstract interrupt registeration

The CCP and PSP devices part of AMD Secure Procesor may share the same
interrupt. Hence we expand the SP device to register a common interrupt
handler and provide functions to CCP and PSP devices to register their
interrupt callback which will be invoked upon interrupt.

Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Acked-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-dev-v3.c
drivers/crypto/ccp/ccp-dev-v5.c
drivers/crypto/ccp/ccp-dev.c
drivers/crypto/ccp/ccp-dev.h
drivers/crypto/ccp/ccp-pci.c
drivers/crypto/ccp/ccp-platform.c
drivers/crypto/ccp/sp-dev.c
drivers/crypto/ccp/sp-dev.h