diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2024-07-25 11:31:52 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2024-07-31 16:30:20 +0200 |
commit | 4734406c39238cbeafe66f0060084caa3247ff53 (patch) | |
tree | 10b491e288d98cce097c9991d518eccd12ece707 /drivers/fpga/tests/fpga-mgr-test.c | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) |
s390/fpu: Re-add exception handling in load_fpu_state()
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: 8c09871a950a ("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>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions