Re: [PATCH v2 15/20] s390/zcrypt: Rework ep11 misc functions to use cprb mempool

Holger Dengler
2025-03-20T15:18:37Z

On 04/03/2025 18:21, Harald Freudenberger wrote:
> There are two places in the ep11 misc code where a short term
> memory buffer is needed. Rework this code to use the cprb mempool
> to satisfy this ephemeral memory requirements.
>
> Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>

Reviewed-by: Holger Dengler <dengler@linux.ibm.com>

> ---
> drivers/s390/crypto/pkey_ep11.c | 3 +-
> drivers/s390/crypto/zcrypt_cex4.c | 12 +--
> drivers/s390/crypto/zcrypt_ep11misc.c | 104 ++++++++++++++++----------
> drivers/s390/crypto/zcrypt_ep11misc.h | 8 +-
> 4 files changed, 78 insertions(+), 49 deletions(-)

--
Mit freundlichen Grüßen / Kind regards
Holger Dengler
--
IBM Systems, Linux on IBM Z Development
dengler@linux.ibm.com