mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-06 17:56:42 +07:00
0e16aafb12
This patch adds the driver for interacting with the 842 compression accelerator on IBM Power7+ systems. The device is a child of the Platform Facilities Option (PFO) and shows up as a child of the IBM VIO bus. The compression/decompression API takes the same arguments as existing compression methods like lzo and deflate. The 842 hardware operates on 4K hardware pages and the driver breaks up input on 4K boundaries to submit it to the hardware accelerator. Signed-off-by: Robert Jennings <rcj@linux.vnet.ibm.com> Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
27 lines
798 B
Plaintext
27 lines
798 B
Plaintext
config CRYPTO_DEV_NX_ENCRYPT
|
|
tristate "Encryption acceleration support"
|
|
depends on PPC64 && IBMVIO
|
|
default y
|
|
select CRYPTO_AES
|
|
select CRYPTO_CBC
|
|
select CRYPTO_ECB
|
|
select CRYPTO_CCM
|
|
select CRYPTO_GCM
|
|
select CRYPTO_AUTHENC
|
|
select CRYPTO_XCBC
|
|
select CRYPTO_SHA256
|
|
select CRYPTO_SHA512
|
|
help
|
|
Support for Power7+ in-Nest encryption acceleration. This
|
|
module supports acceleration for AES and SHA2 algorithms. If you
|
|
choose 'M' here, this module will be called nx_crypto.
|
|
|
|
config CRYPTO_DEV_NX_COMPRESS
|
|
tristate "Compression acceleration support"
|
|
depends on PPC64 && IBMVIO
|
|
default y
|
|
help
|
|
Support for Power7+ in-Nest compression acceleration. This
|
|
module supports acceleration for AES and SHA2 algorithms. If you
|
|
choose 'M' here, this module will be called nx_compress.
|