Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376181
b: refs/heads/master
c: 8fc1f5d
h: refs/heads/master
i:
  376179: b184738
v: v3
  • Loading branch information
Benjamin Herrenschmidt committed May 24, 2013
1 parent 3bc95d9 commit 783d2cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1ad936e850a896bc16e0d72a56be432f9954ad7e
refs/heads/master: 8fc1f5d7eff9a4ed0cdb7215e7ca4b82b931d6d7
8 changes: 6 additions & 2 deletions trunk/arch/powerpc/kernel/cpu_setup_power.S
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,12 @@ __init_HFSCR:
blr

__init_TLB:
/* Clear the TLB */
li r6,128
/*
* Clear the TLB using the "IS 3" form of tlbiel instruction
* (invalidate by congruence class). P7 has 128 CCs, P8 has 512
* so we just always do 512
*/
li r6,512
mtctr r6
li r7,0xc00 /* IS field = 0b11 */
ptesync
Expand Down

0 comments on commit 783d2cf

Please sign in to comment.