From: Greg Kroah-Hartman Date: Fri, 18 Mar 2016 21:25:52 +0000 (-0700) Subject: 4.4-stable patches X-Git-Tag: v4.5.1~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d89b3bfde5943ecdf756ffb5a2dfaaaad3fc687;p=thirdparty%2Fkernel%2Fstable-queue.git 4.4-stable patches added patches: s390-cpumf-fix-lpp-detection.patch --- diff --git a/queue-4.4/s390-cpumf-fix-lpp-detection.patch b/queue-4.4/s390-cpumf-fix-lpp-detection.patch new file mode 100644 index 00000000000..2093b5443a7 --- /dev/null +++ b/queue-4.4/s390-cpumf-fix-lpp-detection.patch @@ -0,0 +1,36 @@ +From 7a76aa95f6f6682db5629449d763251d1c9f8c4e Mon Sep 17 00:00:00 2001 +From: Christian Borntraeger +Date: Mon, 29 Feb 2016 15:59:18 +0100 +Subject: s390/cpumf: Fix lpp detection + +From: Christian Borntraeger + +commit 7a76aa95f6f6682db5629449d763251d1c9f8c4e upstream. + +we have to check bit 40 of the facility list before issuing LPP +and not bit 48. Otherwise a guest running on a system with +"The decimal-floating-point zoned-conversion facility" and without +the "The set-program-parameters facility" might crash on an lpp +instruction. + +Signed-off-by: Christian Borntraeger +Cc: stable@vger.kernel.org # v4.4+ +Fixes: e22cf8ca6f75 ("s390/cpumf: rework program parameter setting to detect guest samples") +Signed-off-by: Martin Schwidefsky +Signed-off-by: Greg Kroah-Hartman + +--- + arch/s390/kernel/head64.S | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/arch/s390/kernel/head64.S ++++ b/arch/s390/kernel/head64.S +@@ -16,7 +16,7 @@ + + __HEAD + ENTRY(startup_continue) +- tm __LC_STFL_FAC_LIST+6,0x80 # LPP available ? ++ tm __LC_STFL_FAC_LIST+5,0x80 # LPP available ? + jz 0f + xc __LC_LPP+1(7,0),__LC_LPP+1 # clear lpp and current_pid + mvi __LC_LPP,0x80 # and set LPP_MAGIC diff --git a/queue-4.4/series b/queue-4.4/series new file mode 100644 index 00000000000..2f1264918eb --- /dev/null +++ b/queue-4.4/series @@ -0,0 +1 @@ +s390-cpumf-fix-lpp-detection.patch