[PATCH RFC 5/5] x86,fpu: kinda sorta fix up signal path

2016-10-01 Thread riel
From: Rik van Riel Need to ensure that the FPU save code and the lazy restore code do not use invalid kernel or floating point register state and copy it over to the other location. I am pretty sure this is incomplete. Signed-off-by: Rik van Riel ---

[PATCH RFC 5/5] x86,fpu: kinda sorta fix up signal path

2016-10-01 Thread riel
From: Rik van Riel Need to ensure that the FPU save code and the lazy restore code do not use invalid kernel or floating point register state and copy it over to the other location. I am pretty sure this is incomplete. Signed-off-by: Rik van Riel --- arch/x86/kernel/fpu/core.c | 1 +