From: Greg Kroah-Hartman Date: Mon, 12 May 2025 09:14:37 +0000 (+0200) Subject: drop s390 patch X-Git-Tag: v5.15.183~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=175f364b8065bbd143040d28acef64cdbe3cbfde;p=thirdparty%2Fkernel%2Fstable-queue.git drop s390 patch --- diff --git a/queue-5.15/s390-entry-fix-last-breaking-event-handling-in-case-.patch b/queue-5.15/s390-entry-fix-last-breaking-event-handling-in-case-.patch deleted file mode 100644 index 18cebad717..0000000000 --- a/queue-5.15/s390-entry-fix-last-breaking-event-handling-in-case-.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 28d00ff8fdae79c554c5b181d4edc4c0af0b942e Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Thu, 24 Apr 2025 17:07:01 +0200 -Subject: s390/entry: Fix last breaking event handling in case of stack - corruption - -From: Heiko Carstens - -[ Upstream commit ae952eea6f4a7e2193f8721a5366049946e012e7 ] - -In case of stack corruption stack_invalid() is called and the expectation -is that register r10 contains the last breaking event address. This -dependency is quite subtle and broke a couple of years ago without that -anybody noticed. - -Fix this by getting rid of the dependency and read the last breaking event -address from lowcore. - -Fixes: 56e62a737028 ("s390: convert to generic entry") -Acked-by: Ilya Leoshkevich -Reviewed-by: Alexander Gordeev -Signed-off-by: Heiko Carstens -Signed-off-by: Sasha Levin ---- - arch/s390/kernel/entry.S | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S -index 160290049e8cd..f85b99427080f 100644 ---- a/arch/s390/kernel/entry.S -+++ b/arch/s390/kernel/entry.S -@@ -676,7 +676,8 @@ ENTRY(stack_overflow) - stmg %r0,%r7,__PT_R0(%r11) - stmg %r8,%r9,__PT_PSW(%r11) - mvc __PT_R8(64,%r11),0(%r14) -- stg %r10,__PT_ORIG_GPR2(%r11) # store last break to orig_gpr2 -+ GET_LC %r2 -+ mvc __PT_ORIG_GPR2(8,%r11),__LC_PGM_LAST_BREAK(%r2) - xc __SF_BACKCHAIN(8,%r15),__SF_BACKCHAIN(%r15) - lgr %r2,%r11 # pass pointer to pt_regs - jg kernel_stack_overflow --- -2.39.5 - diff --git a/queue-6.1/s390-entry-fix-last-breaking-event-handling-in-case-.patch b/queue-6.1/s390-entry-fix-last-breaking-event-handling-in-case-.patch deleted file mode 100644 index 7470c6cf91..0000000000 --- a/queue-6.1/s390-entry-fix-last-breaking-event-handling-in-case-.patch +++ /dev/null @@ -1,44 +0,0 @@ -From ead2b241203e9147f1d6d5bcef7cffe3b6ca2886 Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Thu, 24 Apr 2025 17:07:01 +0200 -Subject: s390/entry: Fix last breaking event handling in case of stack - corruption - -From: Heiko Carstens - -[ Upstream commit ae952eea6f4a7e2193f8721a5366049946e012e7 ] - -In case of stack corruption stack_invalid() is called and the expectation -is that register r10 contains the last breaking event address. This -dependency is quite subtle and broke a couple of years ago without that -anybody noticed. - -Fix this by getting rid of the dependency and read the last breaking event -address from lowcore. - -Fixes: 56e62a737028 ("s390: convert to generic entry") -Acked-by: Ilya Leoshkevich -Reviewed-by: Alexander Gordeev -Signed-off-by: Heiko Carstens -Signed-off-by: Sasha Levin ---- - arch/s390/kernel/entry.S | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S -index 62b80616ca728..648c70772c55b 100644 ---- a/arch/s390/kernel/entry.S -+++ b/arch/s390/kernel/entry.S -@@ -690,7 +690,8 @@ ENTRY(stack_overflow) - stmg %r0,%r7,__PT_R0(%r11) - stmg %r8,%r9,__PT_PSW(%r11) - mvc __PT_R8(64,%r11),0(%r14) -- stg %r10,__PT_ORIG_GPR2(%r11) # store last break to orig_gpr2 -+ GET_LC %r2 -+ mvc __PT_ORIG_GPR2(8,%r11),__LC_PGM_LAST_BREAK(%r2) - xc __SF_BACKCHAIN(8,%r15),__SF_BACKCHAIN(%r15) - lgr %r2,%r11 # pass pointer to pt_regs - jg kernel_stack_overflow --- -2.39.5 - diff --git a/queue-6.6/s390-entry-fix-last-breaking-event-handling-in-case-.patch b/queue-6.6/s390-entry-fix-last-breaking-event-handling-in-case-.patch deleted file mode 100644 index 073f7dfff0..0000000000 --- a/queue-6.6/s390-entry-fix-last-breaking-event-handling-in-case-.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 3f2bc51d19c545a52d4a0b9e77fa0440d75f8148 Mon Sep 17 00:00:00 2001 -From: Sasha Levin -Date: Thu, 24 Apr 2025 17:07:01 +0200 -Subject: s390/entry: Fix last breaking event handling in case of stack - corruption - -From: Heiko Carstens - -[ Upstream commit ae952eea6f4a7e2193f8721a5366049946e012e7 ] - -In case of stack corruption stack_invalid() is called and the expectation -is that register r10 contains the last breaking event address. This -dependency is quite subtle and broke a couple of years ago without that -anybody noticed. - -Fix this by getting rid of the dependency and read the last breaking event -address from lowcore. - -Fixes: 56e62a737028 ("s390: convert to generic entry") -Acked-by: Ilya Leoshkevich -Reviewed-by: Alexander Gordeev -Signed-off-by: Heiko Carstens -Signed-off-by: Sasha Levin ---- - arch/s390/kernel/entry.S | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S -index ebad8c8b8c57d..3cacc36088eb4 100644 ---- a/arch/s390/kernel/entry.S -+++ b/arch/s390/kernel/entry.S -@@ -639,7 +639,8 @@ SYM_CODE_START(stack_overflow) - stmg %r0,%r7,__PT_R0(%r11) - stmg %r8,%r9,__PT_PSW(%r11) - mvc __PT_R8(64,%r11),0(%r14) -- stg %r10,__PT_ORIG_GPR2(%r11) # store last break to orig_gpr2 -+ GET_LC %r2 -+ mvc __PT_ORIG_GPR2(8,%r11),__LC_PGM_LAST_BREAK(%r2) - xc __SF_BACKCHAIN(8,%r15),__SF_BACKCHAIN(%r15) - lgr %r2,%r11 # pass pointer to pt_regs - jg kernel_stack_overflow --- -2.39.5 -