-
- Downloads
powerpc/85xx: Add workaround for erratum CPU-A003999
Erratum A-003999: Running Floating Point instructions requires special
initialization.
Impact:
Floating point arithmetic operations may result in an incorrect value.
Workaround:
Perform a read modify write to set bit 7 to a 1 in SPR 977 before
executing any floating point arithmetic operation. This bit can be set
when setting MSR[FP], and can be cleared when clearing MSR[FP].
Alternatively, the bit can be set once at boot time, and never cleared.
There will be no performance degradation due to setting this bit.
Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
Showing
- arch/powerpc/cpu/mpc85xx/cmd_errata.c 3 additions, 0 deletionsarch/powerpc/cpu/mpc85xx/cmd_errata.c
- arch/powerpc/cpu/mpc85xx/release.S 6 additions, 0 deletionsarch/powerpc/cpu/mpc85xx/release.S
- arch/powerpc/cpu/mpc85xx/start.S 6 additions, 0 deletionsarch/powerpc/cpu/mpc85xx/start.S
- arch/powerpc/include/asm/config_mpc85xx.h 6 additions, 0 deletionsarch/powerpc/include/asm/config_mpc85xx.h
Loading
Please register or sign in to comment