summaryrefslogtreecommitdiff
path: root/drivers/crypto/ccp/Kconfig
diff options
context:
space:
mode:
authorHook, Gary <Gary.Hook@amd.com>2019-07-09 15:07:15 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2019-07-26 22:08:03 +1000
commit93308baf075039dccf347391491773f272cc24f6 (patch)
tree83226deeda7724a9ae8db464c3d17a2d992b5cd8 /drivers/crypto/ccp/Kconfig
parent91b05a7e7d8033a90a64f5fc0e3808db423e420a (diff)
crypto: ccp - Make CCP debugfs support optional
Add a config option to exclude DebugFS support in the CCP driver. Signed-off-by: Gary R Hook <gary.hook@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ccp/Kconfig')
-rw-r--r--drivers/crypto/ccp/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/Kconfig b/drivers/crypto/ccp/Kconfig
index ce1c47286fc6..8fec733f567f 100644
--- a/drivers/crypto/ccp/Kconfig
+++ b/drivers/crypto/ccp/Kconfig
@@ -46,3 +46,11 @@ config CRYPTO_DEV_SP_PSP
management commands in Secure Encrypted Virtualization (SEV) mode,
along with software-based Trusted Execution Environment (TEE) to
enable third-party trusted applications.
+
+config CRYPTO_DEV_CCP_DEBUGFS
+ bool "Enable CCP Internals in DebugFS"
+ default n
+ depends on CRYPTO_DEV_SP_CCP
+ help
+ Expose CCP device information such as operation statistics, feature
+ information, and descriptor queue contents.