Skip to contentSkip to conversation

more s390 updates for 6.16 merge window

GIT PULL Merged Heiko Carstens 2 participants 2 messages Jun 6, 2025 – Jun 7, 2025

Subsystems (3)
lore
Share & tools
lore

Heiko Carstens

author maintainer
#0 lore raw

Hi Linus,

please pull two small fixes for the 6.16 merge window.

Thanks,
Heiko

The following changes since commit d8cb068359f6210d790828714081d4ccb47014ff:

Merge tag 's390-6.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux (2025-05-26 14:36:05 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-6.16-2

for you to fetch changes up to 11709abccf93b08adde95ef313c300b0d4bc28f1:

s390/mm: Fix in_atomic() handling in do_secure_storage_access() (2025-06-05 12:29:22 +0200)

----------------------------------------------------------------
more s390 updates for 6.16 merge window

- Add missing select CRYPTO_ENGINE to CRYPTO_PAES_S390

- Fix secure storage access exception handling when fault handling is disabled

----------------------------------------------------------------
Harald Freudenberger (1):
s390/crypto: Select crypto engine in Kconfig when PAES is chosen

Heiko Carstens (1):
s390/mm: Fix in_atomic() handling in do_secure_storage_access()

 arch/s390/mm/fault.c   | 2 ++
 drivers/crypto/Kconfig | 1 +
 2 files changed, 3 insertions(+)
arch/s390/mm/fault.c +2 -0
index da84ff6770de..8b3f6dd00eab 100644
@@ -442,6 +442,8 @@ void do_secure_storage_access(struct pt_regs *regs)
 		if (rc)
 			BUG();
 	} else {
+		if (faulthandler_disabled())
+			return handle_fault_error_nolock(regs, 0);
 		mm = current->mm;
 		mmap_read_lock(mm);
 		vma = find_vma(mm, addr);
drivers/crypto/Kconfig +1 -0
index 5686369779be..9f8a3a5bed7e 100644
@@ -180,6 +180,7 @@ config CRYPTO_PAES_S390
 	depends on PKEY
 	select CRYPTO_ALGAPI
 	select CRYPTO_SKCIPHER
+	select CRYPTO_ENGINE
 	help
 	  This is the s390 hardware accelerated implementation of the
 	  AES cipher algorithms for use with protected key.