Skip to content
Snippets Groups Projects
Commit 7605b390 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Fix pipeline hazard.


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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 83598f1c
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,7 @@ ASMMACRO(tlb_probe_hazard,
_ehb
)
ASMMACRO(irq_enable_hazard,
_ehb
)
ASMMACRO(irq_disable_hazard,
_ehb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment