Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67479
b: refs/heads/master
c: 7401685
h: refs/heads/master
i:
  67477: b4b7c39
  67475: 5172ed0
  67471: 4734c75
v: v3
  • Loading branch information
Scott Wood authored and Kumar Gala committed Oct 4, 2007
1 parent 7d3a40c commit f8e686f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 663edbd2640447dc43840568cd5701e6c9878d63
refs/heads/master: 7401685242fbcbf4b0660726372c77a88c4af17d
6 changes: 6 additions & 0 deletions trunk/arch/powerpc/kernel/head_8xx.S
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,12 @@ InstructionTLBMiss:
stw r10, 0(r0)
stw r11, 4(r0)
mfspr r10, SPRN_SRR0 /* Get effective address of fault */
#ifdef CONFIG_8xx_CPU15
addi r11, r10, 0x1000
tlbie r11
addi r11, r10, -0x1000
tlbie r11
#endif
DO_8xx_CPU6(0x3780, r3)
mtspr SPRN_MD_EPN, r10 /* Have to use MD_EPN for walk, MI_EPN can't */
mfspr r10, SPRN_M_TWB /* Get level 1 table entry address */
Expand Down
16 changes: 16 additions & 0 deletions trunk/arch/powerpc/platforms/8xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,22 @@ config 8xx_CPU6

If in doubt, say N here.

config 8xx_CPU15
bool "CPU15 Silicon Errata"
default y
help
This enables a workaround for erratum CPU15 on MPC8xx chips.
This bug can cause incorrect code execution under certain
circumstances. This workaround adds some overhead (a TLB miss
every time execution crosses a page boundary), and you may wish
to disable it if you have worked around the bug in the compiler
(by not placing conditional branches or branches to LR or CTR
in the last word of a page, with a target of the last cache
line in the next page), or if you have used some other
workaround.

If in doubt, say Y here.

choice
prompt "Microcode patch selection"
default NO_UCODE_PATCH
Expand Down

0 comments on commit f8e686f

Please sign in to comment.