alistair23-linux/arch/s390/purgatory
Philipp Rudo d8de756573 s390/purgatory: Fix endless interrupt loop
New compilers use the floating-point registers as spill registers when
there is high register pressure. In the purgatory however, the afp control
bit is not set. This leads to an exception whenever a floating-point
instruction is used, which again causes an interrupt loop.

Forbid the compiler to use floating-point instructions by adding
-msoft-float to KBUILD_CFLAGS.

Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Fixes: 840798a1f5 (s390/kexec_file: Add purgatory)
Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2018-05-18 07:24:35 +02:00
..
.gitignore s390/kexec_file: add generated files to .gitignore 2018-04-16 09:10:23 +02:00
head.S s390/kexec_file: Add crash support to image loader 2018-04-16 09:10:22 +02:00
Makefile s390/purgatory: Fix endless interrupt loop 2018-05-18 07:24:35 +02:00
purgatory.c s390/kexec_file: Add crash support to image loader 2018-04-16 09:10:22 +02:00