Files
twx-linux/arch/s390/kernel
Heiko Carstens 494b141382 s390/fpu: Re-add exception handling in load_fpu_state()
commit 4734406c39 upstream.

With the recent rewrite of the fpu code exception handling for the
lfpc instruction within load_fpu_state() was erroneously removed.

Add it again to prevent that loading invalid floating point register
values cause an unhandled specification exception.

Fixes: 8c09871a95 ("s390/fpu: limit save and restore to used registers")
Cc: stable@vger.kernel.org
Reported-by: Aristeu Rozanski <aris@redhat.com>
Tested-by: Aristeu Rozanski <aris@redhat.com>
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-08-11 12:57:57 +02:00
..
2024-04-25 20:55:49 -07:00
2024-05-14 13:37:07 +02:00
2024-05-14 13:37:07 +02:00
2024-06-25 15:57:37 +02:00
2024-05-14 13:37:07 +02:00