Skip to content

Commit d94467a

Browse files
committed
Merge tag 's390-6.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
Pull more s390 updates from Heiko Carstens: - Add missing select CRYPTO_ENGINE to CRYPTO_PAES_S390 - Fix secure storage access exception handling when fault handling is disabled * tag 's390-6.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: s390/mm: Fix in_atomic() handling in do_secure_storage_access() s390/crypto: Select crypto engine in Kconfig when PAES is chosen
2 parents 27fb892 + 11709ab commit d94467a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

arch/s390/mm/fault.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,8 @@ void do_secure_storage_access(struct pt_regs *regs)
441441
if (rc)
442442
BUG();
443443
} else {
444+
if (faulthandler_disabled())
445+
return handle_fault_error_nolock(regs, 0);
444446
mm = current->mm;
445447
mmap_read_lock(mm);
446448
vma = find_vma(mm, addr);

drivers/crypto/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ config CRYPTO_PAES_S390
180180
depends on PKEY
181181
select CRYPTO_ALGAPI
182182
select CRYPTO_SKCIPHER
183+
select CRYPTO_ENGINE
183184
help
184185
This is the s390 hardware accelerated implementation of the
185186
AES cipher algorithms for use with protected key.

0 commit comments

Comments
 (0)