summary refs log tree commit diff
path: root/drivers/s390/block
diff options
context:
space:
mode:
authorPhilipp Rudo <prudo@linux.ibm.com>2018-05-16 14:06:32 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-05-18 07:24:35 +0200
commitd8de7565735af5a95057c83eedb38e36cfaa04b5 (patch)
tree25303d5c72148d89611f75023b362200d1122a3a /drivers/s390/block
parent3acf4e395260e3bd30a6fa29ba7eada4bf7566ca (diff)
downloadlinux-d8de7565735af5a95057c83eedb38e36cfaa04b5.tar.gz
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: 840798a1f529 (s390/kexec_file: Add purgatory)
Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/block')
0 files changed, 0 insertions, 0 deletions