summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:16:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:16:59 +0000
commit7bd37cf4cf5122db89961faa20e3f1866cfdb452 (patch)
tree1f8e4ad6fa6c57a612b8a939f0e6d758163214df /arch/s390
parentAdding debian version 6.9.11-1. (diff)
downloadlinux-7bd37cf4cf5122db89961faa20e3f1866cfdb452.tar.xz
linux-7bd37cf4cf5122db89961faa20e3f1866cfdb452.zip
Merging upstream version 6.9.12.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/mm/fault.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c
index 0c66b32e0f..063a6ea378 100644
--- a/arch/s390/mm/fault.c
+++ b/arch/s390/mm/fault.c
@@ -432,12 +432,13 @@ error:
handle_fault_error_nolock(regs, 0);
else
do_sigsegv(regs, SEGV_MAPERR);
- } else if (fault & VM_FAULT_SIGBUS) {
+ } else if (fault & (VM_FAULT_SIGBUS | VM_FAULT_HWPOISON)) {
if (!user_mode(regs))
handle_fault_error_nolock(regs, 0);
else
do_sigbus(regs);
} else {
+ pr_emerg("Unexpected fault flags: %08x\n", fault);
BUG();
}
}