Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132211
b: refs/heads/master
c: a644b27
h: refs/heads/master
i:
  132209: 077280b
  132207: 615c39f
v: v3
  • Loading branch information
Shinya Kuribayashi authored and Ralf Baechle committed Mar 11, 2009
1 parent 0f72cbf commit 5776864
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 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: c189846ecf900cd6b3ad7d3cef5b45a746ce646b
refs/heads/master: a644b2774d41409519bb33a16bd577cb41bb3095
3 changes: 2 additions & 1 deletion trunk/arch/mips/include/asm/hazards.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ do { \
__instruction_hazard(); \
} while (0)

#elif defined(CONFIG_CPU_R10000) || defined(CONFIG_CPU_CAVIUM_OCTEON)
#elif defined(CONFIG_CPU_R10000) || defined(CONFIG_CPU_CAVIUM_OCTEON) || \
defined(CONFIG_CPU_R5500)

/*
* R10000 rocks - all hazards handled in hardware, so this becomes a nobrainer.
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/include/asm/prefetch.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* Pref_WriteBackInvalidate is a nop and Pref_PrepareForStore is broken in
* current versions due to erratum G105.
*
* VR7701 only implements the Load prefetch.
* VR5500 (including VR5701 and VR7701) only implement load prefetch.
*
* Finally MIPS32 and MIPS64 implement all of the following hints.
*/
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/mips/kernel/cpu-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ void __init check_wait(void)
case CPU_R4650:
case CPU_R4700:
case CPU_R5000:
case CPU_R5500:
case CPU_NEVADA:
case CPU_4KC:
case CPU_4KEC:
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/mips/mm/page.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,9 @@ static void __cpuinit set_prefetch_parameters(void)
*/
cache_line_size = cpu_dcache_line_size();
switch (current_cpu_type()) {
case CPU_R5500:
case CPU_TX49XX:
/* TX49 supports only Pref_Load */
/* These processors only support the Pref_Load. */
pref_bias_copy_load = 256;
break;

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/mips/mm/tlbex.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ static void __cpuinit build_tlb_write_entry(u32 **p, struct uasm_label **l,
case CPU_BCM4710:
case CPU_LOONGSON2:
case CPU_CAVIUM_OCTEON:
case CPU_R5500:
if (m4kc_tlbp_war())
uasm_i_nop(p);
tlbw(p);
Expand Down

0 comments on commit 5776864

Please sign in to comment.