^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) config CRYPTO_DEV_NX_ENCRYPT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) tristate "Encryption acceleration support on pSeries platform"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) depends on PPC_PSERIES && IBMVIO && !CPU_LITTLE_ENDIAN
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) select CRYPTO_AES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) select CRYPTO_CCM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Support for PowerPC Nest (NX) encryption acceleration. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) module supports acceleration for AES and SHA2 algorithms on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) the pSeries platform. If you choose 'M' here, this module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) will be called nx_crypto.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) config CRYPTO_DEV_NX_COMPRESS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) tristate "Compression acceleration support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) select CRYPTO_ALGAPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) select 842_DECOMPRESS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Support for PowerPC Nest (NX) compression acceleration. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) module supports acceleration for compressing memory with the 842
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) algorithm using the cryptographic API. One of the platform
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) drivers must be selected also. If you choose 'M' here, this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) module will be called nx_compress.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) if CRYPTO_DEV_NX_COMPRESS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) config CRYPTO_DEV_NX_COMPRESS_PSERIES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) tristate "Compression acceleration support on pSeries platform"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) depends on PPC_PSERIES && IBMVIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Support for PowerPC Nest (NX) compression acceleration. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) module supports acceleration for compressing memory with the 842
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) algorithm. This supports NX hardware on the pSeries platform.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) If you choose 'M' here, this module will be called nx_compress_pseries.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) config CRYPTO_DEV_NX_COMPRESS_POWERNV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) tristate "Compression acceleration support on PowerNV platform"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) depends on PPC_POWERNV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) depends on PPC_VAS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) Support for PowerPC Nest (NX) compression acceleration. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) module supports acceleration for compressing memory with the 842
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) algorithm. This supports NX hardware on the PowerNV platform.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) If you choose 'M' here, this module will be called nx_compress_powernv.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) endif