mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
crypto: rockchip - add debugfs
This patch enable to access usage stats for each algorithm. Reviewed-by: John Keeping <john@metanate.com> Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
committed by
Herbert Xu
parent
6d55c4a206
commit
48d904d428
@@ -686,6 +686,16 @@ config CRYPTO_DEV_ROCKCHIP
|
||||
This driver interfaces with the hardware crypto accelerator.
|
||||
Supporting cbc/ecb chainmode, and aes/des/des3_ede cipher mode.
|
||||
|
||||
config CRYPTO_DEV_ROCKCHIP_DEBUG
|
||||
bool "Enable Rockchip crypto stats"
|
||||
depends on CRYPTO_DEV_ROCKCHIP
|
||||
depends on DEBUG_FS
|
||||
help
|
||||
Say y to enable Rockchip crypto debug stats.
|
||||
This will create /sys/kernel/debug/rk3288_crypto/stats for displaying
|
||||
the number of requests per algorithm and other internal stats.
|
||||
|
||||
|
||||
config CRYPTO_DEV_ZYNQMP_AES
|
||||
tristate "Support for Xilinx ZynqMP AES hw accelerator"
|
||||
depends on ZYNQMP_FIRMWARE || COMPILE_TEST
|
||||
|
||||
Reference in New Issue
Block a user