]> git.baikalelectronics.ru Git - kernel.git/commit
s390/fpu: signals vs. floating point control register
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 19 Feb 2016 14:29:05 +0000 (15:29 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 22 Feb 2016 08:29:35 +0000 (09:29 +0100)
commit4450ec6bd50b4b2d5f36de4876c5f47d087ff3ad
treec6c5fd79a1215194de5c685868830f190e2bf1e1
parent32e2ff776cfbd1891011d58a216f1f2604fe1a23
s390/fpu: signals vs. floating point control register

git commit d9c1954dbb78f186d5849c1cc16878b8c183f996
"s390/kernel: introduce fpu-internal.h with fpu helper functions"
introduced the fpregs_store / fp_regs_load helper. These function
fail to save and restore the floating pointer control registers.

The effect is that the FPC is not correctly handled on signal
delivery and signal return.

Cc: stable@vger.kernel.org # 4.4
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/fpu/internal.h