]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/zcrypt: Rework ep11 misc functions to use cprb mempool
authorHarald Freudenberger <freude@linux.ibm.com>
Thu, 24 Apr 2025 13:36:12 +0000 (15:36 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 30 Apr 2025 09:34:02 +0000 (11:34 +0200)
commit6fecab9b922aeb8fc5ebaf5aeecf8f7a1c2eb58b
treeb16b36b70e3082c91ea89c862fd7ef5bc773c9b3
parente9f45ef6757e7183fa7b62ee1c7aa23f1515c560
s390/zcrypt: Rework ep11 misc functions to use cprb mempool

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>
Link: https://lore.kernel.org/r/20250424133619.16495-19-freude@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/crypto/pkey_ep11.c
drivers/s390/crypto/zcrypt_cex4.c
drivers/s390/crypto/zcrypt_ep11misc.c
drivers/s390/crypto/zcrypt_ep11misc.h