Skip to content

Commit

Permalink
[MIPS] Fix pipeline hazard.
Browse files Browse the repository at this point in the history
In the the sequence:
        ei
        ..
        mfc0    $x, $status

the mfc0 may not see the SR_IE bit set. This was a deliberate bug in the
kernel code because we knew this was a safe thing to do on all R2 silicon
so far but new silicon is changing this.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
ralfbaechle committed Mar 24, 2007
1 parent 83598f1 commit 7605b39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/asm-mips/hazards.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ ASMMACRO(tlb_probe_hazard,
_ehb
)
ASMMACRO(irq_enable_hazard,
_ehb
)
ASMMACRO(irq_disable_hazard,
_ehb
Expand Down

0 comments on commit 7605b39

Please sign in to comment.