diff options
author | Haren Myneni | 2021-06-17 13:38:36 -0700 |
---|---|---|
committer | Michael Ellerman | 2021-06-20 21:58:58 +1000 |
commit | b4ba22114c78de48fda3818f569f75e97d58c719 (patch) | |
tree | ed00721cacd8614b2327040496199b5dfad1ccd3 /drivers/mfd/da9055-core.c | |
parent | 7da00b0e71334aa1e3d8db1cc1f40eb47cb1e188 (diff) |
crypto/nx: Get NX capabilities for GZIP coprocessor type
The hypervisor provides different NX capabilities that it
supports. These capabilities such as recommended minimum
compression / decompression lengths and the maximum request
buffer size in bytes are used to define the user space NX
request.
NX will reject the request if the buffer size is more than
the maximum buffer size. Whereas compression / decompression
lengths are recommended values for better performance.
Changes to get NX overall capabilities which points to the
specific features that the hypervisor supports. Then retrieve
the capabilities for the specific feature (available only
for NXGZIP).
Signed-off-by: Haren Myneni <haren@linux.ibm.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/f2b6a1fb8b6112595a73d81c67a35af4e7f5d0a3.camel@linux.ibm.com
Diffstat (limited to 'drivers/mfd/da9055-core.c')
0 files changed, 0 insertions, 0 deletions