/openbmc/linux/arch/s390/include/uapi/asm/ |
H A D | sigcontext.h | diff 4725c86055f5bbdcdfe47199c0715881893a2c79 Tue Oct 15 09:08:34 CDT 2013 Martin Schwidefsky <schwidefsky@de.ibm.com> s390: fix save and restore of the floating-point-control register
The FPC_VALID_MASK has been used to check the validity of the value to be loaded into the floating-point-control register. With the introduction of the floating-point extension facility and the decimal-floating-point additional bits have been defined which need to be checked in a non straight forward way. So far these bits have been ignored which can cause an incorrect results for decimal- floating-point operations, e.g. an incorrect rounding mode to be set after signal return.
The static check with the FPC_VALID_MASK is replaced with a trial load of the floating-point-control value, see test_fp_ctl.
In addition an information leak with the padding word between the floating-point-control word and the floating-point registers in the s390_fp_regs is fixed.
Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
|
H A D | ptrace.h | diff 4725c86055f5bbdcdfe47199c0715881893a2c79 Tue Oct 15 09:08:34 CDT 2013 Martin Schwidefsky <schwidefsky@de.ibm.com> s390: fix save and restore of the floating-point-control register
The FPC_VALID_MASK has been used to check the validity of the value to be loaded into the floating-point-control register. With the introduction of the floating-point extension facility and the decimal-floating-point additional bits have been defined which need to be checked in a non straight forward way. So far these bits have been ignored which can cause an incorrect results for decimal- floating-point operations, e.g. an incorrect rounding mode to be set after signal return.
The static check with the FPC_VALID_MASK is replaced with a trial load of the floating-point-control value, see test_fp_ctl.
In addition an information leak with the padding word between the floating-point-control word and the floating-point registers in the s390_fp_regs is fixed.
Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
|
/openbmc/linux/arch/s390/kernel/ |
H A D | compat_linux.h | diff 4725c86055f5bbdcdfe47199c0715881893a2c79 Tue Oct 15 09:08:34 CDT 2013 Martin Schwidefsky <schwidefsky@de.ibm.com> s390: fix save and restore of the floating-point-control register
The FPC_VALID_MASK has been used to check the validity of the value to be loaded into the floating-point-control register. With the introduction of the floating-point extension facility and the decimal-floating-point additional bits have been defined which need to be checked in a non straight forward way. So far these bits have been ignored which can cause an incorrect results for decimal- floating-point operations, e.g. an incorrect rounding mode to be set after signal return.
The static check with the FPC_VALID_MASK is replaced with a trial load of the floating-point-control value, see test_fp_ctl.
In addition an information leak with the padding word between the floating-point-control word and the floating-point registers in the s390_fp_regs is fixed.
Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
|
H A D | compat_signal.c | diff 4725c86055f5bbdcdfe47199c0715881893a2c79 Tue Oct 15 09:08:34 CDT 2013 Martin Schwidefsky <schwidefsky@de.ibm.com> s390: fix save and restore of the floating-point-control register
The FPC_VALID_MASK has been used to check the validity of the value to be loaded into the floating-point-control register. With the introduction of the floating-point extension facility and the decimal-floating-point additional bits have been defined which need to be checked in a non straight forward way. So far these bits have been ignored which can cause an incorrect results for decimal- floating-point operations, e.g. an incorrect rounding mode to be set after signal return.
The static check with the FPC_VALID_MASK is replaced with a trial load of the floating-point-control value, see test_fp_ctl.
In addition an information leak with the padding word between the floating-point-control word and the floating-point registers in the s390_fp_regs is fixed.
Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
|
H A D | signal.c | diff 4725c86055f5bbdcdfe47199c0715881893a2c79 Tue Oct 15 09:08:34 CDT 2013 Martin Schwidefsky <schwidefsky@de.ibm.com> s390: fix save and restore of the floating-point-control register
The FPC_VALID_MASK has been used to check the validity of the value to be loaded into the floating-point-control register. With the introduction of the floating-point extension facility and the decimal-floating-point additional bits have been defined which need to be checked in a non straight forward way. So far these bits have been ignored which can cause an incorrect results for decimal- floating-point operations, e.g. an incorrect rounding mode to be set after signal return.
The static check with the FPC_VALID_MASK is replaced with a trial load of the floating-point-control value, see test_fp_ctl.
In addition an information leak with the padding word between the floating-point-control word and the floating-point registers in the s390_fp_regs is fixed.
Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
|
H A D | ptrace.c | diff 4725c86055f5bbdcdfe47199c0715881893a2c79 Tue Oct 15 09:08:34 CDT 2013 Martin Schwidefsky <schwidefsky@de.ibm.com> s390: fix save and restore of the floating-point-control register
The FPC_VALID_MASK has been used to check the validity of the value to be loaded into the floating-point-control register. With the introduction of the floating-point extension facility and the decimal-floating-point additional bits have been defined which need to be checked in a non straight forward way. So far these bits have been ignored which can cause an incorrect results for decimal- floating-point operations, e.g. an incorrect rounding mode to be set after signal return.
The static check with the FPC_VALID_MASK is replaced with a trial load of the floating-point-control value, see test_fp_ctl.
In addition an information leak with the padding word between the floating-point-control word and the floating-point registers in the s390_fp_regs is fixed.
Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
|
H A D | process.c | diff 4725c86055f5bbdcdfe47199c0715881893a2c79 Tue Oct 15 09:08:34 CDT 2013 Martin Schwidefsky <schwidefsky@de.ibm.com> s390: fix save and restore of the floating-point-control register
The FPC_VALID_MASK has been used to check the validity of the value to be loaded into the floating-point-control register. With the introduction of the floating-point extension facility and the decimal-floating-point additional bits have been defined which need to be checked in a non straight forward way. So far these bits have been ignored which can cause an incorrect results for decimal- floating-point operations, e.g. an incorrect rounding mode to be set after signal return.
The static check with the FPC_VALID_MASK is replaced with a trial load of the floating-point-control value, see test_fp_ctl.
In addition an information leak with the padding word between the floating-point-control word and the floating-point registers in the s390_fp_regs is fixed.
Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | switch_to.h | diff 4725c86055f5bbdcdfe47199c0715881893a2c79 Tue Oct 15 09:08:34 CDT 2013 Martin Schwidefsky <schwidefsky@de.ibm.com> s390: fix save and restore of the floating-point-control register
The FPC_VALID_MASK has been used to check the validity of the value to be loaded into the floating-point-control register. With the introduction of the floating-point extension facility and the decimal-floating-point additional bits have been defined which need to be checked in a non straight forward way. So far these bits have been ignored which can cause an incorrect results for decimal- floating-point operations, e.g. an incorrect rounding mode to be set after signal return.
The static check with the FPC_VALID_MASK is replaced with a trial load of the floating-point-control value, see test_fp_ctl.
In addition an information leak with the padding word between the floating-point-control word and the floating-point registers in the s390_fp_regs is fixed.
Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
|
/openbmc/linux/arch/s390/kvm/ |
H A D | kvm-s390.c | diff 4725c86055f5bbdcdfe47199c0715881893a2c79 Tue Oct 15 09:08:34 CDT 2013 Martin Schwidefsky <schwidefsky@de.ibm.com> s390: fix save and restore of the floating-point-control register
The FPC_VALID_MASK has been used to check the validity of the value to be loaded into the floating-point-control register. With the introduction of the floating-point extension facility and the decimal-floating-point additional bits have been defined which need to be checked in a non straight forward way. So far these bits have been ignored which can cause an incorrect results for decimal- floating-point operations, e.g. an incorrect rounding mode to be set after signal return.
The static check with the FPC_VALID_MASK is replaced with a trial load of the floating-point-control value, see test_fp_ctl.
In addition an information leak with the padding word between the floating-point-control word and the floating-point registers in the s390_fp_regs is fixed.
Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
|