Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

cmd_errata.c

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • Kumar Gala's avatar
      43f082bb
      powerpc/85xx: Add workaround for erratum CPU-A003999 · 43f082bb
      Kumar Gala authored
      
      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: default avatarKumar Gala <galak@kernel.crashing.org>
      43f082bb
      History
      powerpc/85xx: Add workaround for erratum CPU-A003999
      Kumar Gala authored
      
      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: default avatarKumar Gala <galak@kernel.crashing.org>