Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) config CRYPTO_DEV_ALLWINNER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) 	bool "Support for Allwinner cryptographic offloader"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) 	depends on ARCH_SUNXI || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) 	default y if ARCH_SUNXI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) 	  Say Y here to get to see options for Allwinner hardware crypto devices
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) config CRYPTO_DEV_SUN4I_SS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) 	tristate "Support for Allwinner Security System cryptographic accelerator"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) 	depends on ARCH_SUNXI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) 	depends on PM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) 	depends on CRYPTO_DEV_ALLWINNER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) 	select CRYPTO_MD5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) 	select CRYPTO_SHA1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) 	select CRYPTO_AES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) 	select CRYPTO_LIB_DES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) 	select CRYPTO_SKCIPHER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) 	  Some Allwinner SoC have a crypto accelerator named
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) 	  Security System. Select this if you want to use it.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) 	  The Security System handle AES/DES/3DES ciphers in CBC mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) 	  and SHA1 and MD5 hash algorithms.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) 	  To compile this driver as a module, choose M here: the module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) 	  will be called sun4i-ss.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) config CRYPTO_DEV_SUN4I_SS_PRNG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) 	bool "Support for Allwinner Security System PRNG"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) 	depends on CRYPTO_DEV_SUN4I_SS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) 	select CRYPTO_RNG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) 	  Select this option if you want to provide kernel-side support for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) 	  the Pseudo-Random Number Generator found in the Security System.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) config CRYPTO_DEV_SUN8I_CE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) 	tristate "Support for Allwinner Crypto Engine cryptographic offloader"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37) 	select CRYPTO_SKCIPHER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) 	select CRYPTO_ENGINE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) 	select CRYPTO_ECB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) 	select CRYPTO_CBC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) 	select CRYPTO_AES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) 	select CRYPTO_DES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) 	depends on CRYPTO_DEV_ALLWINNER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) 	depends on PM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) 	  Select y here to have support for the crypto Engine availlable on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) 	  Allwinner SoC H2+, H3, H5, H6, R40 and A64.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) 	  The Crypto Engine handle AES/3DES ciphers in ECB/CBC mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) 	  To compile this driver as a module, choose M here: the module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) 	  will be called sun8i-ce.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) config CRYPTO_DEV_SUN8I_CE_DEBUG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) 	bool "Enable sun8i-ce stats"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) 	depends on CRYPTO_DEV_SUN8I_CE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) 	depends on DEBUG_FS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) 	  Say y to enable sun8i-ce debug stats.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) 	  This will create /sys/kernel/debug/sun8i-ce/stats for displaying
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) 	  the number of requests per flow and per algorithm.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) config CRYPTO_DEV_SUN8I_CE_HASH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) 	bool "Enable support for hash on sun8i-ce"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 	depends on CRYPTO_DEV_SUN8I_CE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) 	select CRYPTO_MD5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) 	select CRYPTO_SHA1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) 	select CRYPTO_SHA256
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) 	select CRYPTO_SHA512
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) 	  Say y to enable support for hash algorithms.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) config CRYPTO_DEV_SUN8I_CE_PRNG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) 	bool "Support for Allwinner Crypto Engine PRNG"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) 	depends on CRYPTO_DEV_SUN8I_CE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) 	select CRYPTO_RNG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) 	  Select this option if you want to provide kernel-side support for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) 	  the Pseudo-Random Number Generator found in the Crypto Engine.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) config CRYPTO_DEV_SUN8I_CE_TRNG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) 	bool "Support for Allwinner Crypto Engine TRNG"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 	depends on CRYPTO_DEV_SUN8I_CE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) 	select HW_RANDOM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) 	  Select this option if you want to provide kernel-side support for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) 	  the True Random Number Generator found in the Crypto Engine.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) config CRYPTO_DEV_SUN8I_SS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) 	tristate "Support for Allwinner Security System cryptographic offloader"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) 	select CRYPTO_SKCIPHER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 	select CRYPTO_ENGINE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) 	select CRYPTO_ECB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) 	select CRYPTO_CBC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) 	select CRYPTO_AES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 	select CRYPTO_DES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) 	depends on CRYPTO_DEV_ALLWINNER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) 	depends on PM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) 	  Select y here to have support for the Security System available on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 	  Allwinner SoC A80, A83T.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) 	  The Security System handle AES/3DES ciphers in ECB/CBC mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) 	  To compile this driver as a module, choose M here: the module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) 	  will be called sun8i-ss.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) config CRYPTO_DEV_SUN8I_SS_DEBUG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 	bool "Enable sun8i-ss stats"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) 	depends on CRYPTO_DEV_SUN8I_SS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) 	depends on DEBUG_FS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) 	  Say y to enable sun8i-ss debug stats.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 	  This will create /sys/kernel/debug/sun8i-ss/stats for displaying
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) 	  the number of requests per flow and per algorithm.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) config CRYPTO_DEV_SUN8I_SS_PRNG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) 	bool "Support for Allwinner Security System PRNG"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) 	depends on CRYPTO_DEV_SUN8I_SS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 	select CRYPTO_RNG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) 	  Select this option if you want to provide kernel-side support for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) 	  the Pseudo-Random Number Generator found in the Security System.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) config CRYPTO_DEV_SUN8I_SS_HASH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) 	bool "Enable support for hash on sun8i-ss"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) 	depends on CRYPTO_DEV_SUN8I_SS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) 	select CRYPTO_MD5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) 	select CRYPTO_SHA1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) 	select CRYPTO_SHA256
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) 	  Say y to enable support for hash algorithms.