From f68d3932c7b3ab4badb8c878fbdf66e60ff0f5a5 Mon Sep 17 00:00:00 2001 From: Ingo Franzki Date: Fri, 8 Nov 2024 08:29:38 +0100 Subject: [PATCH] zkey: Update list of kernel modules for initrd With the recent changes in the pkey kernel module to split it up into sub-modules, as well as the addition to support Secure Execution retrievable secrets, an update to the list of modules to copy to initrd is required. Besides the pkey module itself, all its sub-modules must be copied. Furthermore, sub-module pkey_uv requires the uvdevice modules, so copy this, too. While at it, remove the old drivers zcrypt_cex2a and zcrypt_pcixcc, those are not provided anymore since at least 2 years. Signed-off-by: Ingo Franzki Acked-by: Steffen Eiden Reviewed-by: Harald Freudenberger Signed-off-by: Steffen Eiden --- zkey/initramfs/hooks/s390-tools-zkey | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zkey/initramfs/hooks/s390-tools-zkey b/zkey/initramfs/hooks/s390-tools-zkey index 3d7267c6..7df74fc2 100644 --- a/zkey/initramfs/hooks/s390-tools-zkey +++ b/zkey/initramfs/hooks/s390-tools-zkey @@ -29,7 +29,7 @@ esac . /usr/share/initramfs-tools/hook-functions # Add zcrypt modules -zdev_modules="pkey paes_s390 zcrypt zcrypt_cex2a zcrypt_cex4 zcrypt_pcixcc" +zdev_modules="uvdevice pkey pkey_cca pkey_ep11 pkey_pckmo pkey_uv pkey_sysfs paes_s390 zcrypt zcrypt_cex4" for x in $zdev_modules ; do manual_add_modules ${x}