diff options
Diffstat (limited to 'arch/powerpc/kernel/cpu_setup_power.S')
| -rw-r--r-- | arch/powerpc/kernel/cpu_setup_power.S | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/cpu_setup_power.S b/arch/powerpc/kernel/cpu_setup_power.S index a283b6442b26..18b5b9cf8e37 100644 --- a/arch/powerpc/kernel/cpu_setup_power.S +++ b/arch/powerpc/kernel/cpu_setup_power.S | |||
| @@ -135,8 +135,12 @@ __init_HFSCR: | |||
| 135 | blr | 135 | blr |
| 136 | 136 | ||
| 137 | __init_TLB: | 137 | __init_TLB: |
| 138 | /* Clear the TLB */ | 138 | /* |
| 139 | li r6,128 | 139 | * Clear the TLB using the "IS 3" form of tlbiel instruction |
| 140 | * (invalidate by congruence class). P7 has 128 CCs, P8 has 512 | ||
| 141 | * so we just always do 512 | ||
| 142 | */ | ||
| 143 | li r6,512 | ||
| 140 | mtctr r6 | 144 | mtctr r6 |
| 141 | li r7,0xc00 /* IS field = 0b11 */ | 145 | li r7,0xc00 /* IS field = 0b11 */ |
| 142 | ptesync | 146 | ptesync |
