projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83598f1
)
[MIPS] Fix pipeline hazard.
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 20 Mar 2007 13:56:50 +0000
(13:56 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sat, 24 Mar 2007 17:01:49 +0000
(17:01 +0000)
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>
include/asm-mips/hazards.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-mips/hazards.h
b/include/asm-mips/hazards.h
index 50073157a617dfcd0583bb8cfde6621285953736..e50c77e69cb5c11c9ef99a9253102d89d047e62f 100644
(file)
--- a/
include/asm-mips/hazards.h
+++ b/
include/asm-mips/hazards.h
@@
-52,6
+52,7
@@
ASMMACRO(tlb_probe_hazard,
_ehb
)
ASMMACRO(irq_enable_hazard,
+ _ehb
)
ASMMACRO(irq_disable_hazard,
_ehb